To deploy uptime-kuma
in kubernetes go to the folder from the cloned repo that has all of the yaml
manifest files.
Run this command from that directory
kubectl create -k .
Once completed you can check the status of everything with this command
kubectl get pod,deployment,pvc,svc -n uptime-kuma
From a web browser you can now access the uptime-kuma
frontend page by going to the IP address of the node it is hosted on with the nodePort
from the service.yaml
file which is 30002
unless changed.
Example
http://192.168.1.10:30002
To remove run this command
kubectl delete namespace uptime-kuma
The Docker Socket monitoring that uptime-kuma
is capable of will not work in a Kubernetes environment.
With the introduction of the Container Runtime Interface (CRI) in Kubernetes, and Docker being deprecated in favor of runtimes like containerd and CRI-O, direct access to the Docker socket doesn't work.