Powered by Zoomin Software. For more details please contactZoomin

MarkLogic® Server on Kubernetes

Assign pod priority

  • Last Updated: April 14, 2026
  • 1 minute read
    • MarkLogic Server
    • Documentation

Pod priority can be used to indicate the significance of a pod compared to other pods. Assigning priority to pods is important to ensure that high-priority pods are not preempted and can use required resources. For example, if a pod cannot be scheduled, the scheduler will attempt to free up resources by evicting lower-priority pods. When enough resources are available, the higher-priority pods can be scheduled.

Important:

To ensure the availability of the database, it is highly recommended that a PriorityClass object with the highest possible value is set for MarkLogic pods. For more details on pod priority and PriorityClass, see Pod Priority and Preemption.

To assign priority for pods:

  1. Add a PriorityClass. This example shows a PriorityClass with a value of 1 million:

    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: high-priority
    value: 1000000
    globalDefault: false
    description: "This high priority class should be used for MarkLogic pods only."
    
    
  2. For Helm Charts, set priorityClassName to one of the added PriorityClassNames through the values.yaml file or by using --set flag while installing the chart.

  3. For Operator, set priorityClassName to one of the added PriorityClassNames through the sample.yaml file.

TitleResults for “How to create a CRG?”Also Available inAlert