Difference between revisions of "Kubernetes dashboard"
Jump to navigation
Jump to search
(15 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
* https://127.0.0.1:8443/ | * https://127.0.0.1:8443/ | ||
− | == Installation using [[helm]] == | + | == Installation == |
+ | === Installation using [[helm]] === | ||
* <code>[[helm repo add]] kubernetes-[[dashboard]] https://kubernetes.github.io/dashboard/</code> | * <code>[[helm repo add]] kubernetes-[[dashboard]] https://kubernetes.github.io/dashboard/</code> | ||
* <code>[[helm install my-release kubernetes-dashboard/kubernetes-dashboard]]</code> | * <code>[[helm install my-release kubernetes-dashboard/kubernetes-dashboard]]</code> | ||
− | * <code>helm install kubernetes-dashboard/kubernetes-dashboard | + | * <code>[[helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --set=service.externalPort=8080,resources.limits.cpu=200m]]</code> |
− | == [[Installation Kubernetes dashboard using kubectl apply]] == | + | === [[Installation Kubernetes dashboard using kubectl apply]] === |
+ | |||
+ | === [[Minikube]] === | ||
+ | * <code>[[minikube addons enable dashboard]]</code> | ||
== Related == | == Related == | ||
+ | |||
+ | k get svc -A | grep kubernetes-dashboard | ||
+ | kubernetes-dashboard [[dashboard-metrics-scraper]] ClusterIP 10.111.46.179 <none> 8000/TCP | ||
+ | 8m19s | ||
+ | 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> | * <code>[[kubectl describe pod my-release-kubernetes-dashboard]]</code> | ||
{ | { | ||
− | + | [["kind": "Status"]], | |
"apiVersion": "v1", | "apiVersion": "v1", | ||
"metadata": { | "metadata": { | ||
Line 23: | Line 36: | ||
}, | }, | ||
"status": "Failure", | "status": "Failure", | ||
− | "message": " | + | "message": "[[no endpoints available for service]] \"kubernetes-dashboard\"", |
− | "reason": "ServiceUnavailable", | + | "reason": "[[ServiceUnavailable]]", |
"code": 503 | "code": 503 | ||
} | } | ||
Line 63: | Line 76: | ||
* <code>[[minikube addons list]]</code> | * <code>[[minikube addons list]]</code> | ||
* <code>[[kubectl proxy]]</code> | * <code>[[kubectl proxy]]</code> | ||
− | * [[Kubernetes Metrics Server]] | + | * [[Kubernetes Metrics Server (KMS)]] |
* <code>[[kubectl get services]]</code> | * <code>[[kubectl get services]]</code> | ||
* <code>[[kubectl get secret]]</code> | * <code>[[kubectl get secret]]</code> | ||
* <code>[[helm install]]</code>, <code>[[helm uninstall]]</code> | * <code>[[helm install]]</code>, <code>[[helm uninstall]]</code> | ||
* [[Horizontal Pod Autoscaler (HPA)]] | * [[Horizontal Pod Autoscaler (HPA)]] | ||
− | |||
* [[kubeconfig]] | * [[kubeconfig]] | ||
− | * [[ | + | * [[GKE]]: <code>[[addonsConfig]]</code> |
− | * [[ | + | * [[Lens]] |
== See also == | == See also == | ||
* {{Kubernetes dashboard}} | * {{Kubernetes dashboard}} | ||
* {{Kubernetes RBAC}} | * {{Kubernetes RBAC}} | ||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 17:33, 23 January 2024
Contents
Installation[edit]
Installation using helm[edit]
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm install my-release kubernetes-dashboard/kubernetes-dashboard
helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --set=service.externalPort=8080,resources.limits.cpu=200m
Installation Kubernetes dashboard using kubectl apply[edit]
Minikube[edit]
Related[edit]
k get svc -A | grep kubernetes-dashboard kubernetes-dashboard dashboard-metrics-scraper ClusterIP 10.111.46.179 <none> 8000/TCP 8m19s kubernetes-dashboard kubernetes-dashboard ClusterIP 10.96.35.228 <none> 80/TCP 8m19s
k logs kubernetes-dashboard-XXXXXXX -n kubernetes-dashboard
{ "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "no endpoints available for service \"kubernetes-dashboard\"", "reason": "ServiceUnavailable", "code": 503 }
Unauthorized
{ "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "Unauthorized", "reason": "Unauthorized", "code": 401 }
{ "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[edit]
minikube dashboard
minikube addons list
kubectl proxy
- Kubernetes Metrics Server (KMS)
kubectl get services
kubectl get secret
helm install
,helm uninstall
- Horizontal Pod Autoscaler (HPA)
- kubeconfig
- GKE:
addonsConfig
- Lens
See also[edit]
Advertising: