Horje
kube dashboard expose access port Code Example
kube dashboard expose access port
kubectl -n kube-system edit service kubernetes-dashboard
#change the .spec.type to NodePort


#You can reach by hitting the nodePort for the dashboard on the master

kubectl describe services kubernetes-dashboard --namespace=kube-system
#NodePort:       <unset> 30042/TCP
#http://MASTER:30042
kube dashboard expose access port
kubectl expose deployment kubernetes-dashboard -n kubernetes-dashboard --type=LoadBalancer --name=kdash --port=8001 --target-port=8443
kube dashboard expose access port
kubectl port-forward -n kubernetes-dashboard service/kubernetes-dashboard 10443:443 --address 0.0.0.0

#In your case the namespace is different so:
kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 --address 0.0.0.0
kube dashboard expose access port
#Using terminal app on my laptop did the following:

sudo ssh  -i “MYAMOZONHOSTKEYPAIR.pem" -L 8001:127.0.0.1:8001 ubuntu@MYAMAZONHOST
#MYAMAZONHOST is where I am running k3s.

#Upon SSH did the following:

sudo k3s kubectl proxy
#Then using the browser opened the url http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

#Kubernetes dashboard opened successfully.




Shell

Related
find bahs Code Example find bahs Code Example
sigin failed for rsa github signing Code Example sigin failed for rsa github signing Code Example
Not Found The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/7.3.27 Server at localhost Port 8 Code Example Not Found The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/7.3.27 Server at localhost Port 8 Code Example
Send email with Gitlab docker image Code Example Send email with Gitlab docker image Code Example
remove admin group ubuntu Code Example remove admin group ubuntu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8