chehsunliu commented on PR #22:
URL: https://github.com/apache/ozone-helm-charts/pull/22#issuecomment-3567967622
Test the precedence with this command instead:
```bash
$ helm template charts/ozone \
--set "podAnnotations.sidecar\\.istio\\.io/proxyCPU=100m" \
--set "datanode.podAnnotations.sidecar\\.istio\\.io/proxyCPULimit=200m" \
--set "om.podAnnotations.sidecar\\.istio\\.io/proxyCPULimit=210m" \
--set "s3g.podAnnotations.sidecar\\.istio\\.io/proxyCPU=120m" \
--set "s3g.podAnnotations.sidecar\\.istio\\.io/proxyCPULimit=220m" \
--set "scm.podAnnotations.sidecar\\.istio\\.io/proxyCPU=130m" \
--set "scm.podAnnotations.sidecar\\.istio\\.io/proxyCPULimit=230m" \
> /tmp/ozone.v1.yaml
```
Output:
```diff
--- /tmp/ozone.v0.yaml 2025-11-23 17:43:24
+++ /tmp/ozone.v1.yaml 2025-11-23 21:31:24
@@ -234,16 +234,18 @@
matchLabels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: datanode
template:
metadata:
annotations:
checksum/config:
6d1d3f4f11b1bab096dd5d48cebba6471332987371961847c439d6a9cb229678
+ sidecar.istio.io/proxyCPU: 100m
+ sidecar.istio.io/proxyCPULimit: 200m
labels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: datanode
spec:
containers:
- name: datanode
image: "apache/ozone:2.0.0"
@@ -313,16 +315,18 @@
matchLabels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: om
template:
metadata:
annotations:
checksum/config:
6d1d3f4f11b1bab096dd5d48cebba6471332987371961847c439d6a9cb229678
+ sidecar.istio.io/proxyCPU: 100m
+ sidecar.istio.io/proxyCPULimit: 210m
labels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: om
spec:
containers:
- name: om
image: "apache/ozone:2.0.0"
@@ -398,16 +402,18 @@
matchLabels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: s3g
template:
metadata:
annotations:
checksum/config:
6d1d3f4f11b1bab096dd5d48cebba6471332987371961847c439d6a9cb229678
+ sidecar.istio.io/proxyCPU: 120m
+ sidecar.istio.io/proxyCPULimit: 220m
labels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: s3g
spec:
containers:
- name: s3g
image: "apache/ozone:2.0.0"
@@ -479,16 +485,18 @@
matchLabels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: scm
template:
metadata:
annotations:
checksum/config:
6d1d3f4f11b1bab096dd5d48cebba6471332987371961847c439d6a9cb229678
+ sidecar.istio.io/proxyCPU: 130m
+ sidecar.istio.io/proxyCPULimit: 230m
labels:
app.kubernetes.io/name: ozone
app.kubernetes.io/instance: release-name
app.kubernetes.io/component: scm
spec:
initContainers:
- name: init
image: "apache/ozone:2.0.0"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]