mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Documented second arg to create-flanneld-opts in cluster/ubuntu/util.sh
Fixes #29546
This commit is contained in:
parent
fd4e923890
commit
923b2b4782
@ -318,6 +318,7 @@ EOF
|
||||
|
||||
# Create ~/kube/default/flanneld with proper contents.
|
||||
# $1: The one hostname or IP address at which the etcd leader listens.
|
||||
# $2: The IP address or network interface for the local Flannel daemon to use
|
||||
function create-flanneld-opts() {
|
||||
cat <<EOF > ~/kube/default/flanneld
|
||||
FLANNEL_OPTS="--etcd-endpoints=http://${1}:4001 \
|
||||
|
Loading…
Reference in New Issue
Block a user