diff options
author | Petr OspalĂ˝ <p.ospaly@partner.samsung.com> | 2019-04-20 05:25:23 +0200 |
---|---|---|
committer | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-20 10:36:30 +0000 |
commit | 67acfb594844515aa07f5d292f334a93ab92f0a2 (patch) | |
tree | f88c3dd4d8240b8800b4e97cf103be6834b1f015 /ansible/roles/rke/tasks | |
parent | bf11d96ff6d9908bf04335a66d0e092a736d4561 (diff) |
Add kubernetes dashboard
Either run kubectl proxy, but you must setup routes or kubectl on some
node (only infra has kubectl by default). Another option is connecting
onto the node where the dashboard is exposed via NodePort. Instructions
are here:
https://github.com/kubernetes/dashboard/wiki/Accessing-dashboard
(1.7.X and above)
Change-Id: I5a28f458c0ae949278b1e6eaf6eb063d09f93fc0
Issue-ID: OOM-1778
Signed-off-by: Petr OspalĂ˝ <p.ospaly@partner.samsung.com>
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/rke/tasks')
-rw-r--r-- | ansible/roles/rke/tasks/rke_config.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/rke/tasks/rke_config.yml b/ansible/roles/rke/tasks/rke_config.yml index 49503192..4112e107 100644 --- a/ansible/roles/rke/tasks/rke_config.yml +++ b/ansible/roles/rke/tasks/rke_config.yml @@ -38,6 +38,16 @@ src: cluster.yml.j2 dest: "{{ cluster_config_dir }}/cluster.yml" +- name: Prepare rke addon manifest (dashboard) + template: + src: kubernetes-dashboard.yaml.j2 + dest: "{{ cluster_config_dir }}/kubernetes-dashboard.yml" + +- name: Prepare rke addon manifest (dashboard user) + template: + src: k8s-dashboard-user.yml.j2 + dest: "{{ cluster_config_dir }}/k8s-dashboard-user.yml" + - name: Install rke cli tool copy: src: "{{ app_data_path }}/downloads/{{ rke_binary }}" |