Remove the restart-kube-proxy and restart-apiserver functions

since neither are used any longer.
This commit is contained in:
Robert Bailey
2016-03-18 01:49:01 -07:00
parent 6bd5ecc192
commit c5ca042ede
6 changed files with 1 additions and 67 deletions

View File

@@ -1601,16 +1601,6 @@ function ssh-to-node {
ssh -oLogLevel=quiet -oConnectTimeout=30 -oStrictHostKeyChecking=no -i "${AWS_SSH_KEY}" ${SSH_USER}@${ip} "${cmd}"
}
# Restart the kube-proxy on a node ($1)
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"
}
# Perform preparations required to run e2e tests
function prepare-e2e() {
# (AWS runs detect-project, I don't think we need to anything)