WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[BUG] KARMADA情况下指定删除无法使用 #2245

@guhan121

Description

@guhan121

What happened:

  scaleStrategy:
    podsToDelete:
    - app-test-lt9ff

使用karamada管理两个集群,当app-test-lt9ff位于 a集群时,修改karmada集群上的配置进行缩容并且指定删除sample-9m4hp. 由于该pod不在B集群上会触发

admission webhook "vcloneset.kb.io" denied the request: spec.scaleStrategy.podsToDelete: Invalid value: "app-test-lt9ff": find pod app-test-lt9ff failed: Pod "app-test-lt9ff" not found

导致更新无法继续正常进行。

What you expected to happen:
可以正常指定删除,正常缩容

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions