Amazon-vpc-cni-k8s: Is the aws vpc cni intended to work only on EKS clusters ? I am not able to get pod - pod communication working at all

Created on 15 Jul 2020  路  3Comments  路  Source: aws/amazon-vpc-cni-k8s

I am currently running v.18.0 k8s cluster, self hosted on aws
I applied the yaml file from the documentation. Everything got applied properly.
Ip addresses are getting assigned properly to the Pods

But communication between the pods is not working. neither the pods are able to communicate to the internet. Can anyone please help me out with this ?

question

Most helpful comment

Hi @rakesh-nd,

Yes, we test the VPC CNI on Kops and Ubuntu as well. What base worker AMI are you using? What is needed is to allow forwarding on the worker nodes (iptables -P FORWARD ACCEPT). See #619 and https://github.com/awslabs/amazon-eks-ami/issues/332 for more details around this.

All 3 comments

Hi @rakesh-nd,

Yes, we test the VPC CNI on Kops and Ubuntu as well. What base worker AMI are you using? What is needed is to allow forwarding on the worker nodes (iptables -P FORWARD ACCEPT). See #619 and https://github.com/awslabs/amazon-eks-ami/issues/332 for more details around this.

@rakesh-nd did allowing forward solve the issue for you?

@mogren thanks a lot! It is working now !

Was this page helpful?
0 / 5 - 0 ratings