Cleanup defaults file from kubernetes-apps and add dashboard to download role (#3800)
* Remove variables defined in download role. Fixes #3799 * Cleanup some more variables * Fix bad templating * Minor fix * Add dashboard to download role. Fixes #3736
This commit is contained in:
parent
b109f52dab
commit
9463b70edd
6 changed files with 16 additions and 26 deletions
|
@ -25,8 +25,6 @@ There are related application specific variables:
|
||||||
netchecker_port: 31081
|
netchecker_port: 31081
|
||||||
agent_report_interval: 15
|
agent_report_interval: 15
|
||||||
netcheck_namespace: default
|
netcheck_namespace: default
|
||||||
agent_img: "mirantis/k8s-netchecker-agent:v1.2.2"
|
|
||||||
server_img: "mirantis/k8s-netchecker-server:v1.2.2"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the application verifies DNS resolve for FQDNs comprising only the
|
Note that the application verifies DNS resolve for FQDNs comprising only the
|
||||||
|
|
|
@ -220,6 +220,9 @@ addon_resizer_version: "1.8.3"
|
||||||
addon_resizer_image_repo: "k8s.gcr.io/addon-resizer"
|
addon_resizer_image_repo: "k8s.gcr.io/addon-resizer"
|
||||||
addon_resizer_image_tag: "{{ addon_resizer_version }}"
|
addon_resizer_image_tag: "{{ addon_resizer_version }}"
|
||||||
|
|
||||||
|
dashboard_image_repo: "gcr.io/google_containers/kubernetes-dashboard-{{ image_arch }}"
|
||||||
|
dashboard_image_tag: "v1.10.0"
|
||||||
|
|
||||||
downloads:
|
downloads:
|
||||||
netcheck_server:
|
netcheck_server:
|
||||||
enabled: "{{ deploy_netchecker }}"
|
enabled: "{{ deploy_netchecker }}"
|
||||||
|
@ -626,6 +629,15 @@ downloads:
|
||||||
groups:
|
groups:
|
||||||
- kube-node
|
- kube-node
|
||||||
|
|
||||||
|
dashboard:
|
||||||
|
enabled: "{{ dashboard_enabled }}"
|
||||||
|
container: true
|
||||||
|
repo: "{{ dashboard_image_repo }}"
|
||||||
|
tag: "{{ dashboard_image_tag }}"
|
||||||
|
sha256: "{{ dashboard_digest_checksum|default(None) }}"
|
||||||
|
groups:
|
||||||
|
- kube-master
|
||||||
|
|
||||||
download_defaults:
|
download_defaults:
|
||||||
container: false
|
container: false
|
||||||
file: false
|
file: false
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
---
|
---
|
||||||
# Versions
|
|
||||||
kubedns_version: 1.14.13
|
|
||||||
kubednsautoscaler_version: 1.2.0
|
|
||||||
|
|
||||||
# Limits for dnsmasq/kubedns apps
|
# Limits for dnsmasq/kubedns apps
|
||||||
dns_memory_limit: 170Mi
|
dns_memory_limit: 170Mi
|
||||||
dns_cpu_requests: 100m
|
dns_cpu_requests: 100m
|
||||||
|
@ -10,27 +6,13 @@ dns_memory_requests: 70Mi
|
||||||
dns_min_replicas: 2
|
dns_min_replicas: 2
|
||||||
dns_nodes_per_replica: 10
|
dns_nodes_per_replica: 10
|
||||||
dns_cores_per_replica: 20
|
dns_cores_per_replica: 20
|
||||||
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas > 1 else 'false' }}"
|
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas|int > 1 else 'false' }}"
|
||||||
|
|
||||||
# Images
|
|
||||||
image_arch: "{{host_architecture}}"
|
|
||||||
|
|
||||||
kubedns_image_repo: "gcr.io/google_containers/k8s-dns-kube-dns-{{ image_arch }}"
|
|
||||||
kubedns_image_tag: "{{ kubedns_version }}"
|
|
||||||
dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-{{ image_arch }}"
|
|
||||||
dnsmasq_nanny_image_tag: "{{ kubedns_version }}"
|
|
||||||
dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-{{ image_arch }}"
|
|
||||||
dnsmasq_sidecar_image_tag: "{{ kubedns_version }}"
|
|
||||||
dnsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-{{ image_arch }}"
|
|
||||||
dnsautoscaler_image_tag: "{{ kubednsautoscaler_version }}"
|
|
||||||
|
|
||||||
# Netchecker
|
# Netchecker
|
||||||
deploy_netchecker: false
|
deploy_netchecker: false
|
||||||
netchecker_port: 31081
|
netchecker_port: 31081
|
||||||
agent_report_interval: 15
|
agent_report_interval: 15
|
||||||
netcheck_namespace: default
|
netcheck_namespace: default
|
||||||
agent_img: "{{ netcheck_agent_image_repo }}:{{ netcheck_agent_image_tag }}"
|
|
||||||
server_img: "{{ netcheck_server_image_repo }}:{{ netcheck_server_image_tag }}"
|
|
||||||
|
|
||||||
# Limits for netchecker apps
|
# Limits for netchecker apps
|
||||||
netchecker_agent_cpu_limit: 30m
|
netchecker_agent_cpu_limit: 30m
|
||||||
|
@ -50,8 +32,6 @@ netchecker_server_group: 1000
|
||||||
|
|
||||||
# Dashboard
|
# Dashboard
|
||||||
dashboard_enabled: true
|
dashboard_enabled: true
|
||||||
dashboard_image_repo: gcr.io/google_containers/kubernetes-dashboard-{{ image_arch }}
|
|
||||||
dashboard_image_tag: v1.10.0
|
|
||||||
|
|
||||||
# Limits for dashboard
|
# Limits for dashboard
|
||||||
dashboard_cpu_limit: 100m
|
dashboard_cpu_limit: 100m
|
||||||
|
|
|
@ -22,7 +22,7 @@ spec:
|
||||||
beta.kubernetes.io/os: linux
|
beta.kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: netchecker-agent
|
- name: netchecker-agent
|
||||||
image: "{{ agent_img }}"
|
image: "{{ netcheck_agent_image_repo }}:{{ netcheck_agent_image_tag }}"
|
||||||
env:
|
env:
|
||||||
- name: MY_POD_NAME
|
- name: MY_POD_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- name: netchecker-agent
|
- name: netchecker-agent
|
||||||
image: "{{ agent_img }}"
|
image: "{{ netcheck_agent_image_repo }}:{{ netcheck_agent_image_tag }}"
|
||||||
env:
|
env:
|
||||||
- name: MY_POD_NAME
|
- name: MY_POD_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
containers:
|
containers:
|
||||||
- name: netchecker-server
|
- name: netchecker-server
|
||||||
image: "{{ server_img }}"
|
image: "{{ netcheck_server_image_repo }}:{{ netcheck_server_image_tag }}"
|
||||||
env:
|
env:
|
||||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in a new issue