Add kube dashboard, enabled by default (#1643)

* Add kube dashboard, enabled by default

Also add rbac role for kube user

* Update main.yml
This commit is contained in:
Matthew Mosesohn
2017-09-09 23:38:03 +03:00
committed by GitHub
parent f2057dd43d
commit 9fa1873a65
6 changed files with 163 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ kube_users:
kube:
pass: "{{kube_api_pwd}}"
role: admin
groups:
- system:masters
## It is possible to activate / deactivate selected authentication methods (basic auth, static token auth)
#kube_oidc_auth: false
@@ -141,6 +143,9 @@ vault_deployment_type: docker
# K8s image pull policy (imagePullPolicy)
k8s_image_pull_policy: IfNotPresent
# Kubernetes dashboard (available at http://first_master:6443/ui by default)
dashboard_enabled: true
# Monitoring apps for k8s
efk_enabled: false