Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 964 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 964 Bytes

Step One: Turn up the UX for the demo

infos.

$ kubectl proxy --www=kubernetes-demo/local/ &
+ kubectl proxy --www=kubernetes-demo/local/
I0218 15:18:31.623279   67480 proxy.go:36] Starting to serve on localhost:8001

Now visit the the demo website. You won't see anything much quite yet.

Step Two: Run the replication controller

$ kubectl create -f kubernetes-demo/jboss-rc.yaml

Step Three: Try scaling the replication controller

$ kubectl scale rc update-demo-jboss --replicas=4

Step Four: Update the docker image

$ kubectl rolling-update update-demo-jboss --update-period=10s -f kubernetes-demo/glassfish-rc.yaml

Step Five: Bring down the pods

$ kubectl stop rc update-demo-glassfish

Step Six: Cleanup

Kill the proxy running in the background...

Updating the Docker images