Sean Davis
01/24/2023, 3:21 AMAdam Bloom
01/24/2023, 3:48 AMSean Davis
01/24/2023, 2:09 PMrunLauncher:
# Type can be one of [K8sRunLauncher, CeleryK8sRunLauncher, CustomRunLauncher]
type: K8sRunLauncher
config:
# This configuration will only be used if the K8sRunLauncher is selected
k8sRunLauncher:
runK8sConfig:
podSpecConfig:
terminationGracePeriodSeconds: 25
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: <http://cloud.google.com/gke-spot|cloud.google.com/gke-spot>
operator: In
values:
- "true"
# Change with caution! If you're using a fixed tag for pipeline run images, changing the
# image pull policy to anything other than "Always" will use a cached/stale image, which is
# almost certainly not what you want.
imagePullPolicy: "Always"
Oren Lederman
01/24/2023, 5:23 PMSean Davis
01/24/2023, 5:38 PMOren Lederman
01/24/2023, 5:46 PMSean Davis
01/24/2023, 5:59 PMOren Lederman
01/24/2023, 6:15 PM