Mac*_*ski 1 google-cloud-platform kubernetes google-kubernetes-engine istio
您好,我正在查看 GKE 自动驾驶模式,并注意到在集群配置中 istio 被禁用,我无法更改它。此外,通过 istioctl install 安装失败并出现以下错误
error installer failed to update resource with server-side apply for obj MutatingWebhookConfiguration//istio-sidecar-injector: mutatingwebhookconfigurations.admissionregistration.k8s.io "istio-sidecar-injector" is forbidden: User "something@example" cannot patch resource "mutatingwebhookconfigurations" in API group "admissionregistration.k8s.io" at the cluster scope: GKEAutopilot authz: cluster scoped resource "mutatingwebhookconfigurations/" is managed and access is denied
Run Code Online (Sandbox Code Playgroud)
我是对的还是无法在 GKE 自动驾驶模式下运行 istio?
TL; 博士
目前无法在 GKE 自动驾驶模式下运行 istio。
结论
如果您使用 Autopilot,则无需管理节点。您不必担心更新、扩展或更改操作系统等操作。但是,自动驾驶仪有许多限制。
即使您尝试使用命令安装 istio istioctl install,也不会安装 istio。然后,您将看到以下消息:
这会将 Istio 配置文件安装到集群中。继续?(y/N) 是
? 安装了 Istio 核心
?Istiod 安装了
吗?Ingress gateways 遇到错误:failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition Deployment/istio-system/istio-ingressgateway
此命令失败,bacuse为三轮注射,安装程序将尝试创建一个MutatingWebhookConfiguration称为istio-三轮注射器。这里提到了这个限制。
有关更多信息,您还可以阅读此页面。
| 归档时间: |
|
| 查看次数: |
363 次 |
| 最近记录: |