Merge pull request #155 from dlorenc/nodeport
Make the dashboard service listen on a NodePort.pull/159/head
commit
fc5bc0c376
|
@ -39,6 +39,14 @@ Stopping local Kubernetes cluster...
|
|||
Stopping "minikubeVM"...
|
||||
```
|
||||
|
||||
### Dashboard
|
||||
|
||||
To access the dashboard, run this command in a shell after starting minikube to get the address:
|
||||
```shell
|
||||
echo $(minikube ip):$(kubectl get service kubernetes-dashboard --namespace=kube-system -o=jsonpath='{.spec.ports[0].nodePort}{"\n"}')
|
||||
```
|
||||
And then copy/paste that into your browser.
|
||||
|
||||
## Features
|
||||
* Minikube packages and configures a Linux VM, Docker and all Kubernetes components, optimized for local development.
|
||||
* Minikube supports Kubernetes features such as:
|
||||
|
|
|
@ -22,6 +22,7 @@ metadata:
|
|||
app: kubernetes-dashboard
|
||||
kubernetes.io/cluster-service: "true"
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 9090
|
||||
|
|
Loading…
Reference in New Issue