-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K8SPS-204: don't depend on orchestrator for topology discovery #339
Conversation
b4a5330
to
cc640a9
Compare
e2320fe
to
a6e616a
Compare
|
first pod goes into
P.S.: During bootstrap pod is not ready, therefore |
commit: 3a8483b |
https://jira.percona.com/browse/K8SPS-204
DESCRIPTION
Problem:
We don't want to use an orchestrator for topology discovery, as it will be one point of failure.
Solution:
We should improve the
pkg/mysql/topology
package and use it instead of sending requests to the orchestrator.Changes:
build/haproxy_check_primary.sh
andbuild/haproxy_check_replicas.sh
. Addedcmd/haproxy-check/main.go
binary which will use the new topology packagecmd/bootstrap
will use the new topology packageTOPOLOGY_EXPERIMENTAL
env variable to the operator. Setting it totrue
will force the operator to discover the topology without the orchestratorself-healing-chaos
andgr-self-healing-chaos
testsCHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
Config/Logging/Testability