|
@@ -28,6 +28,18 @@ spec:
|
|
|
mountPath: /data
|
|
|
#nodeSelector:
|
|
|
# app.touchrs: touchrs
|
|
|
+ affinity:
|
|
|
+ podAntiAffinity:
|
|
|
+ preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
+ - weight: 100
|
|
|
+ podAffinityTerm:
|
|
|
+ labelSelector:
|
|
|
+ matchExpressions:
|
|
|
+ - key: app
|
|
|
+ operator: In
|
|
|
+ values:
|
|
|
+ - offline-process-newmedia
|
|
|
+ topologyKey: kubernetes.io/hostname
|
|
|
containers:
|
|
|
- name: offline-process-newmedia
|
|
|
image: hub.evbj.easou.com/qa/offline-process-newmedia:v1.1.39
|