Anthos 在本地外部集群上显示错误的部署状态

Anthos showing wrong status of Deployment on on-premise external cluster

我想尝试一下 GCP 的 Anthos On-Premise GKE 产品。

为了我的演示,我按照 (https://kubernetes.io/docs/setup/production-environment/turnkey/gce/)

的说明使用 Google Compute Engine 在 GCP 中设置了一个 Kubernetes 集群

在此之后,我按照 Anthos 文档将我的集群注册到 Anthos。我能够使用基于令牌和基于基本身份验证的机制注册集群并登录。

现在,当我尝试从 GCP 控制台部署任何内容时,出现以下错误

但是部署成功了,我可以在我的集群上以 运行 状态看到部署和关联的 pods。

另外,当我尝试使用 Marketplace 进行部署时,出现以下错误。

我想知道这是 Anthos 中的错误还是我的集群缺少一些配置?

您不是 运行 Anthos GKE On-Prem,您是 运行 Google Cloud 上的开源 Kubernetes。为 Anthos 设计的东西 - 市场和将集群连接到 Cloud Console - 不应该在你的设置中工作。尽管如此,它们大部分都能正常工作的事实是一个意外(并且证明了 Kubernetes 的可移植性和兼容性)。

要获得 Cloud Console 集成并使用市场,您需要使用 Anthos GKE On-Prem that runs on VMWare or regular GKE