istioctl install --set profile=demo -y报错

来源:2-9 云原生特性之服务网格

李小纯i

2024-06-18

istioctl install --set profile=demo -y
✔ Istio core installed
✔ Istiod installed
✘ Egress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istio-egressgateway (containers with unready status: [istio-proxy])
✘ 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 (containers with unready status: [istio-proxy])

  • Pruning removed resources Error: failed to install manifests: errors occurred during operation
写回答

3回答

暮闲

2024-06-18

看报错是初始化istio的时候,某个组件没有启动成功,方便的话在群里call我一下 我给你远程看一下。

0
0

李小纯i

提问者

2024-06-18

Istio Egress 和 Ingress 网关,这两个pod被部署到了另一个工作节点服务器上,但是这台服务器并没有安装Flannel网络插件,因为是工作节点,我这里也无法使用kubectl apply -f kube-flannel.yml安装,
root@iZuf69hjyg1f3mx4tconmfZ:~/k8s_install/k8s_install_pkg# kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.ymlThe connection to the server localhost:8080 was refused - did you specify the right host or port?
但是主节点服务器使用kubectl apply -f kube-flannel.yml安装了Flannel网络插件

0
0

李小纯i

提问者

2024-06-18

root@iZbp183md9l0si5g6gs2jtZ:~/servicemesh-demo/istio-1.13.1/bin# kubectl get pod -n istio-system -o wide

NAME                                    READY   STATUS    RESTARTS   AGE     IP           NODE                      NOMINATED NODE   READINESS GATES

istio-egressgateway-7d6f9f54d7-jckl9    0/1     Running   0          8m19s   10.244.2.2   izuf69hjyg1f3mx4tconmfz   <none>           <none>

istio-ingressgateway-5d95b48945-m28cs   0/1     Running   0          8m19s   10.244.2.3   izuf69hjyg1f3mx4tconmfz   <none>           <none>

istiod-d8576dfdf-gz88m                  1/1     Running   0          10m     10.244.1.2   izbp1hfv69qw3rmjhmbahkz   <none>           <none>


0
0

云原生+边缘计算项目实战-KubeEdge打造边缘管理平台

抢位前沿技术,获得先发优势

258 学习 · 265 问题

查看课程