Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/aws-vpc-cni/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ The following table lists the configurable parameters for this chart and their d
| `nodeAgent.enableIpv6` | Enable IPv6 support for Node Agent | `false` |
| `nodeAgent.resources` | Node Agent resources, will defualt to .Values.resources if not set | `{}` |
| `nodeAgent.logLevel` | Node Agent logging verbosity level. | `debug` |
| `nodeAgent.livenessProbe` | Liveness probe settings for Node Agent | (see `values.yaml`) |
| `nodeAgent.readinessProbe` | Readiness probe settings for Node Agent | (see `values.yaml`) |
| `extraVolumes` | Array to add extra volumes | `[]` |
| `extraVolumeMounts` | Array to add extra mount | `[]` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
Expand Down
6 changes: 6 additions & 0 deletions charts/aws-vpc-cni/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ spec:
ports:
- containerPort: {{ .Values.nodeAgent.metricsBindAddr}}
name: agentmetrics
- containerPort: {{ .Values.nodeAgent.healthProbeBindAddr }}
name: health
env:
- name: MY_NODE_NAME
valueFrom:
Expand All @@ -163,6 +165,10 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.nodeAgent.securityContext | nindent 12 }}
livenessProbe:
{{- toYaml .Values.nodeAgent.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.nodeAgent.readinessProbe | nindent 12 }}
volumeMounts:
- mountPath: /host/opt/cni/bin
name: cni-bin-dir
Expand Down
16 changes: 16 additions & 0 deletions charts/aws-vpc-cni/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ nodeAgent:
conntrackCacheTableSize: 524288
logLevel: "debug"
resources: {}
livenessProbe:
httpGet:
path: /healthz
port: health
initialDelaySeconds: 60
Comment thread
yash97 marked this conversation as resolved.
periodSeconds: 30
failureThreshold: 10
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /readyz
port: health
initialDelaySeconds: 1
periodSeconds: 10
failureThreshold: 3
timeoutSeconds: 10

image:
tag: v1.21.1
Expand Down
Loading