k8s优先级priority的使用

全栈工程师开发手册 (作者:栾鹏)
架构系列文章

直接使用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

你可能感兴趣的:(云原生/微服务架构/运维,系列课程,快速学习实战应用)