https://rancher.com/ logo
#k3s
Title
# k3s
a

adamant-kite-43734

09/07/2022, 12:01 AM
This message was deleted.
c

creamy-pencil-82913

09/07/2022, 12:34 AM
If the service is running, it's connected. If it cant connect to any server, the service will exit and be restarted continuously by systemd until it can get a connection.
So, just a basic service uptime/restart counter check should suffice for gross health checking
If you need something more granular than that, the kubelet has a poorly documented API that you could probably query
c

calm-france-2744

09/07/2022, 12:37 AM
Awesome, it sounds like just checking the systemd service status will actually work for me then!
2 Views