Important
|
The instructions have not been written/finished, but the resource file has been verified. Instructions will be added soon. |
kubctl create -f pod.yml
kubectl get pods -w
NAME READY STATUS RESTARTS AGE
www 0/1 Init:0/1 0 8s
www 0/1 PodInitializing 0 10s
www 1/1 Running 0 12s
kubectl create -f service.yml
port=$(kubectl get svc www -o jsonpath={.spec.ports[0].nodePort})
curl -s http://$(minikube ip):$port