Unable to create token for CNI kubeconfig error: cni-installer/install.go 478: Unable to create token for CNI kubeconfig error=Post "https://10.96.0.1:443 #753
-
I am trying to install calico CNI over Kamaji Hosted control plane on AWS EKS exposed TCP API server over nginx ingress controller, worker node able to join successfully using kubeadm join as well but calico cni pods are getting crash looped due error: cni-installer/install.go 478: Unable to create token for CNI kubeconfig error=Post "https://10.96.0.1:443. below are the Kamaji TCP SVC and Endpoint details. k get svc k get ep k get ing -n kamaji-member2 k get nodes |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
there's a similar issue #331 but it seems closed without any solution. |
Beta Was this translation helpful? Give feedback.
-
10.96.0.1 is the I would suggest you debug the node and check |
Beta Was this translation helpful? Give feedback.
-
@joseluisgonzalezca its not reachable outside cluster as its POD CIDR |
Beta Was this translation helpful? Give feedback.
-
@prometherion below are the kube-proxy logs .. it seems some misconfig with kube-proxy: "Kube-proxy configuration may be incomplete or incorrect" err="nodePortAddresses is unset; NodePort connections will be accepted on all local IPs. Consider using kube-proxy logs:
|
Beta Was this translation helpful? Give feedback.
-
understood and I have remove ingress and exposed API Server through load balancer and now its working as TCP Endpoint able reach from worker nodes. |
Beta Was this translation helpful? Give feedback.
understood and I have remove ingress and exposed API Server through load balancer and now its working as TCP Endpoint able reach from worker nodes.
Now facing issue with streaming logs from kubectl and its probably related to some security group issues.