You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: upgrade k8s-sidecar to v2.2.3 with health probes (#515)
* chore(deps): update quay.io/kiwigrid/k8s-sidecar docker tag to v2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: upgrade k8s-sidecar to v2.2.3 with health probes
- Update k8s-sidecar image from 1.30.5 to 2.2.3
- Add liveness and readiness probes using /healthz endpoint (v2 feature)
- Add sidecar.env.skip_init option for SKIP_INIT env var (v2.1.0+)
- Update Chart.yaml annotations to reflect new sidecar version
- Bump chart version to 0.39.0
- Fix YAML lint issue in values.yaml
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
| sidecar.image.registry | string |`"quay.io"`| The image registry to pull the sidecar from |
140
141
| sidecar.image.repository | string |`"kiwigrid/k8s-sidecar"`| The image repository to pull from |
141
-
| sidecar.image.tag | string |`"1.30.5"`| The image tag to pull, default: `1.28.4`|
142
+
| sidecar.image.tag | string |`"2.2.3"`| The image tag to pull, default: `1.28.4`|
143
+
| sidecar.livenessProbe | object |`{"httpGet":{"path":"/healthz","port":8080},"initialDelaySeconds":5,"periodSeconds":10}`| Liveness probe for the sidecar (k8s-sidecar v2+ exposes /healthz on port 8080) |
144
+
| sidecar.readinessProbe | object |`{"httpGet":{"path":"/healthz","port":8080},"initialDelaySeconds":5,"periodSeconds":10}`| Readiness probe for the sidecar (reports ready after initial sync completes) |
142
145
| sidecar.resources | object |`{}`| Resources for the sidecar |
143
146
| sidecar.securityContext | object |`{}`| Security context for the sidecar |
144
147
| sidecar.volumeMounts | list |`[]`| The extra volume mounts for the sidecar |
@@ -195,6 +198,17 @@ sidecar:
195
198
```
196
199
To install the node modules successfully, the node red pod needs access to the `npmrc.registry` to download the declaired modules/packages.
197
200
201
+
### Sidecar v2 Health Checks
202
+
203
+
Starting with k8s-sidecar v2.x, the sidecar exposes a `/healthz` endpoint on port 8080 for health monitoring. This chart configures liveness and readiness probes by default:
204
+
205
+
- **Readiness Probe**: Reports ready (HTTP 200) only after the initial synchronization completes
206
+
- **Liveness Probe**: Monitors Kubernetes API connectivity and watcher subprocess status
207
+
208
+
You can customize or disable these probes via `sidecar.livenessProbe` and `sidecar.readinessProbe` values.
209
+
210
+
The `sidecar.env.skip_init` option (v2.1.0+) allows skipping the initial request to the Node-RED API when using watch mode.
Copy file name to clipboardExpand all lines: charts/node-red/README.md.gotmpl
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,17 @@ sidecar:
113
113
```
114
114
To install the node modules successfully, the node red pod needs access to the `npmrc.registry` to download the declaired modules/packages.
115
115
116
+
### Sidecar v2 Health Checks
117
+
118
+
Starting with k8s-sidecar v2.x, the sidecar exposes a `/healthz` endpoint on port 8080 for health monitoring. This chart configures liveness and readiness probes by default:
119
+
120
+
- **Readiness Probe**: Reports ready (HTTP 200) only after the initial synchronization completes
121
+
- **Liveness Probe**: Monitors Kubernetes API connectivity and watcher subprocess status
122
+
123
+
You can customize or disable these probes via `sidecar.livenessProbe`and`sidecar.readinessProbe` values.
124
+
125
+
The `sidecar.env.skip_init` option (v2.1.0+) allows skipping the initial request to the Node-RED API when using watch mode.
0 commit comments