cockroachdb / cockroachdb/cockroach-operator

Cluster stateful set stuck when failed scheduling occurs

Open
#773 5 comments 0 reactions 1 assignee Claimed by @davidwding View on GitHub
Dominant language
Go
Stars
318
Forks
104
Avg merge
1d 6h
Merged PRs (30d)
1

Description

If there exists a cluster and the resource requests are scaled up resulting in failed scheduling, that cluster node will be stuck in a failed state, even in resource requests are reduced.

The flow looks like:

1. Scale up cluster nodes
2. Last node in stateful set will be updated
3. Node fails to schedule
4. Reduce the resource requests for the `CrdbCluster`
5. Stateful set is not updated to reflect new resource requests

The workaround is that the cluster admin or whoever with access must manually edit the stateful set to assign the updated requests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.