-
- Downloads
Replace the statefulset if it cannot be updated. (#18)
Updates to statefulset spec for fields other than 'replicas' and containers' are forbidden. However, it is possible to delete the old statefulset without deleting its pods and create the new one, using the changed specs. The new statefulset shall pick up the orphaned pods. Change the statefulset's comparison to return the combined effect of all checks, not just the first non-matching field.
Showing
- pkg/cluster/cluster.go 69 additions, 14 deletionspkg/cluster/cluster.go
- pkg/cluster/k8sres.go 14 additions, 3 deletionspkg/cluster/k8sres.go
- pkg/cluster/resources.go 50 additions, 0 deletionspkg/cluster/resources.go
- pkg/cluster/sync.go 11 additions, 4 deletionspkg/cluster/sync.go
- pkg/util/constants/constants.go 31 additions, 26 deletionspkg/util/constants/constants.go
Loading
Please register or sign in to comment