mac k8s 部署cilium记录

1、准备bpf环境

#!/bin/bash
a=`docker run --privileged --pid=host alpine pidof kubelet`
docker run --privileged --pid=host alpine nsenter -t$a -m -- mount bpffs /sys/fs/bpf -t bpf
docker run -v /sys/fs/bpf:/sys/fs/bpf alpine mount |  grep /sys/fs/bpf
docker run --privileged --pid=host alpine nsenter -t$a -m -- mount  --make-shared /sys/fs/bpf

2、使用helm部署

helm install cilium .

3、部署hubble,可视化

kubectl apply -f https://raw.githubusercontent.com/cilium/cilium/v1.7.0/install/kubernetes/quick-install.yaml


posted @ 2020-05-25 10:58  诗码者  阅读(687)  评论(0编辑  收藏  举报