【发布时间】:2019-10-22 07:09:46
【问题描述】:
我正在尝试使用现有 GKE 集群为 GCP 安装 spinnaker,但是当我运行脚本时,出现错误:
错误:服务器没有资源类型“应用程序”
这是用于 GCP 市场的 Spinnaker 的新安装
. Checking for existing cluster gkecluster...
. Retrieving credentials for GKE cluster gkecluster...
Fetching cluster endpoint and auth data.
kubeconfig entry generated for gkecluster.
. Checking for Spinnaker application in cluster gkecluster...
error: the server doesn't have a resource type "applications"
. Using existing service account spinnaker-1-acc-1571723331...
. Assigning required roles to spinnaker-1-acc-1571723331...
. Using existing redis instance spinnaker-1 (10.41.198.179)...
. Using existing bucket gs://spinnaker-1-REDACTED...
. Using existing GKE cluster gkecluster...
. Your pre-existing cluster must have IP Aliases enabled.
【问题讨论】:
-
您确认您的clustar 是否启用了
VPC-native (alias IP)字段?这里是why you need that。还有关于如何从头开始安装 Spinnaker 以及在现有集群上安装它的详细说明。 -
哦,是的,它没有启用。谢谢。
-
然后我将发表我的评论作为答案。如果它对您有用,您能否接受答案,以便更好地了解社区以帮助可能遇到这种情况的其他用户?
标签: google-cloud-platform google-kubernetes-engine google-apps-marketplace spinnaker