6290322f1b
- VM stack 10 charts: victoria-metrics-cluster/auth, victoria-logs-cluster, victoria-metrics-agent/alert, opentelemetry-collector, kube-state-metrics, prometheus-node-exporter, alertmanager, perses (JWT/OIDC, Infisical-ready) - ArgoCD ApplicationSet (syncWave) + per-chart dip-values overlays - doc/victoria-metrics-architecture.md, define-chart-resources updates - includes pending working-tree changes (mlflow, kubeflow, apisix, CLAUDE.md) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
773 B
YAML
27 lines
773 B
YAML
{{- $pdb := .Values.podDisruptionBudget }}
|
|
{{- if $pdb.enabled }}
|
|
{{- $ctx := dict "helm" . }}
|
|
{{- $fullname := include "vm.plain.fullname" $ctx }}
|
|
{{- $ns := include "vm.namespace" $ctx }}
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ $fullname }}
|
|
namespace: {{ $ns }}
|
|
{{- $_ := set $ctx "extraLabels" $pdb.labels }}
|
|
labels: {{ include "vm.labels" $ctx | nindent 4 }}
|
|
{{- $_ := unset $ctx "extraLabels"}}
|
|
spec:
|
|
{{- with $pdb.minAvailable }}
|
|
minAvailable: {{ . }}
|
|
{{- end }}
|
|
{{- with $pdb.maxUnavailable }}
|
|
maxUnavailable: {{ . }}
|
|
{{- end }}
|
|
{{- with $pdb.unhealthyPodEvictionPolicy }}
|
|
unhealthyPodEvictionPolicy: {{ . }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels: {{ include "vm.selectorLabels" $ctx | nindent 6 }}
|
|
{{- end }}
|