네트워크 3

Calico vs Cillium 성능 비교 링크

itnext.io/benchmark-results-of-kubernetes-network-plugins-cni-over-10gbit-s-network-updated-april-2019-4a9886efe9c4 Benchmark results of Kubernetes network plugins (CNI) over 10Gbit/s network (Updated: April 2019) This article is an update of my previous benchmark, now running on Kubernetes 1.14 with CNI version up-to-date in April 2019. itnext.io 요약 - Install 측면에서는 Cillium이 낫다 Perform 측면에서는 Bar..

카테고리 없음 2020.11.28

Pod 라우팅과 ExternalTrafficPolicy 옵션

Pod를 expose할 때 Kubernetes의 Service를 통해 다른 Pod혹은 외부에서 접근할 수 있도록 설정할 수 있다. 더 정확히는 Service를 생성하면 해당하는 Pod들에 대한 endpoint가 자동으로 생성되어, connection이 가능해진다. 물론 없어도 연결이 아예 불가능한 것은 아니지만 쿠버네티스적 관점에서는 Service가 필요하다. 노드 외부에서의 연결이 들어온 상태이고 Service를 NodePort나 LB타입으로 설정한 경우는 어떨까? 기본 설정에서는 Service에 여러 개의 Pod가 연결되어 있다면 쿠버네티스의 kube-proxy에 의해 iptables가 설정될 것이고, 패킷은 iptables에 따라 랜덤하게 전달될 것이다. 하지만 만약 패킷이 특정 노드에 전달된 경우..

Cloud/Kubernetes 2020.11.23