Skip to content

Instantly share code, notes, and snippets.

@yankay
Last active August 26, 2022 08:13
Show Gist options
  • Select an option

  • Save yankay/c765102a8c36f5b2fb6c13efb108254a to your computer and use it in GitHub Desktop.

Select an option

Save yankay/c765102a8c36f5b2fb6c13efb108254a to your computer and use it in GitHub Desktop.
快速运行 cilium-test
# 参考 https://docs.cilium.io/en/v1.9/gettingstarted/k8s-install-connectivity-test/
kubectl create ns cilium-test
wget http://ghproxy.com/https://raw.githubusercontent.com/cilium/cilium/v1.9/examples/kubernetes/connectivity-check/connectivity-check.yaml
cat connectivity-check.yaml| sed 's/image: docker.io\/cilium/image: quay.m.daocloud.io\/cilium/g' | sed 's/image: docker.io/image: docker.m.daocloud.io/g' > c.yaml
kubectl apply -n cilium-test -f c.yaml
kubectl get pods -n cilium-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment