Open brant4test opened 5 years ago
Hey, I ran in the same issue with Calico as a CNI on EKS, this is surely related to this. After installing istio I get this error:
Internal error occurred: failed calling admission webhook \"mixer.validation.istio.io\": Post https://istio-galley.istio-system.svc:443/admitmixer?timeout=30s: Address is not allowed
My theory is : This is due to the fact that the Calico CNI is present only on my worker nodes (Pods CIDR is 192.168.../16) and the control plane still run the AWS CNI as I don't have control over this with EKS.
Meaning that the webhook (running from the control plane) isn't allowed to communicate with my service istio-galley.istio-system.svc
having an IP outside of the VPC.
We also got the same issue durning install metrics-server with Cilium 1.4.2 on EKS 1.11 eks.2. We have expose 443 between eks control and worker node. Installed metrics-server via the way suggested by EKS.
Get error that seem cause by connection issue of 443 port.
kubectl get apiservice v1beta1.metrics.k8s.io -o yaml
Message: no response from https://10.99.121.153:443: Get https://10.99.121.153:443: dial tcp 10.99.121.153:443: Address is not allowed Reason: FailedDiscoveryCheck Status: False
Steps to reproduce the issue
1). Install an AWS EKS cluster (1.11) Kubernetes Version 1.11 Platform Version eks.2
2). Install cilium-etcd-operator on AWS ESK
3). Install istio-1.1.1 on AWS ESK
4). Install sample Nginx for testing automatic sidecar injection
Then you would see the issue as follows.
Debug 1 Disabled Cilium policy explicitly, didn't help.
Re-tried sample Nginx for testing automatic sidecar injection, Got same error as before.
Debug 2 Disabled configValidation, Manual sidecar injection succeeded with sample Nginx test.
So which part of code blocked admission webhook in "EKS+Cilium+Istio"? Any suggestions? Thanks!
P.S. a related question on stackoverflow.