This is an automated email from the ASF dual-hosted git repository.

AlinsRan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new ee41237  feat: add priorityClassName support for 
apisix-ingress-controller (#957)
ee41237 is described below

commit ee41237b4ff833e36f2c88508b534673bd074766
Author: Dimitris Pagidas <[email protected]>
AuthorDate: Mon Oct 26 07:40:16 2026 +0200

    feat: add priorityClassName support for apisix-ingress-controller (#957)
---
 charts/apisix-ingress-controller/README.md                 | 1 +
 charts/apisix-ingress-controller/templates/deployment.yaml | 3 +++
 charts/apisix-ingress-controller/values.yaml               | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/charts/apisix-ingress-controller/README.md 
b/charts/apisix-ingress-controller/README.md
index 4fa6d39..2a71f8f 100644
--- a/charts/apisix-ingress-controller/README.md
+++ b/charts/apisix-ingress-controller/README.md
@@ -140,6 +140,7 @@ The same for container level, you need to set:
 | deployment.nodeSelector | object | `{}` |  |
 | deployment.podAnnotations | object | `{}` |  |
 | deployment.podSecurityContext | object | `{"fsGroup":2000}` | Set security 
context for the pod fsGroup: 2000 ensures containers can share Unix socket 
files via a common group. |
+| deployment.priorityClassName | string | `""` | Set the 
[priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority)
 for the ingress controller pods |
 | deployment.replicas | int | `1` |  |
 | deployment.resources | object | `{}` | Set pod resource requests & limits |
 | deployment.tolerations | list | `[]` |  |
diff --git a/charts/apisix-ingress-controller/templates/deployment.yaml 
b/charts/apisix-ingress-controller/templates/deployment.yaml
index a2be2cb..ea1ce86 100644
--- a/charts/apisix-ingress-controller/templates/deployment.yaml
+++ b/charts/apisix-ingress-controller/templates/deployment.yaml
@@ -42,6 +42,9 @@ spec:
       labels:
         {{- include "apisix-ingress-controller-manager.selectorLabels" . | 
nindent 8 }}
     spec:
+      {{- with .Values.deployment.priorityClassName }}
+      priorityClassName: {{ . }}
+      {{- end }}
       {{- $imagePullSecrets := .Values.deployment.imagePullSecrets | default 
((.Values.global).imagePullSecrets | default list) }}
       {{- with $imagePullSecrets }}
       imagePullSecrets:
diff --git a/charts/apisix-ingress-controller/values.yaml 
b/charts/apisix-ingress-controller/values.yaml
index 819365e..9452d04 100644
--- a/charts/apisix-ingress-controller/values.yaml
+++ b/charts/apisix-ingress-controller/values.yaml
@@ -48,6 +48,8 @@ deployment:
   # -- Add annotations to Apache APISIX ingress controller resource
   annotations: {}
   podAnnotations: {}
+  # -- Set the 
[priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority)
 for the ingress controller pods
+  priorityClassName: ""
   replicas: 1
   nodeSelector: {}
   tolerations: []

Reply via email to