Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progre

191 阅读1分钟

Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

  • 解决办法:

    • 第一步列出全部任务: kubectl -n <name_space> get secrets | grep <your_service_name>
    • 第二步删掉最后一次任务:kubectl -n <name_space> delete secret <lastest_task_key>
    • 第三步重试 helm 任务
  • 示例:一次删除全部

    • kubectl -n cloud-staging get secret -o name | grep 'sh.helm.release.v1.deepresearch-api.v' | xargs kubectl -n cloud-staging delete