Created
September 4, 2021 20:06
-
-
Save avoidik/6d49475e72d21cfb4c6b9069c1db0a2b to your computer and use it in GitHub Desktop.
Install weave-net
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
#!/bin/bash | |
curl -fsSLo weave-daemonset.yaml "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')&env.IPALLOC_RANGE=10.32.0.0/16" |
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
#!/bin/bash | |
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')&env.IPALLOC_RANGE=10.32.0.0/16" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shortened download.sh
curl -sSL https://git.io/JukgY | bash
shortened install.sh
curl -sSL https://git.io/JukgP | bash