I have try to install bookinfo gateway by kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml . but it gave me this error. i spend hours to fix but i cannot find a solution.
error logs:
Error from server (InternalError): error when creating “samples/bookinfo/networking/bookinfo-gateway.yaml”: Internal error occurred: failed calling webhook “pilot.validation.istio.io”: Post https://istio-galley.istio-system.svc:443/admitpilot?timeout=30s: context deadline exceeded
Error from server (InternalError): error when creating “samples/bookinfo/networking/bookinfo-gateway.yaml”: Internal error occurred: failed calling webhook “pilot.validation.istio.io”: Post https://istio-galley.istio-system.svc:443/admitpilot?timeout=30s: context deadline exceeded
Which Istio version are you using?
I use istio version 1.4.3 with kubernetes cluster (kubeadm)
@phallamen Can you confirm if all istio pods are running while you are deploying gateway?
I had a similar issue. I resolved it by simply export no_proxy=… as follows, before running the helm install.
no_proxy=“$no_proxy,.svc,.default,.local,.cluster.local,localhost,127.0.0.0/8,192.168.0.0/24,10.96.0.0/24”
Some the CIDR addresses are only relevant to my k8s install, so modify or add accordingly.