Created
December 20, 2016 21:08
-
-
Save sjenning/c64000039f9e2e451abe82d6aaa53a52 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
create VMs | |
git clone https://github.com/kubernetes-incubator/kargo.git | |
cd kargo | |
cp ~/inventory.cfg inventory/. | |
vi inventory.cfg | |
(copy IPs and save) | |
date | |
ansible-playbook -u centos -b -i inventory/inventory.cfg cluster.yml | |
date (show elapsed time) | |
(ssh into kargo-1) | |
kubectl version | |
kubectl get nodes | |
kubectl get pods --all-namespaces | |
sudo docker ps | |
kubectl apply -n sock-shop -f "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true" | |
watch kubectl get pod --namespace=sock-shop | |
kubectl describe svc front-end -n sock-shop | |
(open http://masterip:nodeport) | |
(show webpage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment