Time: 2020.11.12
Cilium 要求 linux kernel 4.8.0 以上的版本支持,因此我们
使用 Kubeadm 部署 Kubernetes...
需要注意 Mac 上安装好 ansible/vagrant
安装 Virtualbox/Vagrant 之后,还需要安装好 ansible brew install ansible
git clone https://github.com/markthink/deploy_k8s.git
cd deploy_k8s
vagrant up
wget https://get.helm.sh/helm-v3.4.1-linux-amd64.tar.gz
tar xvf helm-v3.4.1-linux-amd64.tar.gz
ls linux-amd64/
helm repo add cilium https://helm.cilium.io/
helm install cilium cilium/cilium --version 1.9.0 \
--namespace kube-system \
--set externalWorkloads.enabled=true \
--set clustermesh.apiserver.tls.auto.method=cronJob命令输出...
[vagrant@k8s-master ~]$ helm repo add cilium https://helm.cilium.io/
"cilium" has been added to your repositories
[vagrant@k8s-master ~]$ helm install cilium cilium/cilium --version 1.9.0 \
> --namespace kube-system \
> --set externalWorkloads.enabled=true \
> --set clustermesh.apiserver.tls.auto.method=cronJob
NAME: cilium
LAST DEPLOYED: Fri Nov 13 12:34:24 2020
NAMESPACE: kube-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
You have successfully installed Cilium with Hubble.
Your release version is 1.9.0.
For any further help, visit https://docs.cilium.io/en/v1.9/gettinghelpThe cilium_net: Caught tx_queue_len zero misconfig is harmless, by the way.