Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
charts
cmd
docker
pkg
scripts
.gitignore
Makefile
README.md
go.test.sh

README.md

kubervisor-demo

Prerequisite

  • have a minikube binaries with the kubernetes cluster version >= 1.9
  • have kubectl cli binary
  • have Helm cli binary
  • have jq installed on the host (commandline JSON processor)
  • have pv installed on the host (Concatenate FILE(s), or standard input, to standard output, with monitoring.)
  • have dnsmasq installed

Demo setup

export GOPATH=$(git rev-parse --show-toplevel)/../../../../
cd $GOPATH/src/github.com/amadeusitgroup/kubervisor
make plugin
eval $(minikube docker-env)
git tag latest
make container
cd $GOPATH/src/github.com/amadeusitgroup/kubervisor/examples/demo
./scripts/init.sh

Setup dnsmasq

Service are expose via ingress. We are going to use domain to target our demo.mk for our minikube vm.

sudo "IP=$(minikube ip)" bash -c 'echo "address=/.demo.mk/$IP" > /etc/dnsmasq.d/minikube'

sudo service dsnmasq restart

Demo

Run the following script that executes the differents commands.

./scripts/demo.sh

Clear the Demo

If you want to re-run the demo, first run the following command, then you will be able to execute the demo without doint the demo setup.

./scripts/clear.sh