Browse Source

Adding ability to override dashboard replica count (#4344)

pull/4350/head
Manuel Cintron 5 years ago
committed by Kubernetes Prow Robot
parent
commit
3c4cbf133e
2 changed files with 2 additions and 1 deletions
  1. 1
      roles/kubernetes-apps/ansible/defaults/main.yml
  2. 2
      roles/kubernetes-apps/ansible/templates/dashboard.yml.j2

1
roles/kubernetes-apps/ansible/defaults/main.yml

@ -37,6 +37,7 @@ netchecker_server_group: 1000
# Dashboard
dashboard_enabled: true
dashboard_replicas: 1
# Limits for dashboard
dashboard_cpu_limit: 100m

2
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2

@ -130,7 +130,7 @@ metadata:
name: kubernetes-dashboard
namespace: kube-system
spec:
replicas: 1
replicas: {{ dashboard_replicas }}
revisionHistoryLimit: 10
selector:
matchLabels:

Loading…
Cancel
Save