imfreedom/k8s-cluster

Parents 817e690a65e9
Children 02234643bd98
Add a service account so we can access the kubernetes dashboard
--- a/05-dashboard-admin.yaml Fri May 24 23:11:09 2019 -0500
+++ b/05-dashboard-admin.yaml Fri May 24 23:11:36 2019 -0500
@@ -1,3 +1,9 @@
+# This file contains a service account for accessing the kubernetes dashboard.
+#
+# The dashboard can be reached by running `kubectl proxy` and then opening
+# http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
+# and use token auth with the contents of `token` item in the
+# `dashboard-admin-token-XXXXX` secret in the `kube-system` namespace.
---
apiVersion: v1
kind: ServiceAccount
@@ -17,4 +23,5 @@
- kind: ServiceAccount
name: dashboard-admin
namespace: kube-system
+---