采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
配置如下:
kc apply -f 6-6-ingress-nginx-controller.yaml
The Service "ingress-nginx" is invalid: spec.clusterIP: Invalid value: "10.0.4.13": provided IP is not in the valid range. The range of valid IPs is 10.1.0.0/16
执行这个报错,clusterIP我改成自己的了
把Ingress 的annotations改成"kubernetes.io/ingress.class: nginx" apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: web-api-ingress annotations: kubernetes.io/ingress.class: nginx
登录后可查看更多问答,登录/注册
阿里云最有价值专家亲授,云原生时代必备技能
1.2k 5
1.0k 5
1.0k 2
1.1k 30
1.2k 24