instaclustr / operator

Instaclustr Kubernetes Operator
Apache License 2.0
2 stars 0 forks source link

Avoid duplicate cluster creation #711

Closed ribaraka closed 6 months ago

ribaraka commented 7 months ago

Minimize the risk of failure scenarios during cluster creation by implementing safeguards. Specifically, focus on situations where a create API is initiated but faces unexpected shutdown or errors in the k8s operator. This vulnerability can trigger an undesirable loop, resulting in the repeated execution of the create API request and the potential creation of numerous clusters. I recommend using the API call to list all clusters in the account and verifying that the current cluster name doesn't already exist on the console