Closed f0rmiga closed 3 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/175135568
The labels on this github issue will be updated when the story is started.
@viovanov couldn't reproduce this. Maybe it was fixed by another bug fix.
Reopening as this was not fixed. Ping @mook-as as he's also seeing the same behaviour.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/175194087
The labels on this github issue will be updated when the story is started.
Describe the bug
KubeCF recently changed the backing storage for the Diego ephemeral data from PVCs to emptyDir, which uses the nodes' local storage. Practically, when we do an upgrade, the controller should get rid of the
spec.volumeClaimTemplates
of the statefulset.There are other implications in KubeCF while doing this, as I understand, the statefulset needs to be recreated, ultimately causing app downtime. This is not a concern of quarks-operator as it stands.
To Reproduce
Switch from PVC-backed ephemeral storage to the emptyDir-backed one, check that the pod respects the statefulset, which disrespects the quarks-statefulset.
Expected behavior
Even if it's not desirable (in the Diego cell's case - causing app downtime), it should do what the spec says.
Environment
quarks-operator version 6.1.8+0.g2821133a.