【发布时间】:2020-10-15 14:05:28
【问题描述】:
在istio docs to install the demo profile 之后,我收到以下错误。其他人几个月来一直在收到此错误,但没有得到解决。
其他安装方法有效吗? helm 安装已被弃用,但它仍然有效吗?有没有办法删除我现在的部分安装?
$ istioctl install --set profile=demo
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
✔ Istio core installed
Processing resources for Istiod. Waiting for Deployment/istio-system/istiod
✘ Istiod encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istiod
✘ Egress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the conditions...
Deployment/istio-system/istio-egressgateway
✘ Ingress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istio-ingressgateway
- Pruning removed resources Error: failed to install manifests: errors occurred during operation
【问题讨论】:
-
您的基础架构是什么?我假设你使用 minikube/microk8s,根据 istio documentation 你应该至少有 16384 MB 的内存和 4 个 CPU。你能试着增加它并检查它是否有效吗?关于移除,可以使用
istioctl experimental uninstall --purge到delete所有的istio资源。 -
Jakub - 我在 3 个主机(主节点和两个节点)上运行一个真正的 kubernetes 集群。我的主人有 12 GB RAM,所以也许这就是问题所在,但我不明白为什么会导致超时错误。安装文档没有提到最低 RAM 量。 16 GB 是硬性要求吗?减少会导致我看到的错误吗?
-
您使用的是最新的 istio 版本吗?您是否尝试过使用其他配置文件,例如
default或minimal?根据您提供的信息,我会说这是资源问题,但如果没有豆荚不健康的真正原因,就不能说更多。您能否使用kubectl get pods -n istio-system和kubectl describe <unhealthy pod> -n istio-system检查 istio-system 命名空间中不健康的 pod 并检查原因? 16GB 不是硬性要求,我以为你用的是 minikube/microk8s。 -
Jakub - 完成清除后,我使用
istioctl install进行了默认安装并得到相同的超时错误。 -
为了完整起见,在执行上述 --purge 之后,还需要执行
kubectl delete namespaces istio-system以在安装失败后删除命名空间。
标签: kubernetes-helm istio