diff --git a/infrastructure/longhorn/core/longhorn-csi-toleration-ensure-job.yaml b/infrastructure/longhorn/core/longhorn-csi-toleration-ensure-job.yaml index d69f695b..52089912 100644 --- a/infrastructure/longhorn/core/longhorn-csi-toleration-ensure-job.yaml +++ b/infrastructure/longhorn/core/longhorn-csi-toleration-ensure-job.yaml @@ -2,7 +2,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: longhorn-csi-toleration-ensure-1 + name: longhorn-csi-toleration-ensure-2 namespace: longhorn-system spec: backoffLimit: 0 @@ -12,6 +12,8 @@ spec: spec: serviceAccountName: longhorn-service-account restartPolicy: Never + nodeSelector: + kubernetes.io/hostname: titan-11 affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: diff --git a/infrastructure/longhorn/core/longhorn-settings-ensure-job.yaml b/infrastructure/longhorn/core/longhorn-settings-ensure-job.yaml index 10ef2df3..241459ba 100644 --- a/infrastructure/longhorn/core/longhorn-settings-ensure-job.yaml +++ b/infrastructure/longhorn/core/longhorn-settings-ensure-job.yaml @@ -2,7 +2,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: longhorn-settings-ensure-9 + name: longhorn-settings-ensure-10 namespace: longhorn-system spec: backoffLimit: 0 @@ -12,6 +12,8 @@ spec: spec: serviceAccountName: longhorn-service-account restartPolicy: Never + nodeSelector: + kubernetes.io/hostname: titan-11 volumes: - name: longhorn-settings-ensure-script configMap: