Commit 923b2b47 authored by Mike Spreitzer's avatar Mike Spreitzer

Documented second arg to create-flanneld-opts in cluster/ubuntu/util.sh

Fixes #29546
parent fd4e9238
...@@ -318,6 +318,7 @@ EOF ...@@ -318,6 +318,7 @@ EOF
# Create ~/kube/default/flanneld with proper contents. # Create ~/kube/default/flanneld with proper contents.
# $1: The one hostname or IP address at which the etcd leader listens. # $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() { function create-flanneld-opts() {
cat <<EOF > ~/kube/default/flanneld cat <<EOF > ~/kube/default/flanneld
FLANNEL_OPTS="--etcd-endpoints=http://${1}:4001 \ FLANNEL_OPTS="--etcd-endpoints=http://${1}:4001 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment