-
Notifications
You must be signed in to change notification settings - Fork 884
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
在使用k8s的配额能力的时候,创建vcjob时配额不足不会重试排队,会直接Terminated #3456
Comments
hi! Do you have any relevant examples? Or yaml file? |
You should check who deleted the vcjob first: ) |
是参考这个进行的资源配额使用,发现的问题。https://kubernetes.io/zh-cn/docs/concepts/policy/resource-quotas/ |
yeah, you mean the vcjob will be deleted? |
不是deleted,超出配额不会重试排队,会直接Terminated |
You can not use k8s's resource quota at the same time, it will reject pod creating. |
在使用k8s的配额能力的时候,创建vcjob时配额不足不会重试排队,会直接Terminated
期待效果是重试,等配额满足时调度
报错信息:Failed to create pod job-lhjob4-20240508150346338940-task-0 for Job job-lhjob4-20240508150346338940, err &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"pods "job-lhjob4-20240508150346338940-task-0" is forbidden: exceeded quota: naie-resource-job-quota, requested: requests.huawei.com/Ascend910=1, used: requests.huawei.com/Ascend910=1, limited: requests.huawei.com/Ascend910=1", Reason:"Forbidden", Details:(*v1.StatusDetails)(0x400057cde0), Code:403}}
The text was updated successfully, but these errors were encountered: