You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this way, statefulset will also create a ControllerRevision, and use the same label as the ControllerRevision created by kubevela, which will cause statefulset to fail during listRevision
This problem can be fixed by modifying the mathchLabel rules of the cue template, but I don't know if this is what kubevela expects
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As the follows codes in kubevela, I found that kubevela uses such label rules when generating controllerrevision:
"app.oam.dev/component": $(appName)
https://github.com/oam-dev/kubevela/blob/aa87d3da24a088dbd8aeb7c7e895e7843c512d3a/pkg/controller/core.oam.dev/v1alpha2/applicationconfiguration/component.go#L178-L197
When I create the statefulset resource, the cue template uses matchLabels like this:
In this way, statefulset will also create a ControllerRevision, and use the same label as the ControllerRevision created by kubevela, which will cause statefulset to fail during listRevision
This problem can be fixed by modifying the mathchLabel rules of the cue template, but I don't know if this is what kubevela expects
Beta Was this translation helpful? Give feedback.
All reactions