【问题标题】:spinnaker/halyard : Unable to deploy apply spinnaker on GKE大三角帆/升降索:无法在 GKE 上部署应用大三角帆
【发布时间】:2018-04-18 19:50:10
【问题描述】:

我是按照官方教程的步骤写的Try out Halyard on GKE

我正在尝试部署步骤,但 hal deploy apply 不起作用。

我运行了这个命令,它没有返回如下错误。

hal config deploy edit     --account-name my-k8s-account     --type distributed

+ Get current deployment
  Success
+ Get the deployment environment
  Success
- No changes supplied.

在这个命令之后,我运行了这个命令hal deploy apply。 但是Prep deployment 失败并返回此错误。

! ERROR Unable to communicate with your Kubernetes cluster: Failure
  executing: GET at: https://35.200.120.197/api/v1/namespaces. Message: 
  Forbidden!
  User gke_helm-gke-test_asia-northeast1-b_helm-test doesn't have permission.
  namespaces is forbidden: User "client" cannot list namespaces at the cluster
  scope: Unknown user "client"..

我该如何解决这个问题?

我的 hal 版本是

$ hav -v
0.48.1-20180413145934

【问题讨论】:

  • 您之前是否添加了 Kubernetes 提供程序(按照本指南,我注意到您没有提及)?该错误与集群范围内的权限有关。你能检查一下集群范围吗?

标签: kubernetes spinnaker google-kubernetes-engine


【解决方案1】:

我们聊天室的一位用户说,这个帖子帮助他解决了类似的 RBAC 身份验证问题:https://github.com/spinnaker/spinnaker/issues/2421

【讨论】:

    猜你喜欢
    • 2023-03-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多