Merge pull request #155 from dlorenc/nodeport

Make the dashboard service listen on a NodePort.
pull/159/head
Lucas Käldström 2016-06-03 15:42:45 +03:00
commit fc5bc0c376
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -22,6 +22,7 @@ metadata:
app: kubernetes-dashboard
kubernetes.io/cluster-service: "true"
spec:
type: NodePort
ports:
- port: 80
targetPort: 9090