Add VictoriaMetrics observability stack + sync catalog for monitoring test
- 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>
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{{- if eq .Values.mode "deployment" -}}
|
||||
apiVersion: {{ .Values.apiVersion }}
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "opentelemetry-collector.fullname" . }}
|
||||
namespace: {{ template "opentelemetry-collector.namespace" . }}
|
||||
labels:
|
||||
{{- include "opentelemetry-collector.labels" . | nindent 4 }}
|
||||
{{- if .Values.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.annotations }}
|
||||
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and (not .Values.autoscaling.enabled) (.Values.replicaCount) }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "opentelemetry-collector.selectorLabels" . | nindent 6 }}
|
||||
{{- include "opentelemetry-collector.component" . | nindent 6 }}
|
||||
strategy:
|
||||
{{- if eq .Values.rollout.strategy "RollingUpdate" }}
|
||||
{{- with .Values.rollout.rollingUpdate }}
|
||||
rollingUpdate:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
type: {{ .Values.rollout.strategy }}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.enableConfigChecksumAnnotation }}
|
||||
{{- include "opentelemetry-collector.configTemplateChecksumAnnotation" . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- include "opentelemetry-collector.podAnnotations" . | nindent 8 }}
|
||||
labels:
|
||||
{{- include "opentelemetry-collector.selectorLabels" . | nindent 8 }}
|
||||
{{- include "opentelemetry-collector.component" . | nindent 8 }}
|
||||
{{- include "opentelemetry-collector.podLabels" . | nindent 8 }}
|
||||
spec:
|
||||
{{- with .Values.dnsPolicy }}
|
||||
dnsPolicy: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.schedulerName }}
|
||||
schedulerName: {{ . }}
|
||||
{{- end }}
|
||||
{{- $podValues := deepCopy .Values }}
|
||||
{{- $podData := dict "Values" $podValues "configmapSuffix" "" "isAgent" false }}
|
||||
{{- include "opentelemetry-collector.pod" ($podData | mustMergeOverwrite (deepCopy .)) | nindent 6 }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
hostPID: {{ or .Values.hostPID .Values.presets.profiling.enabled }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user