Simple and shortest path to a Helm based deployment of Kebe related services. If you have experience with Helm and Kubernetes, please help improve ASAP! :)
This is not intended to be a production deployment. Change passwords and use on a secure network for development purposes only.
For this quickstart we will assume:
- You have a Kubernetes cluster
- You have Helm3 installed and is configured to work with your Kubernetes cluster
- Clone kebe repo (https://github.com/freetocompute/kebe)
- Build an image for the cluster and push it there
cd kebe
docker build -f build-aux/docker/Dockerfile.store -t <cluster>:32000/kebe-store:latest .
docker push <cluster>:32000/kebe-store:latest
- Build a workaround image for Minio and push it
cd docker
docker build -t <cluster_ip>:32000/minio -f Dockerfile.minio .
docker push <cluster_ip>:32000/minio
- Run
helm install <name-of-your-deployment> .
- Verify Minio is running at <server_ip_or_fdqn>:30901
- Verify PgAdmin4 is running at <server_ip_or_fdqn>:31080
- Login to PgAdmin4 add postgres-store as server and check database connection
Postgres Minio Pgadmin4 Kebe Store (kebe-store)
- Everything
- A lot of values need to be pulled out
- An easy way to add the additional services will need with either separate Postgres instances or databases added (kebe-login and kebe-dashboard).
- dns
- ha-cluster
- registry
- storage
This can happen when the DNS addon is not enabled before installing the chart. Enable the DNS addon, uninstall the chart and reinstall it.
When trying to push images to the registry the local Docker daemon refuses to use an insecure registry. Add it to the insecure-registries array in the Docker daemon.json file. It's either in /etc/docker/daemon.json or if you are using a Snap version it might be in /var/snap/docker/current/config/daemon.json
If it doesn't exist, create it. It might look like this:
{
"insecure_registries": [ "<registry_ip1>:32000", "<registry_ip2>:32000" ]
}
Modify as necessary, restart docker: sudo systemctl restart docker
or
sudo snap restart docker