Closed liwenwu-amazon closed 6 years ago
what files are in /etc/cni/net.d/?
Here is what I have:
root@ip-10-0-55-131:/home/admin# cd /etc/cni/net.d/
root@ip-10-0-55-131:/etc/cni/net.d# ls
lyft.conf
root@ip-10-0-55-131:/etc/cni/net.d# cat lyft.conf
{
"cniVersion": "0.3.1",
"name": "cni-ipvlan-vpc-k8s",
"plugins": [
{
"cniVersion": "0.3.1",
"type": "cni-ipvlan-vpc-k8s-ipvlan",
"mode": "l2",
"master": "ipam",
"ipam": {
"type": "cni-ipvlan-vpc-k8s-ipam",
"interfaceIndex": 1,
"subnetTags": {
"kubernetes_kubelet": "true"
},
"secGroupIds": [
"sg-34b79141"
]
}
},
{
"cniVersion": "0.3.1",
"type": "cni-ipvlan-vpc-k8s-unnumbered-ptp",
"hostInterface": "eth0",
"containerInterface": "veth0",
"ipMasq": true
}
]
}
thanks
Rename lyft.conf to lyft.conflist and it should start working. .conflist
is used for chained plugins.
Thank you! It works for me now.
Faced the same issue, then get resolved by download latest plugin version from "https://github.com/containernetworking/plugins/releases"
Thanks for sharing the great work. I am trying to test it out but was not able to bring up following pods
I am using version 1.7.10
I am seeing following error in the log file:
I am using the configuration file provided in README and have updated it with my secGroupIds
Here are cni binaries in /opt/cni/bin:
Here is the code snippet
Kubelet is running with following options:
Can you tell me if I missed anything?
thank you very much