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