Skip to content

purpleidea/kube-simple1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains an example template for a Kubernetes application.
It is used to demonstrate the power of oh-my-vagrant!

Here are some useful commands.

docker images	# see what images exist
docker ps	# see what's running
wget -q <IP>:8000/README -O -	# read output from file

kubectl get minions
kubectl get replicationControllers
kubectl get pods
kubectl get services

vagrant rsync
vagrant provision --provision-with docker	# build new images on all hosts

kubectl create -f <file.json>
kubectl update -f <file.json>
kubectl rollingupdate <id> -f <file.json>

kubectl rollingupdate kube-simple1 -f /vagrant/kubernetes/applications/kube-simple1/simple2.json
kubectl rollingupdate kube-simple2 -f /vagrant/kubernetes/applications/kube-simple1/simple1.json

Happy hacking!
James

About

Simple kubernetes app (used as an example in omv)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published