Skip to content

Commit b950484

Browse files
committed
Merge pull request #555 from bryk/release-install
Update docs after 1.0 release
2 parents f4090b8 + 8d249ec commit b950484

File tree

4 files changed

+106
-6
lines changed

4 files changed

+106
-6
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,30 @@ Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters.
77
manage applications running in the cluster and troubleshoot them, as well as manage the cluster
88
itself.
99

10-
## Users questionnaire
10+
## Users questionnaire
1111
Fill out the form to prioritize our work and help us make the UI better: http://goo.gl/forms/DloIYjsJBr
1212

1313
## Usage
1414

15-
The Dashboard is currently under active development and is not ready for production use (yet!). To run the latest _unstable_ version execute the following command:
15+
It is likely that Dashboard is already installed on your cluster. To access it navigate in your
16+
browser to one of the following URLs: `https://<kubernetes-master>/ui` which redirects to
17+
`https://<kubernetes-master>/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard`.
1618

17-
`kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard-canary.yaml`
19+
If you find that you’re not able to access the Dashboard you can install and open the latest
20+
stable release by running the following commands:
21+
```bash
22+
kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml
23+
kubectl proxy --port=8080
24+
```
25+
And then navigate to `http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard`
1826

1927
## Documentation
2028

21-
* The [Design overview](docs/design/README.md) describes design concepts of Dashboard
29+
* The [user guide](http://kubernetes.io/docs/user-guide/ui/) is an entry point for users of Dashboard
2230

23-
* The [Developer guide](docs/devel/README.md) is for anyone wanting to contribute to Dashboard
31+
* The [design overview](docs/design/README.md) describes design concepts of Dashboard
32+
33+
* The [developer guide](docs/devel/README.md) is for anyone wanting to contribute to Dashboard
2434

2535

2636
## License

docs/devel/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ the steps below.
99

1010
1. Send a pull request that increases Kubernetes Dashboard version number in `build/conf.js`.
1111
The property name is `deploy.version.release`. Follow versioning guidelines.
12-
Keep `package.json` version in sync.
12+
Keep `package.json` and `src/deploy/kubernetes-dashboard.yaml` versions in sync.
1313
1. Get the pull request reviewed and merged.
1414
1. Create a git [release tag](https://github.com/kubernetes/dashboard/releases/) for the merged
1515
pull request. Release description should include changelog.

src/deploy/kubernetes-dashboard-canary.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Copyright 2015 Google Inc. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# Configuration to deploy canary version of the Dashboard UI.
16+
#
17+
# Example usage: kubectl create -f <this_file>
18+
119
kind: List
220
apiVersion: v1
321
items:
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Copyright 2015 Google Inc. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# Configuration to deploy release version of the Dashboard UI.
16+
#
17+
# Example usage: kubectl create -f <this_file>
18+
19+
kind: List
20+
apiVersion: v1
21+
items:
22+
- kind: ReplicationController
23+
apiVersion: v1
24+
metadata:
25+
labels:
26+
app: kubernetes-dashboard-canary
27+
version: canary
28+
name: kubernetes-dashboard-canary
29+
namespace: kube-system
30+
spec:
31+
replicas: 1
32+
selector:
33+
app: kubernetes-dashboard-canary
34+
version: canary
35+
template:
36+
metadata:
37+
labels:
38+
app: kubernetes-dashboard-canary
39+
version: canary
40+
spec:
41+
containers:
42+
- name: kubernetes-dashboard-canary
43+
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.0.0
44+
imagePullPolicy: Always
45+
ports:
46+
- containerPort: 9090
47+
protocol: TCP
48+
args:
49+
# Uncomment the following line to manually specify Kubernetes API server Host
50+
# If not specified, Dashboard will attempt to auto discover the API server and connect
51+
# to it. Uncomment only if the default does not work.
52+
# - --apiserver-host=http://my-address:port
53+
livenessProbe:
54+
httpGet:
55+
path: /
56+
port: 9090
57+
initialDelaySeconds: 30
58+
timeoutSeconds: 30
59+
- kind: Service
60+
apiVersion: v1
61+
metadata:
62+
labels:
63+
app: kubernetes-dashboard-canary
64+
name: dashboard-canary
65+
namespace: kube-system
66+
spec:
67+
type: NodePort
68+
ports:
69+
- port: 80
70+
targetPort: 9090
71+
selector:
72+
app: kubernetes-dashboard-canary

0 commit comments

Comments
 (0)