Skip to content

Commit b139a27

Browse files
authored
chore: remove reference to min-ready (#2419)
1 parent b6ca9c5 commit b139a27

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

cmd/root.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,7 @@ Health checks
179179
- /readiness: Returns 200 status when the Proxy has started, has available
180180
connections if max connections have been set with the --max-connections
181181
flag, and when the Proxy can connect to all registered instances. Otherwise,
182-
returns a 503 status. Optionally supports a min-ready query param (e.g.,
183-
/readiness?min-ready=3) where the Proxy will return a 200 status if the
184-
Proxy can connect successfully to at least min-ready number of instances. If
185-
min-ready exceeds the number of registered instances, returns a 400.
182+
returns a 503 status.
186183
187184
- /liveness: Always returns 200 status. If this endpoint is not responding,
188185
the Proxy is in a bad state and should be restarted.

docs/cmd/cloud-sql-proxy.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ Health checks
9090
- /readiness: Returns 200 status when the Proxy has started, has available
9191
connections if max connections have been set with the --max-connections
9292
flag, and when the Proxy can connect to all registered instances. Otherwise,
93-
returns a 503 status. Optionally supports a min-ready query param (e.g.,
94-
/readiness?min-ready=3) where the Proxy will return a 200 status if the
95-
Proxy can connect successfully to at least min-ready number of instances. If
96-
min-ready exceeds the number of registered instances, returns a 400.
93+
returns a 503 status.
9794

9895
- /liveness: Always returns 200 status. If this endpoint is not responding,
9996
the Proxy is in a bad state and should be restarted.

examples/k8s-health-check/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ the proxy is in a bad state and should be restarted.
2424
- `/readiness`: Returns 200 status when the proxy has started, has available
2525
connections if max connections have been set with the `--max-connections`
2626
flag, and when the proxy can connect to all registered instances. Otherwise,
27-
returns a 503 status. Optionally supports a min-ready query param (e.g.,
28-
`/readiness?min-ready=3`) where the proxy will return a 200 status if the
29-
proxy can connect successfully to at least min-ready number of instances. If
30-
min-ready exceeds the number of registered instances, returns a 400.
27+
returns a 503 status.
3128

3229

3330
To configure the address, use `--http-address`. To configure the port, use

0 commit comments

Comments
 (0)