Cilium
설치
cilium-cli
asdf plugin add cilium-cli
Helm으로 Cilium 설치하기
Reference
helm repo add cilium https://helm.cilium.io/
helm repo update cilium \
&& helm search repo cilium/cilium -l | head -n 10
helm pull cilium/cilium --version 1.16.4
helm show values cilium/cilium --version 1.16.4 > cilium-1.16.4.yaml
ipam:
# -- Configure IP Address Management mode.
# ref: https://docs.cilium.io/en/stable/network/concepts/ipam/
mode: "cluster-pool"
operator:
# -- IPv4 podCIDR list
clusterPoolIPv4PodCIDRList: ["10.244.0.0/16"]
# -- IPv4 CIDR mask size to delegate to individual nodes for IPAM.
clusterPoolIPv4MaskSize: 25
# -- IPv6 podCIDR list
clusterPoolIPv6PodCIDRList: ["fd00::/104"]
# -- IPv6 CIDR mask size to delegate to individual nodes for IPAM.
clusterPoolIPv6MaskSize: 120
operator:
replicas: 1
helm template cilium cilium-1.16.4.tgz \
--version 1.16.4 \
-n kube-system \
-f cilium-values.yaml \
> cilium.yaml
helm upgrade cilium cilium-1.16.4.tgz \
--install \
--history-max 5 \
--version 1.16.4 \
-n kube-system \
-f cilium-values.yaml
cilium status --wait
테스트
cilium connectivity test
삭제
helm uninstall cilium -n kube-system
kubectl get crd -oname | grep --color=never 'cilium.io' | xargs kubectl delete