This repo is very new, experimental, and not yet continuously integrated or tested to the degree we'd like.
minikube
(brew install minikube
)helm
(brew install kubernetes-helm
) We require helm 3.0.0+ to install the postgres & minio data stores in your minikube.- To ensure cloud controller submodule is up-to-date run
git submodule update --init
- Run
./scripts/setup.sh
to enable the minikube registry and add it to your local docker daemon's list of insecure registries. - Restart your docker daemon if the script thinks you should.
CAPI requires a database and blobstore. We chose to use Postgres and Minio for
those dependencies, respectively. Both have stable helm
charts, so that is
the approach we use to install them.
minikube start
to make sureminikube
is up and running./scripts/deploy.sh
to deploy the dependencies and CAPI- Optionally, you can supply custom configuration as an additional argument. E.g.:
./scripts/deploy.sh my-custom-values.yaml
.
See an example of custom configuration here: custom-values.yml
./scripts/build-and-rollout-capi.sh
will take thecloud_controller_ng
code in thesrc/cloud_controller_ng
submodule, build a docker image with it, and roll the new image out to theminikube
cluster.- Optionally, you can supply custom configuration as an additional argument. E.g.:
./scripts/build-and-rollout-capi.sh my-custom-values.yaml
.
- If you see an issue with helm (eg. tiller not found) then update to the latest helm version (
brew upgrade helm
)