Merge "allow to pass options to dnsmasq service"
This commit is contained in:
commit
989d6db4a7
@ -71,10 +71,11 @@ spec:
|
|||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
args:
|
args:
|
||||||
- --cache-size=1000
|
{%- if master.addons.dns.get('dnsmasq', {}) %}
|
||||||
- --no-resolv
|
{%- for option_name, option_value in master.addons.dns.dnsmasq.iteritems() %}
|
||||||
- --server=127.0.0.1#10053
|
- --{{ option_name }}{% if option_value %}={{ option_value }}{% endif %}
|
||||||
- --log-facility=-
|
{%- endfor %}
|
||||||
|
{%- endif %}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 53
|
- containerPort: 53
|
||||||
name: dns
|
name: dns
|
||||||
|
@ -32,6 +32,11 @@ parameters:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
domain: cluster.local
|
domain: cluster.local
|
||||||
server: 10.254.0.10
|
server: 10.254.0.10
|
||||||
|
dnsmasq:
|
||||||
|
cache-size: 1000
|
||||||
|
no-resolv:
|
||||||
|
server: 127.0.0.1#10053
|
||||||
|
log-facility: "-"
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: True
|
enabled: True
|
||||||
heapster_influxdb:
|
heapster_influxdb:
|
||||||
|
@ -28,6 +28,11 @@ parameters:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
domain: cluster.local
|
domain: cluster.local
|
||||||
server: 10.254.0.10
|
server: 10.254.0.10
|
||||||
|
dnsmasq:
|
||||||
|
cache-size: 1000
|
||||||
|
no-resolv:
|
||||||
|
server: 127.0.0.1#10053
|
||||||
|
log-facility: "-"
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: True
|
enabled: True
|
||||||
heapster_influxdb:
|
heapster_influxdb:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user