This is aligned with the Helm best practices when users can inject optional snippets into template. E.g exporter sidecar suits this use case. Change-Id: I5e0f7784f740a16314382d63717f1b749ef7903a Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
39 lines
899 B
YAML
39 lines
899 B
YAML
---
|
|
openvswitch:
|
|
extraContainers:
|
|
- name: ovs-exporter
|
|
image: ghcr.io/saeed-mcu/ovs_exporter/openvswitch_exporter:v2.3.2
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- name: metrics
|
|
containerPort: 9475
|
|
protocol: TCP
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: 9475
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 60
|
|
timeoutSeconds: 5
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: 9475
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
timeoutSeconds: 5
|
|
securityContext:
|
|
readOnlyRootFilesystem: true
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
volumeMounts:
|
|
- name: run
|
|
mountPath: /run
|
|
readOnly: true
|
|
...
|