- start minikube
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
$ curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
$ minikube start --cpus 3 --memory=8192 --insecure-registry localhost:5000
- to launch the dashboard
minikube dashboard
- setup local registry
storage:
$ sudo mkdir -p /home/storage
$ chown -R $USER /home/storage
$ eval $(minikube docker-env)
this sets the system to use the minikube docker deamon
$ kubectl apply -f helpers/registry.yml
- now you can tag and push images to the registry as
localhost:5000/sound/repo:vXXX
#Build images
- set docker env
$ eval $(minikube docker-env)
this sets the system to use the minikube docker deamon - build images
$ ./buildAll.sh
this builds and pushes to the local registry
#Start 3rd party
- start redis
$ kubectl apply -f redis.yml
- start etcd
$ kubectl apply -f beta/etcd-operator.yml
wait for etcd-operator to start$ kubectl apply -f beta/etcd.yml
#start apps
$ kubectl apply -f api-server.yml
$ kubectl apply -f pipeline-driver.yml