Merge pull request #5047 from justinsb/aws_restart_apiserver

Implement restart-apiserver for AWS
pull/6/head
Eric Tune 2015-03-04 14:32:00 -08:00
commit 9ba020b50d
2 changed files with 6 additions and 1 deletions

View File

@ -661,6 +661,11 @@ function restart-kube-proxy {
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
function setup-monitoring-firewall {
if [[ "${ENABLE_CLUSTER_MONITORING}" != "true" ]]; then

View File

@ -847,7 +847,7 @@ function restart-kube-proxy {
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 {
ssh-to-node "$1" "sudo /etc/init.d/kube-apiserver restart"
}