You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a WorloadSpread that patches .spec.priorityClassName for a deployment fails on the k8s api with:
Error creating: pods "*******-prod-app-79644979d8-" is forbidden: the integer value of priority (0) must not be provided in pod spec; priority admission controller computed 1000000000 from the given PriorityClass name
What you expected to happen:
The pods are distributed according to the WorkloadSpread
How to reproduce it (as minimally and precisely as possible):
I don't have a minimal example yet but I'll try to get it next week
Anything else we need to know?:
Not sure if it's relevant but I'm on GKE
Environment:
Kruise version: v1.6.3
Kubernetes version (use kubectl version): v1.28.7-gke.1026000
Install details (e.g. helm install args):
Others:
The text was updated successfully, but these errors were encountered:
@ludat the problem may be related to the order of multiple webhooks and admission plugins. Can you patch spec.priority along with with priorityClassName?
What happened:
Creating a WorloadSpread that patches
.spec.priorityClassName
for a deployment fails on the k8s api with:What you expected to happen:
The pods are distributed according to the WorkloadSpread
How to reproduce it (as minimally and precisely as possible):
I don't have a minimal example yet but I'll try to get it next week
Anything else we need to know?:
Not sure if it's relevant but I'm on GKE
Environment:
v1.6.3
kubectl version
):v1.28.7-gke.1026000
The text was updated successfully, but these errors were encountered: