Created
December 8, 2018 13:17
-
-
Save niiku-y/be607390be373b2afa87f500d6a798f0 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# install_rancher.sh | |
echo "before : " | |
helm repo list | |
echo "" | |
echo "repository add : " | |
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest | |
echo "" | |
echo "after : " | |
helm repo list | |
echo "" | |
echo "install cert-manager ..." | |
helm install stable/cert-manager --name cert-manager --namespace kube-system | |
helm ls --all | |
echo "" | |
echo "install rancher ..." | |
helm install rancher-latest/rancher --name rancher --namespace cattle-system --set hostname=lb01.openstacklocal | |
helm ls --all | |
kubectl get pods -n ingress-nginx | |
# if you want to delete rancher, then execute following command: | |
## helm del --purge rancher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment