mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
Add missing content, fix links..
This commit is contained in:
8
docs/admin/high-availability/default-kubelet
Normal file
8
docs/admin/high-availability/default-kubelet
Normal file
@@ -0,0 +1,8 @@
|
||||
# This should be the IP address of the load balancer for all masters
|
||||
MASTER_IP=<insert-ip-here>
|
||||
# This should be the internal service IP address reserved for DNS
|
||||
DNS_IP=<insert-dns-ip-here>
|
||||
|
||||
DAEMON_ARGS="$DAEMON_ARGS --api_servers=https://${MASTER_IP} --enable-debugging-handlers=true --cloud_provider=
|
||||
gce --config=/etc/kubernetes/manifests --allow_privileged=False --v=2 --cluster_dns=${DNS_IP} --cluster_domain=c
|
||||
luster.local --configure-cbr0=true --cgroup_root=/ --system-container=/system "
|
9
docs/admin/high-availability/monit-docker
Normal file
9
docs/admin/high-availability/monit-docker
Normal file
@@ -0,0 +1,9 @@
|
||||
check process docker with pidfile /var/run/docker.pid
|
||||
group docker
|
||||
start program = "/etc/init.d/docker start"
|
||||
stop program = "/etc/init.d/docker stop"
|
||||
if does not exist then restart
|
||||
if failed
|
||||
unixsocket /var/run/docker.sock
|
||||
protocol HTTP request "/version"
|
||||
then restart
|
11
docs/admin/high-availability/monit-kubelet
Normal file
11
docs/admin/high-availability/monit-kubelet
Normal file
@@ -0,0 +1,11 @@
|
||||
check process kubelet with pidfile /var/run/kubelet.pid
|
||||
group kubelet
|
||||
start program = "/etc/init.d/kubelet start"
|
||||
stop program = "/etc/init.d/kubelet stop"
|
||||
if does not exist then restart
|
||||
if failed
|
||||
host 127.0.0.1
|
||||
port 10255
|
||||
protocol HTTP
|
||||
request "/healthz"
|
||||
then restart
|
Reference in New Issue
Block a user