mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/k8s-spot-rescheduler] Support pod affinity (#8892)
Signed-off-by: Emily Karisch <e.karisch@pixelart.at>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "v0.2.0"
|
||||
description: A k8s-spot-rescheduler Helm chart for Kubernetes
|
||||
name: k8s-spot-rescheduler
|
||||
version: 0.3.0
|
||||
version: 0.3.1
|
||||
keywords:
|
||||
- spot
|
||||
- rescheduler
|
||||
|
||||
@@ -35,6 +35,10 @@ spec:
|
||||
containerPort: 9235
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
tolerations:
|
||||
|
||||
@@ -34,6 +34,10 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# Affinity for pod assignment
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
affinity: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
# Node labels for pod assignment
|
||||
|
||||
Reference in New Issue
Block a user