Editing Kubernetes dashboard
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
* http://127.0.0.1:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ | * http://127.0.0.1:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ | ||
− | + | == Installation using helm == | |
+ | [[helm repo add]] kubernetes-dashboard https://kubernetes.github.io/dashboard/ | ||
+ | [[helm install]] my-release kubernetes-dashboard/kubernetes-dashboard | ||
− | + | == Installation using kubectl apply == | |
− | + | [[kubectl apply]] -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml | |
− | + | namespace/kubernetes-dashboard created | |
− | + | serviceaccount/kubernetes-dashboard created | |
− | + | service/kubernetes-dashboard created | |
− | + | secret/kubernetes-dashboard-certs created | |
− | + | secret/kubernetes-dashboard-csrf created | |
− | + | secret/kubernetes-dashboard-key-holder created | |
− | + | configmap/kubernetes-dashboard-settings created | |
− | + | role.rbac.authorization.k8s.io/kubernetes-dashboard created | |
− | + | clusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created | |
− | + | rolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created | |
− | + | clusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created | |
− | + | deployment.apps/kubernetes-dashboard created | |
− | kubernetes- | + | service/dashboard-metrics-scraper created |
− | + | deployment.apps/dashboard-metrics-scraper created | |
− | kubernetes-dashboard | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[kubectl]] proxy | ||
+ | Starting to serve on 127.0.0.1:8001 | ||
+ | |||
+ | == Connection == | ||
+ | Connect to: | ||
+ | http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ | ||
{ | { | ||
− | [[ | + | "[[kind]]": "Status", |
"apiVersion": "v1", | "apiVersion": "v1", | ||
"metadata": { | "metadata": { | ||
Line 36: | Line 38: | ||
}, | }, | ||
"status": "Failure", | "status": "Failure", | ||
− | "message": " | + | "message": "no endpoints available for service \"kubernetes-dashboard\"", |
− | "reason": " | + | "reason": "ServiceUnavailable", |
"code": 503 | "code": 503 | ||
} | } | ||
− | + | ||
{ | { | ||
"kind": "Status", | "kind": "Status", | ||
Line 52: | Line 54: | ||
"reason": "Unauthorized", | "reason": "Unauthorized", | ||
"code": 401 | "code": 401 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
== Related terms == | == Related terms == | ||
* <code>[[minikube dashboard]]</code> | * <code>[[minikube dashboard]]</code> | ||
− | |||
* <code>[[kubectl proxy]]</code> | * <code>[[kubectl proxy]]</code> | ||
− | * [[Kubernetes Metrics Server | + | * [[Kubernetes Metrics Server]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{ | + | * {{kubectl get}} |
* {{Kubernetes RBAC}} | * {{Kubernetes RBAC}} | ||
+ | * {{K8s}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: