Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 776 Bytes

portianer-dashboards.md

File metadata and controls

25 lines (22 loc) · 776 Bytes

Portianer dashboards

Portainer

First create the Portainer namespace in your cluster

kubectl create namespace portainer

Using the following command, Portainer will run it

kubectl apply -n portainer -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer-lb.yaml

Check

kubectl get pod,service,deployment -n portainer 

Get Node port assigned to service

kubectl patch svc -n portainer portainer --type='json' -p '[{"op":"replace","path":"/spec/type","value":"NodePort"}]'

Get Node port assigned to service

kubectl -n portainer get services portainer -o go-template='{{(index .spec.ports 0).nodePort}}'