Kubernetes
Managing k8s is challenging, so we've decided to separate k8s deployments here - CRIB
This documentation is outdated, and we are using it only internally to run our soak tests. For v2 tests please check this example and read CRIB docs
We run our software in Kubernetes.
Local k3d setup
make install- (Optional) Install
Lensfrom here or usek9sas a low resource consumption alternative from here or from source here - Setup your docker resources, 6vCPU/10Gb RAM are enough for most CL related tasks
make create_clustermake install_monitoringNote: this will be actively connected to the server, the final log when it is ready isForwarding from [::1]:3000 -> 3000and you can continue with the steps below in another terminal.- Check your contexts with
kubectl config get-contexts - Switch context
kubectl config use-context k3d-local - Read here and do some deployments
- Open Grafana on
localhost:3000withadmin/sdkfh26!@bHasdZ2login/password and check the default dashboard make stop_clustermake delete_cluster
Typical problems
- Not enough memory/CPU or cluster is slow
Recommended settings for Docker are (Docker -> Preferences -> Resources):
- 6 CPU
- 10Gb MEM
- 50-150Gb Disk
NodeHasDiskPressureerrors, pods get evicted Usemake docker_pruneto clean up all pods and volumes