Lizz compatible application to add the kube-prometheus-stack to a Lizz managed Kubernetes cluster.
To learn more about Lizz, see the documentation.
To add the application, you first need to have a Kubernetes cluster initialized with Lizz. You also need to have the Lizz CLI installed.
To add the application to your cluster, run the following:
lizz add github \
--owner=$GITHUB_USER \
--fleet=fleet \
--origin-url=https://github.com/openlizz/application-kube-prometheus-stack \
--path=./default \
--destination=kube-prometheus-stack \
--cluster-role \
--personal
Check the guide to understand how works the lizz add command.
Note You can adapt the command depending on your use case. See the command API for more information.
Note If you have a k3s cluster, use
--path=./k3s
. This requires to:
- configure the master k3s node to expose metrics, refer to https://fabianlee.org/2022/07/02/prometheus-installing-kube-prometheus-stack-on-k3s-cluster/ and k3s-io/k3s#3619 (comment),
- set the
masterIp
value with the IP address of your k3s master node:--set-value masterIp=<ip address of your k3s master node>
.
Reconcile the fleet repository to deploy the application using Flux:
flux reconcile source git flux-system
Check the pods with:
kubectl get pod -n monitoring
The output should be similar to:
NAMESPACE NAME READY STATUS RESTARTS AGE
Refer to the project documentation.
This repository is only a wrapper to the Helm chart of the Kube Prometheus Stack to help its deployment in a Kubernetes cluster managed by Lizz.
Therefore, the credit goes to the developers and maintainers of the application and the chart.