mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Need to source the config-default.sh file before modifying the /etc/default/docker file, otherwise the DOCKER_OPTS set there do not get applied to new minion nodes.
This commit is contained in:
parent
f4d3f06067
commit
6698ac6dcc
@ -47,6 +47,8 @@ function config_etcd {
|
|||||||
|
|
||||||
function restart_docker {
|
function restart_docker {
|
||||||
|
|
||||||
|
source ~/kube/config-default.sh
|
||||||
|
|
||||||
attempt=0
|
attempt=0
|
||||||
while [[ ! -f /run/flannel/subnet.env ]]; do
|
while [[ ! -f /run/flannel/subnet.env ]]; do
|
||||||
if (( attempt > 200 )); then
|
if (( attempt > 200 )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user