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/
  
* https://127.0.0.1:8443/
+
== Installation using helm ==
 +
[[helm repo add]] kubernetes-dashboard https://kubernetes.github.io/dashboard/
 +
[[helm install]] my-release kubernetes-dashboard/kubernetes-dashboard
  
== Installation ==
+
== Installation using kubectl apply ==
=== Installation using [[helm]] ===
+
[[kubectl apply]] -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml
* <code>[[helm repo add]] kubernetes-[[dashboard]] https://kubernetes.github.io/dashboard/</code>
+
namespace/kubernetes-dashboard created
* <code>[[helm install my-release kubernetes-dashboard/kubernetes-dashboard]]</code>
+
serviceaccount/kubernetes-dashboard created
* <code>[[helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --set=service.externalPort=8080,resources.limits.cpu=200m]]</code>
+
service/kubernetes-dashboard created
 
+
secret/kubernetes-dashboard-certs created
=== [[Installation Kubernetes dashboard using kubectl apply]] ===
+
secret/kubernetes-dashboard-csrf created
 
+
secret/kubernetes-dashboard-key-holder created
=== [[Minikube]] ===
+
  configmap/kubernetes-dashboard-settings created
* <code>[[minikube addons enable dashboard]]</code>
+
role.rbac.authorization.k8s.io/kubernetes-dashboard created
 
+
  clusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created
== Related ==
+
rolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
 
+
clusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
k get svc -A | grep kubernetes-dashboard
+
  deployment.apps/kubernetes-dashboard created
  kubernetes-dashboard  [[dashboard-metrics-scraper]]  ClusterIP  10.111.46.179    <none>        8000/TCP               
+
  service/dashboard-metrics-scraper created
8m19s
+
deployment.apps/dashboard-metrics-scraper created
  kubernetes-dashboard   kubernetes-dashboard       ClusterIP  10.96.35.228    <none>        80/TCP                 
 
  8m19s
 
 
 
  [[k logs kubernetes-dashboard-XXXXXXX -n kubernetes-dashboard]]
 
 
 
* <code>[[kubectl describe pod my-release-kubernetes-dashboard]]</code>
 
  
 +
[[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"]],
+
   "[[kind]]": "Status",
 
   "apiVersion": "v1",
 
   "apiVersion": "v1",
 
   "metadata": {
 
   "metadata": {
Line 36: Line 38:
 
   },
 
   },
 
   "status": "Failure",
 
   "status": "Failure",
   "message": "[[no endpoints available for service]] \"kubernetes-dashboard\"",
+
   "message": "no endpoints available for service \"kubernetes-dashboard\"",
   "reason": "[[ServiceUnavailable]]",
+
   "reason": "ServiceUnavailable",
 
   "code": 503
 
   "code": 503
 
  }
 
  }
  
Unauthorized
+
 
 
  {
 
  {
 
   "kind": "Status",
 
   "kind": "Status",
Line 52: Line 54:
 
   "reason": "Unauthorized",
 
   "reason": "Unauthorized",
 
   "code": 401
 
   "code": 401
}
 
 
 
[[NotFound]]
 
{
 
  "kind": "Status",
 
  "apiVersion": "v1",
 
  "metadata": {
 
   
 
  },
 
  "status": "Failure",
 
  "message": "services \"kubernetes-dashboard\" not found",
 
  "reason": "NotFound",
 
  "details": {
 
    "name": "kubernetes-dashboard",
 
    "kind": "services"
 
  },
 
  "code": 404
 
 
  }
 
  }
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[minikube dashboard]]</code>
 
* <code>[[minikube dashboard]]</code>
* <code>[[minikube addons list]]</code>
 
 
* <code>[[kubectl proxy]]</code>
 
* <code>[[kubectl proxy]]</code>
* [[Kubernetes Metrics Server (KMS)]]
+
* [[Kubernetes Metrics Server]]
* <code>[[kubectl get services]]</code>
 
* <code>[[kubectl get secret]]</code>
 
* <code>[[helm install]]</code>, <code>[[helm uninstall]]</code>
 
* [[Horizontal Pod Autoscaler (HPA)]]
 
* [[kubeconfig]]
 
* [[GKE]]: <code>[[addonsConfig]]</code>
 
* [[Lens]]
 
  
 
== See also ==
 
== See also ==
* {{Kubernetes dashboard}}
+
* {{kubectl get}}
 
* {{Kubernetes RBAC}}
 
* {{Kubernetes RBAC}}
 +
* {{K8s}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: