EKS 요구사항

EKS 요구사항

EKS(Amazon Elastic Kubernetes Service)에 Cilium을 설치하기 위한 구성과 요구사항을 정리했어요.

출처: EKS 요구사항

본문

Amazon Elastic Kubernetes Service (EKS)에 Cilium을 설치하려면 다음 단계를 수행해요.

기본 설정:

Datapath IPAM Datastore
Direct Routing (ENI) AWS ENI Kubernetes CRD

AWS ENI 모드에 대한 자세한 내용은 AWS ENI를 참고하세요.

팁

AWS CNI 위에 Cilium을 체이닝하려면 AWS VPC CNI plugin을 참고하세요.

EKS에서는 Single-Region, Multi-Region, Multi-AZ 환경에서도 Cilium을 띄울 수 있어요.

요구사항:

  • EKS Managed Nodegroups에 애플리케이션 Pod가 Cilium에 의해 올바르게 관리되도록 적절한 taint가 설정돼야 해요. managedNodeGroups는 애플리케이션 Pod가 Cilium이 관리할 준비가 되기 전엔 스케줄되지 않도록 node.cilium.io/agent-not-ready=true:NoExecute로 taint 해야 해요. 다만 다른 옵션도 있어요. taint 영향과 unmanaged pod에 대한 문서 페이지를 반드시 읽고 이해하세요. 아래는 ClusterConfig 파일을 사용해 클러스터를 생성하는 예시예요.
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
# ...
managedNodeGroups:
- name: ng-1
  # ...
  #
  # taint nodes so that application pods are
  # not scheduled/executed until Cilium is deployed.
  # Alternatively, see the note above regarding taint effects.
  taints:
   - key: "node.cilium.io/agent-not-ready"
     value: "true"
     effect: "NoExecute"

제한사항:

  • Cilium의 AWS ENI 통합은 현재 IPv4에서만 활성화돼요. IPv6를 쓰려면 ENI가 아닌 datapath/IPAM 모드를 사용하세요.

더 알아보기 (Learn more)