2017-09-16 75 views

回答

0

Heapster被配置为一个集群插件。如果您更改或删除它,addon manager将与它的预配置状态保持一致。

你被困住了。

2

正如在另一个答案中提到的,你不能直接通过Kubernetes API删除它们;不过,您可以通过Google Container Engine API间接删除它们。

要删除仪表板,请运行gcloud container clusters update $CLUSTER_NAME --update-addons=KubernetesDashboard=DISABLED

要禁用heapster,您需要禁用使用gcloud container clusters update $CLUSTER_NAME --monitoring-service=none进行监视(它实际上可能需要禁用另一个附加组件,我现在不记得)。

请参阅https://cloud.google.com/sdk/gcloud/reference/container/clusters/update了解上述引用的命令。

+0

尝试了--update-addons得到了'''(gcloud.container.clusters.update)参数--update-addons:有效的键是[Horizo​​ntalPodAutoscaling,HttpLoadBalancing];收到:KubernetesDashboard''' ..这个'''gcloud容器集群更新(名称)--monitoring-service = none'''也没有效果,除了给出这个响应'''更新可扩展...完成。 已更新[https://container.googleapis.com/v1/projects/(项目名称)/ zones/us-central1-a/clusters /(集群名称)] .''' – okandas

+0

尝试使用'gcloud beta集装箱集群更新...'或'gcloud alpha容器集群更新...'。这可能是GA表面的文档不正确(并且在实施之前略微有点)。 –

+0

(位执行之前)这可能是原因。将等待一段时间,直到他们修复...没有任何工作...只能够转动L7 httpLoadbalancer,以便工程..并感谢您的帮助 – okandas

相关问题