- Deploy a pod to a local Kubernetes cluster with kubectl
- View information about a running pod
This lab assumes you have a running Kubernetes cluster. For this first lab, it is recommended to use a local (Docker) cluster - see the lab.
kubectl run simple-cms \
--labels="name=simple-cms" \
--image=jetstack/simple-cms:1.0.0
kubectl get pods
kubectl describe pods simple-cms
Note the IP address ($IP).
curl http://$IP:8081
Next up: use a replication controller and request Kubernetes automatically maintain multiple pod replicas.