Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Rebuilding Dashboard Pods is Recommended in Docs
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Short <[email protected]>
  • Loading branch information
chris-short committed Jan 22, 2018
1 parent 05bf6fd commit 3a58160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/dashboard/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- name: Configure Dashboard Access
shell: kubectl apply -f https://raw.githubusercontent.com/rak8s/rak8s/master/roles/dashboard/files/dashboard-admin.yaml

- name: Force Rebuild Dashboard Pods
shell: kubectl -n kube-system delete $(kubectl -n kube-system get pod -o name | grep dashboard)

- name: Fetch kubeconfig file
fetch:
src: /root/.kube/config
Expand Down

0 comments on commit 3a58160

Please sign in to comment.