Skip to content

Commit

Permalink
Prepare for v2.0.0 release (#5085)
Browse files Browse the repository at this point in the history
* Prepare for v2.0.0 release

* Fix logs breadcrumb

* Fix tooltip text formatting for workload statuses

* Add lock to settings load to avoid concurrent change

Co-authored-by: Sebastian Florek <sebastian.florek@loodse.com>
  • Loading branch information
Marcin Maciaszczyk and Sebastian Florek committed Apr 21, 2020
1 parent 7edd6b4 commit 1f66b1c
Show file tree
Hide file tree
Showing 22 changed files with 266 additions and 216 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters.
To deploy Dashboard, execute following command:

```sh
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/recommended.yaml
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
```

To access Dashboard from your local workstation you must create a secure channel to your Kubernetes cluster. Run the following command:
Expand Down
2 changes: 1 addition & 1 deletion aio/deploy/alternative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.0.0-rc7
image: kubernetesui/dashboard:v2.0.0
ports:
- containerPort: 9090
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion aio/deploy/alternative/06_dashboard-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.0.0-rc7
image: kubernetesui/dashboard:v2.0.0
ports:
- containerPort: 9090
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion aio/deploy/recommended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.0.0-rc7
image: kubernetesui/dashboard:v2.0.0
imagePullPolicy: Always
ports:
- containerPort: 8443
Expand Down
2 changes: 1 addition & 1 deletion aio/deploy/recommended/06_dashboard-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.0.0-rc7
image: kubernetesui/dashboard:v2.0.0
imagePullPolicy: Always
ports:
- containerPort: 8443
Expand Down
2 changes: 1 addition & 1 deletion aio/gulp/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const version = {
/**
* Current release version of the project.
*/
release: 'v2.0.0-rc7',
release: 'v2.0.0',
/**
* Version name of the head release of the project.
*/
Expand Down
6 changes: 3 additions & 3 deletions docs/user/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kubectl create secret generic kubernetes-dashboard-certs --from-file=$HOME/certs
For Dashboard to pickup the certificates, you must pass arguments `--tls-cert-file=/tls.crt` and `--tls-key-file=/tls.key` to the container. You can edit YAML definition and deploy Dashboard in one go:

```
kubectl create --edit -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/recommended.yaml
kubectl create --edit -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
```

Under Deployment section, add arguments to pod definition, it should look as follows:
Expand All @@ -42,7 +42,7 @@ This setup is not fully secure. Certificates are not used and Dashboard is expos
To deploy Dashboard execute following command:

```
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/alternative.yaml
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/alternative.yaml
```


Expand All @@ -55,7 +55,7 @@ Besides official releases, there are also development releases, that are pushed
In most of the use cases you need to execute the following command to deploy latest development release:

```
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/head.yaml
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/head.yaml
```

### Update
Expand Down
16 changes: 8 additions & 8 deletions i18n/de/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
<target>Cron Jobs</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">33</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/cronjob/template.html</context>
Expand All @@ -305,7 +305,7 @@
<target>Daemon Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">56</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/daemonset/template.html</context>
Expand All @@ -317,7 +317,7 @@
<target>Deployments</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">59</context>
<context context-type="linenumber">74</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/deployment/template.html</context>
Expand All @@ -329,7 +329,7 @@
<target>Jobs</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">72</context>
<context context-type="linenumber">92</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/job/template.html</context>
Expand All @@ -341,7 +341,7 @@
<target>Pods</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">86</context>
<context context-type="linenumber">111</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/creator/template.html</context>
Expand Down Expand Up @@ -403,7 +403,7 @@
<target>Replica Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">99</context>
<context context-type="linenumber">129</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/replicaset/template.html</context>
Expand All @@ -415,15 +415,15 @@
<target>Replication Controllers</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">112</context>
<context context-type="linenumber">147</context>
</context-group>
</trans-unit>
<trans-unit id="0756fdca226249dcff9d05651d50b7acdade2aba" datatype="html">
<source>Stateful Sets</source>
<target>Stateful Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">125</context>
<context context-type="linenumber">165</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/statefulset/template.html</context>
Expand Down
16 changes: 8 additions & 8 deletions i18n/fr/messages.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<target>Cron Jobs</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">33</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/cronjob/template.html</context>
Expand All @@ -309,7 +309,7 @@
<target>Daemon Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">56</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/daemonset/template.html</context>
Expand All @@ -321,7 +321,7 @@
<target>Déploiements</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">59</context>
<context context-type="linenumber">74</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/deployment/template.html</context>
Expand All @@ -333,7 +333,7 @@
<target>Jobs</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">72</context>
<context context-type="linenumber">92</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/job/template.html</context>
Expand All @@ -345,7 +345,7 @@
<target>Pods</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">86</context>
<context context-type="linenumber">111</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/creator/template.html</context>
Expand Down Expand Up @@ -407,7 +407,7 @@
<target>Replica Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">99</context>
<context context-type="linenumber">129</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/replicaset/template.html</context>
Expand All @@ -419,15 +419,15 @@
<target>Contrôleurs de réplication</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">112</context>
<context context-type="linenumber">147</context>
</context-group>
</trans-unit>
<trans-unit id="0756fdca226249dcff9d05651d50b7acdade2aba" datatype="html">
<source>Stateful Sets</source>
<target>Stateful Sets</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">125</context>
<context context-type="linenumber">165</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/statefulset/template.html</context>
Expand Down
16 changes: 8 additions & 8 deletions i18n/ja/messages.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
<target>Cron ジョブ</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">33</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/cronjob/template.html</context>
Expand Down Expand Up @@ -1371,7 +1371,7 @@
<target>ポッド</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">86</context>
<context context-type="linenumber">111</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/creator/template.html</context>
Expand Down Expand Up @@ -1556,7 +1556,7 @@
<target>デーモンセット</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">56</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/daemonset/template.html</context>
Expand All @@ -1568,7 +1568,7 @@
<target>デプロイメント</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">59</context>
<context context-type="linenumber">74</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/deployment/template.html</context>
Expand Down Expand Up @@ -1732,7 +1732,7 @@
<target>ジョブ</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">72</context>
<context context-type="linenumber">92</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/job/template.html</context>
Expand Down Expand Up @@ -2222,7 +2222,7 @@
<target>レプリカセット</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">99</context>
<context context-type="linenumber">129</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/replicaset/template.html</context>
Expand Down Expand Up @@ -2270,7 +2270,7 @@
<target>ステートフルセット</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">125</context>
<context context-type="linenumber">165</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/statefulset/template.html</context>
Expand Down Expand Up @@ -4119,7 +4119,7 @@
<target>レプリケーションコントローラー</target>
<context-group purpose="location">
<context context-type="sourcefile">../src/app/frontend/common/components/workloadstatus/template.html</context>
<context context-type="linenumber">112</context>
<context context-type="linenumber">147</context>
</context-group>
</trans-unit>
<trans-unit id="8a3abe0df530103020a480befe1757e3b1776e7b" datatype="html">
Expand Down

0 comments on commit 1f66b1c

Please sign in to comment.