Code Review
/
openretriever.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add k8s installation by vagrant + kubeadm
[openretriever.git]
/
src
/
vagrant
/
k8s_kubeadm
/
examples
/
nginx-app.sh
1
#!/usr/bin/env bash
2
3
kubectl create -f /vagrant/examples/nginx-app.yaml
4
kubectl get nodes
5
kubectl get services
6
kubectl get pods
7
kubectl get rc
8
sleep 120
9
svcip=$(kubectl get services nginx -o json | grep clusterIP | cut -f4 -d'"')
10
wget http://$svcip