feat: Add node selector for Victoria Metrics server

Configures the Victoria Metrics single server to be scheduled on a specific host, `ubuntu-4gb-nbg1-1`. This ensures being scheduled on the same node as the pvc is bound ot since it uses local-path volume
This commit is contained in:
Felix Wolf 2026-04-04 15:35:56 +02:00
parent 09ecd5ba78
commit aa55722803
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@ server:
memory: 256Mi memory: 256Mi
limits: limits:
memory: 512Mi memory: 512Mi
nodeSelector:
kubernetes.io/hostname: ubuntu-4gb-nbg1-1
persistentVolume: persistentVolume:
enabled: true enabled: true
size: 10Gi size: 10Gi

View file

@ -75,6 +75,8 @@ spec:
name: server-volume name: server-volume
- mountPath: /scrapeconfig - mountPath: /scrapeconfig
name: scrapeconfig name: scrapeconfig
nodeSelector:
kubernetes.io/hostname: ubuntu-4gb-nbg1-1
securityContext: {} securityContext: {}
serviceAccountName: victoria-metrics-single-server serviceAccountName: victoria-metrics-single-server
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60