[EKS] Use Multus with existing cluster created by eksctl

0

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?

질문됨 2년 전680회 조회
1개 답변
1

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!

profile pictureAWS
지원 엔지니어
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠