이세개발
article thumbnail
Published 2023. 5. 7. 10:55
Kubernetes Dashboard DevOps

쿠버네티스 대시보드이다.

<python />
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml

 

외부접속을위해 여러방법이 있지만 편의상 NordPort 를 사용한 방법을 적용

<python />
kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "NodePort"}}'

or

<python />
kubectl edit service -n kubernetes-dashboard kubernetes-dashboard kind: Service apiVersion: v1 metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: kube-system spec: ports: - nodePort: 30100 port: 443 targetPort: 8443 selector: k8s-app: kubernetes-dashboard type: NodePort

포트가 다른서비스와 겹치지 않도록 주의한다.

 

토큰확인

<python />
kubectl get secrets -A kubectl describe secrets -n kubernetes-dashboard kubernetes-dashboard-token-~~~~

 

https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

 

Deploy and Access the Kubernetes Dashboard

Deploy the web UI (Kubernetes Dashboard) and access it.

kubernetes.io

 

profile

이세개발

@print(name)

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!