2017-01-27 03:23:42 +03:00
|
|
|
#!/usr/bin/env bash
|
2017-01-17 08:39:03 +03:00
|
|
|
set -x
|
|
|
|
|
|
|
|
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/services/kubedns.yaml
|
|
|
|
|
|
|
|
kubectl --namespace=kube-system get svc
|
|
|
|
|
|
|
|
kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-the-hard-way/master/deployments/kubedns.yaml
|
|
|
|
|
|
|
|
kubectl --namespace=kube-system get pods
|