Skip to content

Koster2013/kubernetes-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demo for kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published