Skip to content

创建一个错误配置的PropagationPolicy后删除不了的问题 #6913

@Ryan-Kevin

Description

@Ryan-Kevin

错误配置如下:

Name:         test3-ingress-policy
Namespace:    default
Labels:       propagationpolicy.karmada.io/permanent-id=ca07bae5-21b5-4526-a8f8-aa0e620e15db
Annotations:  <none>
API Version:  policy.karmada.io/v1alpha1
Kind:         PropagationPolicy
Metadata:
  Creation Timestamp:             2025-11-07T01:17:36Z
  Deletion Grace Period Seconds:  0
  Deletion Timestamp:             2025-11-07T01:18:41Z
  Finalizers:
    karmada.io/propagation-policy-controller
  Generation:  2
  Managed Fields:
    API Version:  policy.karmada.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:spec:
        .:
        f:conflictResolution:
        f:placement:
          .:
          f:clusterAffinity:
            .:
            f:clusterNames:
        f:preemption:
        f:priority:
        f:resourceSelectors:
        f:schedulerName:
    Manager:         ___go_build_karmada_demo.exe
    Operation:       Update
    Time:            2025-11-07T01:17:36Z
  Resource Version:  2556268
  UID:               1ed6b83c-0d0a-40a7-a867-774e8fbac63d
Spec:
  Conflict Resolution:  Abort
  Placement:
    Cluster Affinity:
      Cluster Names:
        sk224
  Preemption:  Never
  Priority:    0
  Resource Selectors:
    API Version:   v1
    Kind:          Ingress
    Name:          test3-ingress
    Namespace:     default
  Scheduler Name:  default-scheduler
Events:            <none>

具体错误在于分发资源配置的version和kind,删除时控制台卡住。

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionIndicates an issue that is a support question.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions