在 Kind 集群中安装 Ingress
~$ kubectl apply -f ingress-nginx.yaml
得到
pod/foo-app created
service/foo-service created
pod/bar-app created
service/bar-service created
Error from server (InternalError): error when creating "ingress-nginx.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1beta1/ingresses?timeout=10s": dial tcp 10.100.173.14:443: connect: connection refused
试过这个
~$ kubectl proxy
把目标放在
使用 wsl 2.0 工作入口
资料来源: