Enable the kubelet-monitor systemd unit (#3983)

This commit is contained in:
Matt Boersma 2018-10-10 18:43:54 -06:00 коммит произвёл Jack Francis
Родитель 6579278de9
Коммит ba8b8d6348
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -261,9 +261,9 @@ function ensureKubelet() {
KUBELET_RUNTIME_CONFIG_SCRIPT_FILE=/opt/azure/containers/kubelet.sh KUBELET_RUNTIME_CONFIG_SCRIPT_FILE=/opt/azure/containers/kubelet.sh
wait_for_file 1200 1 $KUBELET_RUNTIME_CONFIG_SCRIPT_FILE || exit $ERR_FILE_WATCH_TIMEOUT wait_for_file 1200 1 $KUBELET_RUNTIME_CONFIG_SCRIPT_FILE || exit $ERR_FILE_WATCH_TIMEOUT
systemctlEnableAndStart kubelet || exit $ERR_KUBELET_START_FAIL systemctlEnableAndStart kubelet || exit $ERR_KUBELET_START_FAIL
# KUBELET_MONITOR_SYSTEMD_FILE=/etc/systemd/system/kubelet-monitor.service KUBELET_MONITOR_SYSTEMD_FILE=/etc/systemd/system/kubelet-monitor.service
# wait_for_file 1200 1 $KUBELET_MONITOR_SYSTEMD_FILE || exit $ERR_FILE_WATCH_TIMEOUT wait_for_file 1200 1 $KUBELET_MONITOR_SYSTEMD_FILE || exit $ERR_FILE_WATCH_TIMEOUT
# systemctlEnableAndStart kubelet-monitor || exit $ERR_SYSTEMCTL_START_FAIL systemctlEnableAndStart kubelet-monitor || exit $ERR_SYSTEMCTL_START_FAIL
} }
function ensureJournal(){ function ensureJournal(){