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:
parent
09ecd5ba78
commit
aa55722803
|
|
@ -6,6 +6,8 @@ server:
|
|||
memory: 256Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: ubuntu-4gb-nbg1-1
|
||||
persistentVolume:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
|
|
|
|||
|
|
@ -75,6 +75,8 @@ spec:
|
|||
name: server-volume
|
||||
- mountPath: /scrapeconfig
|
||||
name: scrapeconfig
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: ubuntu-4gb-nbg1-1
|
||||
securityContext: {}
|
||||
serviceAccountName: victoria-metrics-single-server
|
||||
terminationGracePeriodSeconds: 60
|
||||
|
|
|
|||
Loading…
Reference in a new issue