amila77kashyapa commented on issue #7326: URL: https://github.com/apache/incubator-devlake/issues/7326#issuecomment-2075593498
Hi @ZhangNing10 When I delete UI deployment then it giving below error. "Error: UPGRADE FAILED: cannot patch "devlake-lake" with kind Deployment: Deployment.apps "devlake-lake" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake", "app.kubernetes.io/name":"devlake", "devlakeComponent":"lake"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps "devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden" with deleting both UI and devlake-lake deployment it give below error. But also it creates new deployments "UI and devlake-lake" with the new version "1.0.0-beta4" and after running DB migration via UI, devlake is working with new version. "Error: UPGRADE FAILED: cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps "devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org