Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry Temporary API Failures in Microcluster (#992)
When bootstrapping or starting a cluster, we wait for the k8sd server to be fully ready before interacting with it. However, there are edge cases—such as during a snap refresh—where the snap attempts to interact with the CLI (e.g., to configure snap settings) while the database is still initializing. In these scenarios, immediate failure is unnecessary. The k8sd client now retries such requests, ensuring smoother operation. This behavior applies only to specific edge cases where it is known that the microcluster database will eventually become available.
- Loading branch information