All Tools View Categories About Contact Privacy

PriorityClass YAML Generator

Build a valid Kubernetes PriorityClass (scheduling.k8s.io/v1) from a name, value and optional global default.

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.
-
value
-
globalDefault
Your generated PriorityClass YAML will appear here.

About PriorityClass YAML Generator

A PriorityClass assigns a numeric priority to pods so the scheduler can decide ordering and preemption. The PriorityClass YAML Generator writes that manifest from a form so you do not have to recall the scheduling.k8s.io/v1 schema.

You set the PriorityClass name and a numeric value (higher is more important). You can mark it as the global default, which applies to pods that do not set their own priority, and add a human-readable description. The resulting YAML is valid scheduling.k8s.io/v1.

The name is validated as an RFC 1123 label and the value is required and must be an integer. Problems are reported in a clear panel. Everything runs locally and nothing is uploaded.

Features

  • value - required integer; higher means higher priority.
  • globalDefault - optional true/false.
  • description - optional free text.
  • scheduling.k8s.io/v1 - correct schema.
  • Validation - RFC 1123 name and integer value.
  • Copy / Download / Print - get priorityclass.yaml wherever you need it.

How to Use

  1. Name the PriorityClass. Type a valid RFC 1123 name.
  2. Set the value. e.g. 1000000.
  3. Optionally globalDefault and description.
  4. Watch the preview and export.

Examples

Example 1 - high. name high-priority, value 1000000.

Example 2 - global default. globalDefault true.

Example 3 - low. value 100.

Example 4 - description. "for batch jobs".

Example 5 - named. name critical.

Benefits

  • Correct schema - valid scheduling.k8s.io/v1 PriorityClass.
  • Preemption ready - value, globalDefault and description.
  • Validated - names and value checked.
  • Clean output - empty fields omitted.
  • Private - everything runs in the browser.
  • Copy, download or print - get the manifest where you need it.

Frequently Asked Questions

What is a PriorityClass?
A PriorityClass maps a name to a numeric priority. Pods that reference it get scheduled (and evicted) according to that value. It is cluster-scoped.
What does value mean?
A higher value means higher priority. The system classes system-node-critical and system-cluster-critical use very high numbers.
What is globalDefault?
If true, this PriorityClass is used for pods that do not request a specific priority. Only one PriorityClass should be the global default.
Is the name validated?
Yes. The PriorityClass name must be a valid RFC 1123 label (lowercase letters, numbers and hyphens).
Does this connect to a cluster?
No. Everything is assembled in your browser and nothing is uploaded.
Can I download it?
Yes. Copy the YAML, download priorityclass.yaml, or print it.