【问题标题】:Error from server (NotFound): deployments.apps来自服务器的错误(未找到):deployments.apps
【发布时间】:2020-12-01 05:23:25
【问题描述】:

我正在尝试使用 Jenkins 为 AKS 进行蓝绿色部署。我目前正在关注此文档 https://docs.microsoft.com/en-us/azure/developer/jenkins/deploy-to-aks-using-blue-green-deployment-pattern

当我运行管道时,我收到以下错误:

kubectl --kubeconfig=kubeconfig 删除部署 todoapp-deployment-blue 来自服务器的错误(未找到):找不到 deployments.apps “todoapp-deployment-blue” 这个错误到底是什么意思,我该如何解决。

【问题讨论】:

    标签: jenkins kubernetes jenkins-pipeline azure-aks


    【解决方案1】:

    这个错误意味着你的 kubernetes 命名空间中没有名为 todoapp-deployment-blue 的部署,你需要先创建它(删除它,哈哈)。

    【讨论】:

      猜你喜欢
      • 2021-01-25
      • 1970-01-01
      • 1970-01-01
      • 2020-03-28
      • 2019-07-18
      • 1970-01-01
      • 1970-01-01
      • 2020-06-08
      • 2023-03-13
      相关资源
      最近更新 更多