dashboard-controller.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This file should be kept in sync with cluster/gce/coreos/kube-manifests/addons/dashboard/dashboard-controller.yaml
  2. apiVersion: v1
  3. kind: ReplicationController
  4. metadata:
  5. name: kubernetes-dashboard-v1.1.1
  6. namespace: kube-system
  7. labels:
  8. k8s-app: kubernetes-dashboard
  9. version: v1.1.1
  10. kubernetes.io/cluster-service: "true"
  11. spec:
  12. replicas: 1
  13. selector:
  14. k8s-app: kubernetes-dashboard
  15. template:
  16. metadata:
  17. labels:
  18. k8s-app: kubernetes-dashboard
  19. version: v1.1.1
  20. kubernetes.io/cluster-service: "true"
  21. annotations:
  22. scheduler.alpha.kubernetes.io/critical-pod: ''
  23. scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
  24. spec:
  25. containers:
  26. - name: kubernetes-dashboard
  27. image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.1.1
  28. resources:
  29. # keep request = limit to keep this container in guaranteed class
  30. limits:
  31. cpu: 100m
  32. memory: 50Mi
  33. requests:
  34. cpu: 100m
  35. memory: 50Mi
  36. ports:
  37. - containerPort: 9090
  38. livenessProbe:
  39. httpGet:
  40. path: /
  41. port: 9090
  42. initialDelaySeconds: 30
  43. timeoutSeconds: 30