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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章