Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.adminIssuerProxy.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.adminIssuerProxy.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.adminIssuerProxy.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "admin-issuer-proxy.fullname" . }}
namespace: {{ include "admin-issuer-proxy.namespace" . }}
labels: {{- include "admin-issuer-proxy.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.adminIssuerProxy.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.adminIssuerProxy.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "admin-issuer-proxy.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/admin-token-issuer-proxy/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ adminIssuerProxy:
# and configuring appropriate affinity rules.
replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

image:
# Container image repository path. This field is required and must be set during installation.
repository: ""
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.apikeys.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.apikeys.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.apikeys.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "nv_api_keys.fullname" . }}
namespace: {{ include "nv_api_keys.namespace" . }}
labels: {{- include "nv_api_keys.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.apikeys.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.apikeys.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "nv_api_keys.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/api-keys-colocated/api-keys/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ apikeys:

replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

image:
registry: ""
repository: ""
Expand Down
39 changes: 39 additions & 0 deletions deploy/helm/cassandra/helm/templates/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.cassandra.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.cassandra.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.cassandra.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "cassandra.fullname" . }}
namespace: {{ include "cassandra.namespace" . }}
labels: {{- include "cassandra.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.cassandra.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.cassandra.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "cassandra.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/cassandra/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ cassandra:

replicaCount: 3

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

cluster:
name: cassandra
seed: 2
Expand Down
7 changes: 7 additions & 0 deletions deploy/helm/container-cache/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ nodeSelector: {}
# Number of replicas to create of container-cache.
replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

# Domain(s) of target hosts where the proxy passes requests (comma-separated).
targetHost: nvcr.io,stg.nvcr.io

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.ess.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.ess.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.ess.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "ess-api.fullname" . }}
namespace: {{ include "ess-api.namespace" . }}
labels: {{- include "ess-api.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.ess.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.ess.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "ess-api.selectorLabels" . | nindent 6 }}
{{- end }}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
7 changes: 7 additions & 0 deletions deploy/helm/encrypted-secret-store/ess-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
ess:
replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
registry: "" # must be supplied in additional values
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.functionautoscaler.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.functionautoscaler.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.functionautoscaler.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "function-autoscaler.fullname" . }}
namespace: {{ include "function-autoscaler.namespace" . }}
labels: {{- include "function-autoscaler.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.functionautoscaler.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.functionautoscaler.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "function-autoscaler.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/function-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ functionautoscaler:

replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

image:
registry: "" # must be supplied
repository: "" # must be supplied
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.grpcproxy.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.grpcproxy.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.grpcproxy.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "grpc-proxy.fullname" . }}
namespace: {{ include "grpc-proxy.namespace" . }}
labels: {{- include "grpc-proxy.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.grpcproxy.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.grpcproxy.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "grpc-proxy.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/grpc-proxy/grpc-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ grpcproxy:

replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

image:
registry: ""
repository: ""
Expand Down
39 changes: 39 additions & 0 deletions deploy/helm/helm-reval/templates/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.reval.podDisruptionBudget.enabled }}
{{- $pdbMinAvail := .Values.reval.podDisruptionBudget.minAvailable | toString }}
{{- $pdbMaxUnavail := .Values.reval.podDisruptionBudget.maxUnavailable | toString }}
{{- if and (ne $pdbMinAvail "") (ne $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable, not both" }}
{{- end }}
{{- if and (eq $pdbMinAvail "") (eq $pdbMaxUnavail "") }}
{{- fail "podDisruptionBudget: set exactly one of minAvailable or maxUnavailable" }}
{{- end }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "reval.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "reval.labels" . | nindent 4 }}
spec:
{{- if ne $pdbMinAvail "" }}
minAvailable: {{ .Values.reval.podDisruptionBudget.minAvailable }}
{{- else }}
maxUnavailable: {{ .Values.reval.podDisruptionBudget.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- include "reval.selectorLabels" . | nindent 6 }}
{{- end }}
7 changes: 7 additions & 0 deletions deploy/helm/helm-reval/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ reval:
imagePullSecrets: []
replicaCount: 1

podDisruptionBudget:
enabled: false
# minAvailable and maxUnavailable are mutually exclusive; set exactly one.
# Accepts an integer or a percentage string (e.g. 1 or "50%").
minAvailable: ""
maxUnavailable: ""

serviceAccount:
create: false
# automount: false — the reval service does not talk to the Kubernetes API;
Expand Down
Loading
Loading