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
06b3406c
Commit
06b3406c
authored
Jul 23, 2015
by
Piotr Szczesniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
It's for autoscaling tests purposes and making the config consistent with other flags like ENABLE_NODE_LOGGING
parent
43f6651c
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
README.md
cluster/addons/dns/README.md
+1
-1
config-default.sh
cluster/aws/config-default.sh
+1
-1
config-test.sh
cluster/aws/config-test.sh
+1
-1
config-default.sh
cluster/gce/config-default.sh
+1
-1
config-test.sh
cluster/gce/config-test.sh
+1
-1
config-default.sh
cluster/libvirt-coreos/config-default.sh
+1
-1
config-default.sh
cluster/rackspace/config-default.sh
+1
-1
config-default.sh
cluster/ubuntu/config-default.sh
+1
-1
config-default.sh
cluster/vagrant/config-default.sh
+1
-1
config-default.sh
cluster/vsphere/config-default.sh
+1
-1
ubuntu.md
docs/getting-started-guides/ubuntu.md
+1
-1
No files found.
cluster/addons/dns/README.md
View file @
06b3406c
...
@@ -75,7 +75,7 @@ cluster turn-up to create the SkyDNS pods and configure the kubelets. For
...
@@ -75,7 +75,7 @@ cluster turn-up to create the SkyDNS pods and configure the kubelets. For
example, see
`cluster/gce/config-default.sh`
.
example, see
`cluster/gce/config-default.sh`
.
```
sh
```
sh
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/aws/config-default.sh
View file @
06b3406c
...
@@ -72,7 +72,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
...
@@ -72,7 +72,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
fi
fi
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/aws/config-test.sh
View file @
06b3406c
...
@@ -68,7 +68,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
...
@@ -68,7 +68,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
fi
fi
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/gce/config-default.sh
View file @
06b3406c
...
@@ -69,7 +69,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
...
@@ -69,7 +69,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
fi
fi
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/gce/config-test.sh
View file @
06b3406c
...
@@ -67,7 +67,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
...
@@ -67,7 +67,7 @@ if [[ ${KUBE_ENABLE_INSECURE_REGISTRY:-false} == "true" ]]; then
fi
fi
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/libvirt-coreos/config-default.sh
View file @
06b3406c
...
@@ -53,7 +53,7 @@ ENABLE_NODE_LOGGING=false
...
@@ -53,7 +53,7 @@ ENABLE_NODE_LOGGING=false
LOGGING_DESTINATION
=
elasticsearch
LOGGING_DESTINATION
=
elasticsearch
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.11.0.254"
DNS_SERVER_IP
=
"10.11.0.254"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
cluster/rackspace/config-default.sh
View file @
06b3406c
...
@@ -53,7 +53,7 @@ ELASTICSEARCH_LOGGING_REPLICAS=1
...
@@ -53,7 +53,7 @@ ELASTICSEARCH_LOGGING_REPLICAS=1
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_SERVER_IP
=
"10.0.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
cluster/ubuntu/config-default.sh
View file @
06b3406c
...
@@ -55,7 +55,7 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-true}"
...
@@ -55,7 +55,7 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-true}"
DOCKER_OPTS
=
${
DOCKER_OPTS
:-
""
}
DOCKER_OPTS
=
${
DOCKER_OPTS
:-
""
}
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
# DNS_SERVER_IP must be a IP in SERVICE_CLUSTER_IP_RANGE
# DNS_SERVER_IP must be a IP in SERVICE_CLUSTER_IP_RANGE
DNS_SERVER_IP
=
${
DNS_SERVER_IP
:-
"192.168.3.10"
}
DNS_SERVER_IP
=
${
DNS_SERVER_IP
:-
"192.168.3.10"
}
DNS_DOMAIN
=
${
DNS_DOMAIN
:-
"cluster.local"
}
DNS_DOMAIN
=
${
DNS_DOMAIN
:-
"cluster.local"
}
...
...
cluster/vagrant/config-default.sh
View file @
06b3406c
...
@@ -74,7 +74,7 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-influxdb}"
...
@@ -74,7 +74,7 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-influxdb}"
EXTRA_DOCKER_OPTS
=
"-b=cbr0 --insecure-registry 10.0.0.0/8"
EXTRA_DOCKER_OPTS
=
"-b=cbr0 --insecure-registry 10.0.0.0/8"
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.247.0.10"
DNS_SERVER_IP
=
"10.247.0.10"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
...
...
cluster/vsphere/config-default.sh
View file @
06b3406c
...
@@ -48,7 +48,7 @@ ELASTICSEARCH_LOGGING_REPLICAS=1
...
@@ -48,7 +48,7 @@ ELASTICSEARCH_LOGGING_REPLICAS=1
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
# Optional: Install cluster DNS.
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"10.244.240.240"
DNS_SERVER_IP
=
"10.244.240.240"
DNS_DOMAIN
=
"cluster.local"
DNS_DOMAIN
=
"cluster.local"
DNS_REPLICAS
=
1
DNS_REPLICAS
=
1
docs/getting-started-guides/ubuntu.md
View file @
06b3406c
...
@@ -158,7 +158,7 @@ After the previous parts, you will have a working k8s cluster, this part will te
...
@@ -158,7 +158,7 @@ After the previous parts, you will have a working k8s cluster, this part will te
The configuration of dns is configured in cluster/ubuntu/config-default.sh.
The configuration of dns is configured in cluster/ubuntu/config-default.sh.
```
sh
```
sh
ENABLE_CLUSTER_DNS
=
true
ENABLE_CLUSTER_DNS
=
"
${
KUBE_ENABLE_CLUSTER_DNS
:-
true
}
"
DNS_SERVER_IP
=
"192.168.3.10"
DNS_SERVER_IP
=
"192.168.3.10"
...
...
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