Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | --- |
2 | apiVersion: v1 | ||||
3 | kind: ServiceAccount | ||||
4 | metadata: | ||||
5 | name: metrics-server | ||||
6 | namespace: kube-system | ||||
7 | --- | ||||
8 | apiVersion: extensions/v1beta1 | ||||
9 | kind: Deployment | ||||
10 | metadata: | ||||
11 | name: metrics-server | ||||
12 | namespace: kube-system | ||||
13 | labels: | ||||
14 | k8s-app: metrics-server | ||||
15 | spec: | ||||
16 | selector: | ||||
17 | matchLabels: | ||||
18 | k8s-app: metrics-server | ||||
19 | template: | ||||
20 | metadata: | ||||
21 | name: metrics-server | ||||
22 | labels: | ||||
23 | k8s-app: metrics-server | ||||
24 | spec: | ||||
25 | serviceAccountName: metrics-server | ||||
26 | containers: | ||||
27 | - name: metrics-server | ||||
28 | image: gcr.io/google_containers/metrics-server-amd64:v0.1.0 | ||||
29 | imagePullPolicy: Always | ||||
30 | command: | ||||
31 | - /metrics-server | ||||
32 | - --source=kubernetes.summary_api:'' |