mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #4286 from brendandburns/etcd
Add restart to the kube apiserver.
This commit is contained in:
commit
2fb4bd4724
10
cluster/saltbase/salt/monit/kube-apiserver
Normal file
10
cluster/saltbase/salt/monit/kube-apiserver
Normal file
@ -0,0 +1,10 @@
|
||||
check process kube-apiserver with pidfile /var/run/kube-apiserver.pid
|
||||
group kube-apiserver
|
||||
start program = "/etc/init.d/kube-apiserver start"
|
||||
stop program = "/etc/init.d/kube-apiserver stop"
|
||||
if failed
|
||||
host 127.0.0.1
|
||||
port 8080
|
||||
protocol http
|
||||
request "/index.html"
|
||||
then restart
|
Loading…
Reference in New Issue
Block a user