Propagate resource to member cluster failed.
What happened:
deployment already exist in member cluster; pp's spec.conflictResolution=Overwrite, but found deployment not propagated successfully
work object has message: message: 'Failed to apply all manifests (0/1): resource(kind=Deployment, default/xxx) already exists in the cluster cluster1 and the work.karmada.io/conflict-resolution strategy value is empty, Karmada will not manage this resource'
If I delete deployement in member cluster, workload propagate succeed
What you expected to happen:
deployment Propagate succeed How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: V1.29
- Karmada version: V1.9.0
- kubectl-karmada or karmadactl version (the result of
kubectl-karmada versionorkarmadactl version): - Others:
/close
@CharlesQQ: Closing this issue.
In response to this:
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/reopen
@CharlesQQ: Reopened this issue.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Ask to feature owner @chaosi-zju to help take a look. cc @chaosi-zju
@CharlesQQ hello, can you describe the steps about how to produce it?
the
work.karmada.io/conflict-resolutionstrategy value is empty
by the way, can you check whether the corresponding binding and work has the work.karmada.io/conflict-resolution label?