全棧工程師開發手冊 (作者:欒鵬)
架構系列文章
直接使用kubectl explain pod.spec
命令可以看到當前k8s支持的priority的屬性
我這邊的是1.15的k8s,可以看到的是
priority <integer>
The priority value. Various system components use this field to find the
priority of the pod. When Priority Admission Controller is enabled, it
prevents users from setting this field. The admission controller populates
this field from PriorityClassName. The higher the value, the higher the
priority.
priorityClassName <string>
If specified, indicates the pod's priority. "s