imxc / imxc-ui affinity 추가
This commit is contained in:
@@ -13,6 +13,15 @@ spec:
|
||||
labels:
|
||||
app: auth
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
initContainers:
|
||||
- name: init-resource
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/init-resource:latest
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: datagate
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- image: {{ .Values.global.IMXC_IN_REGISTRY }}/datagate:{{ .Values.global.DATAGATE_VERSION }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
@@ -17,6 +17,15 @@ spec:
|
||||
labels:
|
||||
app: metric-agent
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: metric-agent
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/metric-agent:{{ .Values.global.METRIC_AGENT_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: metric-collector
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: metric-collector
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/metric-collector:{{ .Values.global.METRIC_COLLECTOR_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: cmoa-kube-info-batch
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: cmoa-kube-info-batch
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/kube-info-batch:{{ .Values.global.KUBE_INFO_BATCH_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: cmoa-kube-info-connector
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: cmoa-kube-info-connector
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/kube-info-connector:{{ .Values.global.KUBE_INFO_CONNECTOR_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: cmoa-kube-info-flat
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: cmoa-kube-info-flat
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/kube-info-flat:{{ .Values.global.KUBE_INFO_FLAT_VERSION }}
|
||||
|
||||
@@ -13,6 +13,15 @@ spec:
|
||||
labels:
|
||||
app: manual
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker1
|
||||
containers:
|
||||
- name: manual
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/manual:{{ .Values.global.CMOA_MANUAL_VERSION }}
|
||||
|
||||
@@ -31,6 +31,15 @@ spec:
|
||||
labels:
|
||||
app: eureka
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
containers:
|
||||
- name: eureka
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/eureka-server:{{ .Values.global.EUREKA_SERVER_VERSION }}
|
||||
|
||||
@@ -39,6 +39,15 @@ spec:
|
||||
app: imxc-api
|
||||
build: develop
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
securityContext:
|
||||
#runAsNonRoot: true
|
||||
runAsUser: 1577
|
||||
|
||||
@@ -18,6 +18,15 @@ items:
|
||||
labels:
|
||||
app: cmoa-collector
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65534
|
||||
|
||||
@@ -13,6 +13,15 @@ spec:
|
||||
labels:
|
||||
app: noti
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
containers:
|
||||
- name: noti-server
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/notification-server:{{ .Values.global.NOTI_SERVER_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: kafka-stream-txntrend
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
containers:
|
||||
- name: kafka-stream-txntrend
|
||||
image: {{ .Values.global.IMXC_IN_REGISTRY }}/kafka-stream-txntrend:{{ .Values.global.KAFKA_STREAM_VERSION }}
|
||||
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: cloud
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cmoa
|
||||
operator: In
|
||||
values:
|
||||
- worker2
|
||||
containers:
|
||||
- env:
|
||||
- name: SPRING_PROFILES_ACTIVE
|
||||
|
||||
Reference in New Issue
Block a user