Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
44a8ca9f
Commit
44a8ca9f
authored
Feb 13, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21170 from MikeSpreitzer/issue/21168
Auto commit by PR queue bot
parents
f2e845dd
4d55dbe6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
config-default.sh
cluster/ubuntu/config-default.sh
+4
-0
util.sh
cluster/ubuntu/util.sh
+6
-3
No files found.
cluster/ubuntu/config-default.sh
View file @
44a8ca9f
...
...
@@ -67,6 +67,10 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-true}"
# --insecure-registry for local registries.
DOCKER_OPTS
=
${
DOCKER_OPTS
:-
""
}
# Extra options to set on the kube-proxy command line. This is useful
# for selecting the iptables proxy-mode, for example.
KUBE_PROXY_EXTRA_OPTS
=
${
KUBE_PROXY_EXTRA_OPTS
:-
""
}
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
# DNS_SERVER_IP must be a IP in SERVICE_CLUSTER_IP_RANGE
...
...
cluster/ubuntu/util.sh
View file @
44a8ca9f
...
...
@@ -248,7 +248,8 @@ function create-kube-proxy-opts() {
KUBE_PROXY_OPTS="\
--hostname-override=
${
1
}
\
--master=http://
${
2
}
:8080 \
--logtostderr=true"
--logtostderr=true \
${
3
}
"
EOF
}
...
...
@@ -450,7 +451,8 @@ function provision-node() {
'
${
KUBELET_CONFIG
}
'
create-kube-proxy-opts
\
'
${
1
#*@
}
'
\
'
${
MASTER_IP
}
'
'
${
MASTER_IP
}
'
\
'
${
KUBE_PROXY_EXTRA_OPTS
}
'
create-flanneld-opts '
${
MASTER_IP
}
' '
${
1
#*@
}
'
sudo -E -p '[sudo] password to start node: ' -- /bin/bash -ce '
...
...
@@ -526,7 +528,8 @@ function provision-masterandnode() {
'
${
KUBELET_CONFIG
}
'
create-kube-proxy-opts
\
'
${
MASTER_IP
}
'
\
'
${
MASTER_IP
}
'
'
${
MASTER_IP
}
'
\
'
${
KUBE_PROXY_EXTRA_OPTS
}
'
create-flanneld-opts '127.0.0.1' '
${
MASTER_IP
}
'
FLANNEL_OTHER_NET_CONFIG='
${
FLANNEL_OTHER_NET_CONFIG
}
' sudo -E -p '[sudo] password to start master: ' -- /bin/bash -ce '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment