Change:
Is this a BUG REPORT or FEATURE REQUEST?: /kind bug What happened: According to the two changes are required to enable it: Add to apiserver and scheduler. Add to apiserver. So I modified the apiserver manifest: And the scheduler manifest: confirms that both are running with the required changes. However, I cannot create PodPriorities by following the example in the documentation: also doesn't think the API is enabled: The only relevant message in the apiserver log is: What you expected to happen: I expected to be able to create podpriority resources by following the example in the documentation. How to reproduce it (as minimally and precisely as possible): See description. Anything else we need to know?: Environment: Kubernetes version (use ):Cloud provider or hardware configuration**: GCE OS (e.g. from /etc/os-release): CentOS Linux 7.4 (1708) Kernel (e.g. ): Linux master-head-1 4.13.4- SMP Wed Sep 27 13:32:23 EDT 2017 x8664 x8664 x8664 GNU/Linux Install tools: Custom scripts Others:
/sig scheduling
The example yaml of priorityclass is wrong, the right version is
please try the recommendation from and close this issue?
unfortunately that version change to the YAML does not fix the problem for me either: To me it looks like the error message points me to where I don't see defined?
Yes, you are right, I have commit a pr to fix this.
Not sure but after using the updated config I am able to create Priority Class successfully but unable to use the feature while creating POD. Here are the errors observed Getting following error while creating pod: The PodPriority is enabled in both API server and Scheduler
I'm able to create PriorityClass and schedule pod with specified PriorityClass on Minikube 0.26.0. ` !
This issue was sorted - on kubeadm production setup, this flag needs to be enabled for kubelet as well - updated doc
I've created the PriorityClass and deployed the pod with the specified PriorityClass. The pod is getting created. I'm wondering is there any way to check the PriorityClass of the pod either in UI or CLI? The steps you've shown is giving me the same result. Can you please help me ? Thanks in advance.

Discussion:
SystemUUID string `json:"systemUUID"` // BootID is the boot-id reported by the node BootID string `json:"bootID"` <ins> // Kernel version reported by the node KernelVersion string `json:"kernelVersion""` // OS image used reported by the node OsImage string `json:"osImage"` // Container runtime version reported by the node ContainerRuntimeVersion string `json:"containerRuntimeVersion"` // Kubelet version reported by the node KubeletVersion string `json:"kubeletVersion"` // Kube-proxy version reported by the node KubeProxyVersion string `json:"kubeProxyVersion"` </ins> } // NodeStatus is information about the current status of a node.

SystemUUID string `json:"systemUUID" description:"system uuid is the system-uuid reported by the node"` // BootID is the boot-id reported by the node BootID string `json:"bootID" description:"boot id is the boot-id reported by the node"` <ins> // Kernel version reported by the node KernelVersion string `json:"kernelVersion" description:"Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)"` // OS image used reported by the node OsImage string `json:"osImage" description:"OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))"` // Container runtime version reported by the node ContainerRuntimeVersion string `json:"containerRuntimeVersion" description:"Container runtime version reported by the node through runtime remote API (e.g. docker://1.5.0)"` // Kubelet version reported by the node KubeletVersion string `json:"kubeletVersion" description:"Kubelet version reported by the node"` // Kube-proxy version reported by the node KubeProxyVersion string `json:"KubeProxyVersion" description:"Kube-proxy version reported by the node"` </ins> } // NodeStatus is information about the current status of a node.

SystemUUID string `json:"systemUUID"` // BootID is the boot-id reported by the node BootID string `json:"bootID" description:"boot id is the boot-id reported by the node"` <ins> // Kernel version reported by the node KernelVersion string `json:"kernelVersion" description:"Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)"` // OS image used reported by the node OsImage string `json:"osImage" description:"OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))"` // Container runtime version reported by the node ContainerRuntimeVersion string `json:"containerRuntimeVersion" description:"Container runtime version reported by the node through runtime remote API (e.g. docker://1.5.0)"` // Kubelet version reported by the node KubeletVersion string `json:"kubeletVersion" description:"Kubelet version reported by the node"` // Kube-proxy version reported by the node KubeProxyVersion string `json:"KubeProxyVersion" description:"Kube-proxy version reported by the node"` </ins> } // NodeStatus is information about the current status of a node.