Skip to content

Commit df865da

Browse files
author
Paweł Szulik
committed
Upgrade cAdvisor version in k8s deployment.
Signed-off-by: Paweł Szulik <[email protected]>
1 parent 0173a0c commit df865da

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

deploy/kubernetes/base/daemonset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ spec:
1717
serviceAccountName: cadvisor
1818
containers:
1919
- name: cadvisor
20-
image: k8s.gcr.io/cadvisor:v0.30.2
20+
image: gcr.io/cadvisor/cadvisor:v0.39.0
2121
resources:
2222
requests:
23-
memory: 200Mi
24-
cpu: 150m
23+
memory: 1000Mi
24+
cpu: 500m
2525
limits:
2626
memory: 2000Mi
27-
cpu: 300m
27+
cpu: 1
2828
volumeMounts:
2929
- name: rootfs
3030
mountPath: /rootfs

deploy/kubernetes/overlays/examples_perf/configmap.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@ metadata:
66
data:
77
perf-non-hardware.json: |
88
{
9-
"events": [
10-
["context-switches"],
11-
["cpu-migrations-custom"]
12-
],
13-
"custom_events": [
14-
{
15-
"type": 1,
16-
"config": [
17-
"0x4"
18-
],
19-
"name": "cpu-migrations-custom"
20-
}
21-
]
9+
"core": {
10+
"events": [
11+
"context-switches",
12+
"cpu-migrations-custom"
13+
],
14+
"custom_events": [
15+
{
16+
"type": 1,
17+
"config": [
18+
"0x4"
19+
],
20+
"name": "cpu-migrations-custom"
21+
}
22+
]
23+
}
2224
}
25+

0 commit comments

Comments
 (0)