Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
# start up a cluster
KUBERNETES_PROVIDER=vagrant ./cluster/kube-up.sh
# validate cluster
./cluster/validate-cluster.sh
kubectl cluster-info
# a simple service
https://github.com/kubernetes/kubernetes/blob/master/docs/user-
guide/walkthrough/service.yaml
# debug
kubectl logs --previous <pod>
# a debug container
kubectl run curlpod --image=radial/busyboxplus:curl --command -- /bin/sh -c "while
true; do echo hi; sleep 10; done"
kubectl exec -it curlpod-5f0mh nslookup redis
# upload files
kubectl exec -i ghost-deployment-1955090760-zivlz -- /bin/bash -c 'cat >
/tmp/testmail.msg' < testmail.msg
# more debug
http://kubernetes.io/v1.1/docs/user-guide/debugging-services.html