提交 054916b8 编写于 作者: M Marcin Maciaszczyk 提交者: Piotr Bryk

Release v1.8.0 (#2516)

* Update API versions in YAML files

* Use apps/v1beta2 instead of apps/v1beta1

* Update version to 1.8.0

* Replace init container with --auto-generate-certificates flag
Remove watch access rule

* Update comments in YAML files

* Update landing page screenshot

* Update landing page screenshot

* Update kubernetes-dashboard-head.yaml
上级 7c26f88b
......@@ -59,7 +59,7 @@ const version = {
/**
* Current release version of the project.
*/
release: 'v1.7.1',
release: 'v1.8.0',
/**
* Version name of the head release of the project.
*/
......
docs/dashboard-ui.png

225.5 KB | W: | H:

docs/dashboard-ui.png

229.8 KB | W: | H:

docs/dashboard-ui.png
docs/dashboard-ui.png
docs/dashboard-ui.png
docs/dashboard-ui.png
  • 2-up
  • Swipe
  • Onion skin
{
"//-1-//": "Specification of this file can be found at: https://docs.npmjs.com/files/package.json",
"name": "kubernetes-dashboard",
"version": "1.7.1",
"version": "1.8.0",
"repository": {
"type": "git",
"url": "https://github.com/kubernetes/dashboard.git"
......
......@@ -14,7 +14,7 @@
# Configuration to deploy head version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -32,7 +32,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
......@@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
......
......@@ -14,7 +14,7 @@
# Configuration to deploy release version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -32,15 +32,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
......@@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
......@@ -94,7 +94,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
ports:
- containerPort: 9090
protocol: TCP
......
......@@ -14,7 +14,7 @@
# Configuration to deploy head version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -32,7 +32,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
......@@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
......
......@@ -14,7 +14,7 @@
# Configuration to deploy release version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -32,15 +32,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
......@@ -58,7 +58,7 @@ rules:
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -76,7 +76,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
......@@ -95,7 +95,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0
ports:
- containerPort: 9090
protocol: TCP
......
......@@ -43,7 +43,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal-head
namespace: kube-system
......@@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal-head
......@@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
......
......@@ -13,7 +13,7 @@
# limitations under the License.
# Configuration to deploy release version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -43,15 +43,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
......@@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
......@@ -103,21 +103,14 @@ spec:
labels:
k8s-app: kubernetes-dashboard
spec:
initContainers:
- name: kubernetes-dashboard-init
image: gcr.io/google_containers/kubernetes-dashboard-init-arm:v1.0.1
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
ports:
- containerPort: 8443
protocol: TCP
args:
- --tls-key-file=/certs/dashboard.key
- --tls-cert-file=/certs/dashboard.crt
- --auto-generate-certificates
# Uncomment the following line to manually specify Kubernetes API server Host
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
......@@ -125,7 +118,6 @@ spec:
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
readOnly: true
# Create on-disk volume to store exec logs
- mountPath: /tmp
name: tmp-volume
......
......@@ -24,7 +24,7 @@ kind: Secret
metadata:
labels:
k8s-app: kubernetes-dashboard-head
name: kubernetes-dashboard-certs-head
name: kubernetes-dashboard-certs
namespace: kube-system
type: Opaque
......@@ -43,7 +43,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal-head
namespace: kube-system
......@@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal-head
......@@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
......
......@@ -13,7 +13,7 @@
# limitations under the License.
# Configuration to deploy release version of the Dashboard UI compatible with
# Kubernetes 1.7.
# Kubernetes 1.8.
#
# Example usage: kubectl create -f <this_file>
......@@ -43,15 +43,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
......@@ -69,7 +69,7 @@ rules:
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
......@@ -87,7 +87,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
......@@ -104,21 +104,14 @@ spec:
labels:
k8s-app: kubernetes-dashboard
spec:
initContainers:
- name: kubernetes-dashboard-init
image: gcr.io/google_containers/kubernetes-dashboard-init-amd64:v1.0.1
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0
ports:
- containerPort: 8443
protocol: TCP
args:
- --tls-key-file=/certs/dashboard.key
- --tls-cert-file=/certs/dashboard.crt
- --auto-generate-certificates
# Uncomment the following line to manually specify Kubernetes API server Host
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
......@@ -126,7 +119,6 @@ spec:
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
readOnly: true
# Create on-disk volume to store exec logs
- mountPath: /tmp
name: tmp-volume
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册