mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Implement restart-apiserver for AWS, fix comment
This commit is contained in:
parent
0059c39211
commit
12e785c3b8
@ -661,6 +661,11 @@ function restart-kube-proxy {
|
|||||||
ssh-to-node "$1" "sudo /etc/init.d/kube-proxy restart"
|
ssh-to-node "$1" "sudo /etc/init.d/kube-proxy restart"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Restart the kube-apiserver on a node ($1)
|
||||||
|
function restart-apiserver {
|
||||||
|
ssh-to-node "$1" "sudo /etc/init.d/kube-apiserver restart"
|
||||||
|
}
|
||||||
|
|
||||||
# Setup monitoring firewalls using heapster and InfluxDB
|
# Setup monitoring firewalls using heapster and InfluxDB
|
||||||
function setup-monitoring-firewall {
|
function setup-monitoring-firewall {
|
||||||
if [[ "${ENABLE_CLUSTER_MONITORING}" != "true" ]]; then
|
if [[ "${ENABLE_CLUSTER_MONITORING}" != "true" ]]; then
|
||||||
|
@ -847,7 +847,7 @@ function restart-kube-proxy {
|
|||||||
ssh-to-node "$1" "sudo /etc/init.d/kube-proxy restart"
|
ssh-to-node "$1" "sudo /etc/init.d/kube-proxy restart"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restart the kube-proxy on a node ($1)
|
# Restart the kube-apiserver on a node ($1)
|
||||||
function restart-apiserver {
|
function restart-apiserver {
|
||||||
ssh-to-node "$1" "sudo /etc/init.d/kube-apiserver restart"
|
ssh-to-node "$1" "sudo /etc/init.d/kube-apiserver restart"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user