Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当我在openshift4中使用的时候event日志提示它无法创建replicasets,报错如下如何解决? #166

Open
fu7100 opened this issue Jul 21, 2023 · 1 comment

Comments

@fu7100
Copy link

fu7100 commented Jul 21, 2023

ns-gg 120m Warning ReplicaSetCreateError deployment/nginx-test Failed to create new replica set "nginx-test-5f4f446ddf": replicasets.apps "nginx-test-5f4f446ddf" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: ,

@pbxie
Copy link

pbxie commented Jul 24, 2023

修改ClusterRole kruise-rollout-manager-role,增加以下内容:

  • apiGroups:
    • apps
      resources:
    • deployments/finalizers
      verbs:
    • update
  • apiGroups:
    • apps
      resources:
    • replicasets/finalizers
      verbs:
    • update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants