karmada icon indicating copy to clipboard operation
karmada copied to clipboard

Propagate resource to member cluster failed.

Open CharlesQQ opened this issue 1 year ago • 6 comments

What happened:

deployment already exist in member cluster; pp's spec.conflictResolution=Overwrite, but found deployment not propagated successfully image

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 version or karmadactl version):
  • Others:

CharlesQQ avatar May 29 '24 09:05 CharlesQQ

/close

CharlesQQ avatar May 29 '24 09:05 CharlesQQ

@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.

karmada-bot avatar May 29 '24 09:05 karmada-bot

/reopen

CharlesQQ avatar May 29 '24 12:05 CharlesQQ

@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.

karmada-bot avatar May 29 '24 12:05 karmada-bot

Ask to feature owner @chaosi-zju to help take a look. cc @chaosi-zju

XiShanYongYe-Chang avatar May 30 '24 03:05 XiShanYongYe-Chang

@CharlesQQ hello, can you describe the steps about how to produce it?

the work.karmada.io/conflict-resolution strategy value is empty

by the way, can you check whether the corresponding binding and work has the work.karmada.io/conflict-resolution label?

chaosi-zju avatar May 31 '24 07:05 chaosi-zju