Clarify the meaning of the CRDs .status.conditions
Can you please clarify the meaning of the CRDs .status.conditions?
That would be especially useful for a newbie like me :-)
For example, at https://github.com/piraeusdatastore/piraeus-operator/blob/v2.5.0/docs/reference/linstorcluster.md#statusconditions, its not clear how to wait for a condition that means "How do I wait until the LinstorCluster is ready to use (i.e. I can create a persistent volume from it)?"
For me, its not clear whether these conditions are related, whether they progress (e.g. Configured -> Available > Applied), or if they can be set at the same time, IOW, maybe have some kind of state machine diagram?
It would also help to include an example on how to wait for a condition to be meet? For example:
kubectl wait LinstorCluster/linstorcluster --timeout=5m --for=condition=Applied
I guess the best way to wait for "everything" to be done is:
kubectl wait LinstorCluster/linstorcluster --timeout=5m --for=condition=Configured
kubectl wait LinstorSatellite --all --timeout=5m --for=condition=Configured