Skip to content

Commit

Permalink
Exclude etcd readiness checks from /readyz to ignore temporary etcd h…
Browse files Browse the repository at this point in the history
…iccups

Explicitly exclude etcd and etcd-readiness checks (OCPBUGS-48177)
and have etcd operator take responsibility for properly reporting etcd readiness.
Justification: kube-apiserver instances get removed from a load balancer when etcd starts
to report not ready (as will KA's /readyz). Client connections can withstand etcd unreadiness
longer than the readiness timeout is. Thus, it is not necessary to drop connections
in case etcd resumes its readiness before a client connection times out naturally.
  • Loading branch information
ingvagabund committed Jan 20, 2025
1 parent b2ba1ca commit d891c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindata/v3.11.0/openshift-apiserver/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ spec:
httpGet:
scheme: HTTPS
port: 8443
path: readyz
path: readyz?exclude=etcd&exclude=etcd-readiness
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 10
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/v311_00_assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d891c44

Please sign in to comment.