Microsoft Hyper-V Server: Deploy Kubernetes Dashboard

Опубликовано: 19 Октябрь 2024
на канале: ADTSolutions
958
11

In previous video, I installed a Kubernetes Cluster on Microsoft Hyper-V Server.
This video will show you How to deploy Kubernetes Dashboard on that cluster.

Deploy Kubernetes Dashboard
kubectl apply -f https://raw.githubusercontent.com/kub...

Create NodePort server to access dashboard
kubectl apply -f https://raw.githubusercontent.com/nvt...

NetNatStaticMapping
Add-NetNatStaticMapping -ExternalIPAddress "0.0.0.0/24" -ExternalPort 30002 -Protocol TCP -InternalIPAddress "10.10.0.10" -InternalPort 30002 -NatName KubeNatNet

Get token to access dashboard
kubectl -n kubernetes-dashboard describe secret ((kubectl -n kubernetes-dashboard get secret | Select-String admin-user ) -split" ")[0]