Last active
August 26, 2022 08:13
-
-
Save yankay/c765102a8c36f5b2fb6c13efb108254a to your computer and use it in GitHub Desktop.
快速运行 cilium-test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 参考 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