[EKS] Use Multus with existing cluster created by eksctl
we created and manage our EKS cluster with eksctl for quite a while. Now we are faced with a use-case where we need multiple interfaces in a pod. EKS supports multus to do exactly this. All documentations I'm able to find start with a cloudformation script to setup new nodegroups.
Im not exactly sure how to integrate this into our existsing workflow with eksctl. We already have running nodes. So I just skipped that step and installed the multus daemonset with the existing nodes and tried to assign a second interface to a container which didnt work. I checked the cloudformation script and it does multus spefic stuff (Im not familiar with cloudformation scripts) .
Q: Can I somehow patch existing nodes in order to support Multus?
You can follow this quickstart guide to setup Multus CNI for your EKS cluster - https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/quickstart.md
In this setup, you will need to clone this github repo and install a daemonset (multus-daemonset-thick-plugin.yml) which creates pods that are responsible for patching your existing nodes with Multus CNI configuration.
After the nodes are patched, you can create the
NetworkAttachmentDefinition CRD to define your network configuration as specified here.
After creating the above CRD, you'll need to add the annotation
k8s.v1.cni.cncf.io/networks to your pod/deployment manifest to assign additional ENIs to your new pods.
I hope this helps!
Is there any way to move existing database instance to a new cluster?asked 2 months ago
[EKS] Use Multus with existing cluster created by eksctlasked 2 months ago
EKS NodeGroup IAM Role on Config File (yaml)Accepted Answerasked 21 days ago
EKS Cluster Create FailedAccepted Answerasked 4 months ago
Why does my EKS cluster fails init on "Nodegroup... failed to stabilize"?asked 2 years ago
Access to Secrets Manager from pod in EKSasked 3 months ago
Unable to create EKS Clusterasked a month ago
EKS Fargate: restrict access to service to only certain podsasked 2 months ago
Amazon EKS service IP addressesasked 3 months ago
EKS Cluster stuck in updatingasked 2 months ago