зеркало из https://github.com/Azure/acs-engine.git
Enable the kubelet-monitor systemd unit (#3983)
This commit is contained in:
Родитель
6579278de9
Коммит
ba8b8d6348
|
@ -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(){
|
||||||
|
|
Загрузка…
Ссылка в новой задаче