chart/templates/services/rows/pdb.yaml (10 lines of code) (raw):
# SPDX-License-Identifier: Apache-2.0
# Copyright 2023 The HuggingFace Authors.
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels: {{ include "labels.rows" . | nindent 4 }}
name: "{{ include "name" . }}-rows"
namespace: {{ .Release.Namespace }}
spec:
maxUnavailable: 1
selector:
matchLabels: {{ include "labels.rows" . | nindent 6 }}