You can find the related blog here:
- 中文版:https://davidlovezoe.club/k8s-cni-cilium-intro
- English Version: TODO
kubectl apply ./cilium/install-v1.7.1.yaml
> kubectl get all --all-namespaces |grep cilium
kube-system pod/cilium-89ncn 1/1 Running 0 27h
kube-system pod/cilium-9f9dn 1/1 Running 1 25h
kube-system pod/cilium-hjd7t 1/1 Running 0 27h
kube-system pod/cilium-operator-6547f48966-r4mqp 1/1 Running 0 27h
kube-system pod/cilium-pg5lp 1/1 Running 0 25h
kube-system daemonset.apps/cilium 4 4 4 4 4 <none> 27h
kube-system deployment.apps/cilium-operator 1/1 1 1 27h
kube-system replicaset.apps/cilium-operator-6547f48966 1 1 1 27h
We can use the official tool to check the connectivity after the installation.
kubectl apply -f ./cilium/connectivity-check.yaml
git clone https://github.com/cilium/hubble.git
cd hubble/install/kubernetes
helm template hubble \
--namespace kube-system \
--set metrics.enabled="{dns:query;ignoreAAAA;destinationContext=pod-short,drop:sourceContext=pod;destinationContext=pod,tcp,flow,port-distribution,icmp,http}" \
--set ui.enabled=true \
> hubble.yaml
kubectl apply -f hubble.yaml
# create a nodeport service for hubble ui to access externally
kubectl apply -f hubble-ui-nodeport.yaml
TODO