cpu 需要多少 istio-pilot?
how much cpu needs istio-pilot?
我已经使用以下配置部署了 istio:
helm install install/kubernetes/helm/istio --name istio --namespace istio-system \
--set global.controlPlaneSecurityEnabled=true \
--set mixer.adapters.useAdapterCRDs=false \
--set grafana.enabled=true --set grafana.security.enabled=true \
--set tracing.enabled=false \
--set kiali.enabled=false \
--set pilot.resources.requests.memory="264Mi" \
--set pilot.resources.requests.cpu="100m"
错误:
istio-pilot-...-npv4m
Pending
0
a minute
0/1 nodes are available: 1 Insufficient cpu.
因为这是一个测试环境。我不使用大 sku(2 个 vcores 和 4gb)。不过看起来不行,这个应该不会吃很多内存吧。任何有关如何配置的帮助将不胜感激。
这意味着您的 CPU 已经超额订阅,碰巧飞行员没有足够的资源来启动。您可以做的是使用 bigger\more 节点或从 istio pods 中删除 CPU 请求(大多数 istio pods 有相当多的 CPU 请求)。您可能还想检查其他 pods(不是 istio),他们可能也有 CPU 请求。
我已经使用以下配置部署了 istio:
helm install install/kubernetes/helm/istio --name istio --namespace istio-system \
--set global.controlPlaneSecurityEnabled=true \
--set mixer.adapters.useAdapterCRDs=false \
--set grafana.enabled=true --set grafana.security.enabled=true \
--set tracing.enabled=false \
--set kiali.enabled=false \
--set pilot.resources.requests.memory="264Mi" \
--set pilot.resources.requests.cpu="100m"
错误:
istio-pilot-...-npv4m
Pending
0
a minute
0/1 nodes are available: 1 Insufficient cpu.
因为这是一个测试环境。我不使用大 sku(2 个 vcores 和 4gb)。不过看起来不行,这个应该不会吃很多内存吧。任何有关如何配置的帮助将不胜感激。
这意味着您的 CPU 已经超额订阅,碰巧飞行员没有足够的资源来启动。您可以做的是使用 bigger\more 节点或从 istio pods 中删除 CPU 请求(大多数 istio pods 有相当多的 CPU 请求)。您可能还想检查其他 pods(不是 istio),他们可能也有 CPU 请求。