ceph-csi/vendor/k8s.io/kubernetes/cluster/addons/dashboard/dashboard-controller.yaml

70 lines
1.8 KiB
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
k8s-app: kubernetes-dashboard
addonmanager.kubernetes.io/mode: Reconcile
name: kubernetes-dashboard
namespace: kube-system
---
2018-03-06 22:33:18 +00:00
apiVersion: apps/v1
2018-01-09 18:57:14 +00:00
kind: Deployment
metadata:
name: kubernetes-dashboard
namespace: kube-system
labels:
k8s-app: kubernetes-dashboard
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector:
matchLabels:
k8s-app: kubernetes-dashboard
template:
metadata:
labels:
k8s-app: kubernetes-dashboard
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
2018-07-18 14:47:22 +00:00
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
2018-01-09 18:57:14 +00:00
spec:
2018-03-06 22:33:18 +00:00
priorityClassName: system-cluster-critical
2018-01-09 18:57:14 +00:00
containers:
- name: kubernetes-dashboard
2018-11-26 18:23:56 +00:00
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.0
2018-01-09 18:57:14 +00:00
resources:
limits:
cpu: 100m
memory: 300Mi
requests:
cpu: 50m
memory: 100Mi
ports:
- containerPort: 8443
protocol: TCP
args:
2018-07-18 14:47:22 +00:00
# PLATFORM-SPECIFIC ARGS HERE
2018-01-09 18:57:14 +00:00
- --auto-generate-certificates
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
- name: tmp-volume
mountPath: /tmp
livenessProbe:
httpGet:
scheme: HTTPS
path: /
port: 8443
initialDelaySeconds: 30
timeoutSeconds: 30
volumes:
- name: kubernetes-dashboard-certs
secret:
secretName: kubernetes-dashboard-certs
- name: tmp-volume
emptyDir: {}
serviceAccountName: kubernetes-dashboard
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"