Have a Warning Icon on a StatefulSet if the Pods can't be created #4205
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
What would you like to be added
Have a warning icon instead of the green circle check for
StatefulSets
if the Pods cannot be created.For example, if I create a
StatefulSet
with a non existentServiceAccount
, then theStatefulSet
controller will not be able to create the Pod to the API Server. The problem is that theStatefulSet
's Status doesn't reflect that error and only showsreplicas: 0
. But, we can get this info by looking at the StatefulSet'sEvents
.Why is this needed
If the StatefulSet controller can't create the Pods, then the UI will show a green check which implies that the STS is OK.
Althought, on the card it shows that there are 0/1 Pods available and I can see what is wrong if I click on the STS and see its Events. But I think it would be useful if the icon would be a warning to indicate that something is wrong.
Comments
You can check this behavior by creating this StatefulSet
The text was updated successfully, but these errors were encountered: