blob: bfd06136afd7f034a780c1fc93ef8512c06d4b0c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
kubectl create -f /vagrant/examples/nginx-app.yaml
kubectl get nodes
kubectl get services
kubectl get pods
kubectl get rc
sleep 120
svcip=$(kubectl get services nginx -o json | grep clusterIP | cut -f4 -d'"')
wget http://$svcip
|