File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,18 @@ You can bundle the statically compiled `grpc_health_probe` in your container
80
80
image. Choose a [ binary release] [ rel ] and download it in your Dockerfile:
81
81
82
82
``` bash
83
- RUN GRPC_HEALTH_PROBE_VERSION=v0.4.13 && \
84
- wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION} /grpc_health_probe-linux-amd64 && \
83
+ ARG TARGETOS TARGETARCH
84
+ RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \
85
+ wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION} /grpc_health_probe-${TARGETOS} -${TARGETARCH} && \
85
86
chmod +x /bin/grpc_health_probe
86
87
```
87
88
89
+ or via release image:
90
+
91
+ ``` dockerfile
92
+ COPY --from=ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.38 /ko-app/grpc-health-probe /bin/grpc_health_probe
93
+ ```
94
+
88
95
In your Kubernetes Pod specification manifest, specify a ` livenessProbe ` and/or
89
96
` readinessProbe ` for the container:
90
97
You can’t perform that action at this time.
0 commit comments