【问题标题】:Unable to run the mandatory command for ingress-nginx setup无法运行 ingress-nginx 设置的强制命令
【发布时间】:2021-09-26 06:15:35
【问题描述】:

我无法在 Google 云上运行 ingress-nginx 设置的强制命令。我已使用“gcloud auth login”对 Google 云进行了身份验证。接下来我执行'kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/mandatory.yaml'。我收到如下所示的错误enter image description here

请帮助我卡住了

【问题讨论】:

标签: kubernetes ingress-nginx


【解决方案1】:

我执行了以下步骤,并且成功了

  1. 在谷歌云账号上,打开云shell并导航到终端中的BPB_MEAN_Framework目录
  2. 执行命令gcloud init,重新初始化集群,选择账号、项目和地域
  3. 执行命令 gcloud container clusters get-credentials blog-dev
  4. 执行命令kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.3/deploy/static/provider/cloud/deploy.yaml配置ingress-nginx

【讨论】:

    猜你喜欢
    • 2019-08-08
    • 2017-11-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-03
    • 2021-06-15
    • 1970-01-01
    • 2021-07-23
    相关资源
    最近更新 更多