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


相关文章:

  • 2021-11-08
  • 2021-11-08
  • 2021-10-24
  • 2021-07-16
  • 2021-09-19
  • 2021-12-03
  • 2021-11-19
  • 2021-10-07
猜你喜欢
  • 2021-06-20
  • 2021-10-28
  • 2021-09-08
  • 2021-07-26
  • 2021-10-11
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案