Created
November 12, 2018 17:49
-
-
Save ChrisMcKee/c6fe1b309598930482b6bfb23be77498 to your computer and use it in GitHub Desktop.
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
Follow the first few steps of https://rancher.com/blog/2018/2018-05-18-how-to-run-rancher-2-0-on-your-desktop/ in the docker-for-X UI to setup docker for kubernetes. | |
Pick a folder, open command prompt/terminal. | |
git clone [email protected]:jgreat/server-chart.git | |
kubectl -n kube-system create serviceaccount tiller | |
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller | |
wait about 30 seconds | |
helm init --service-account tiller | |
If the above errors that tiller isnt found; wait a little then try again, its entirely depend on machine size how fast that thing starts. | |
helm install stable/nginx-ingress --name ingress-nginx --namespace ingress-nginx --set controller.extraArgs.enable-ssl-passthrough="" | |
helm install stable/cert-manager --name cert-manager --namespace kube-system | |
cd server-charts/rancher | |
helm install ./ --name rancher --namespace cattle-system --set hostname=rancher.localhost | |
Setting hosts file | |
By default the Rancher server will listen on rancher.localhost. To access it we will need to set a hosts file entry so our browser can resolve the name. | |
Windows - c:\windows\system32\drivers\etc\hosts | |
Mac - /etc/hosts | |
Edit the appropriate file for your system and add this entry. | |
127.0.0.1 rancher.localhost | |
Connecting to Rancher | |
Browse to https://rancher.localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment