The following assumes you are using Minikube and Trow for container registry, installed using the quick install method documented here
Pull the following containers locally (docker pull
):
For Kudo:
- kudobuilder/controller:v0.9.0
From params.yaml
:
- mesosphere/cassandra-prometheus-exporter:2.2.1-0.1.1
- mesosphere/cassandra:3.11.5-0.1.1
Fetch the KUDO init yaml with the following command: kubectl-kudo init --dry-run -o yaml > kk-init.yaml
Edit kk-init.yaml to point to the controller image in your Trow registry.
Download Cassandra tarball by visiting: https://kudo-repository.storage.googleapis.com/cassandra-0.1.1.tgz
Untar tgz file above, and edit the images from params.yaml to point to your container registry, if necessary. (In this example, trow.kube-public:31000/cassandra:3.11.5-0.1.1
, etc.)
Turn off your internet to simulate airgapped environment.
Tag and push your images:
docker tag kudobuilder/controller:v0.9.0 trow.kube-public:31000/kudobuilder/controller:v0.9.0
docker push trow.kube-public:31000/kudobuilder/controller:v0.9.0
docker tag mesosphere/cassandra-prometheus-exporter:2.2.1-0.1.1 trow.kube-public:31000/cassandra-prometheus-exporter:2.2.1-0.1.1
docker push trow.kube-public:31000/cassandra-prometheus-exporter:2.2.1-0.1.1
docker tag mesosphere/cassandra:3.11.5-0.1.1 trow.kube-public:31000/cassandra:3.11.5-0.1.1
docker push trow.kube-public:31000/cassandra:3.11.5-0.1.1
Run
kubectl apply -f kk-init.yaml
kubectl kudo install ./cassandra