@@ -18,96 +18,86 @@ spec:
1818 affinity :
1919 podAntiAffinity :
2020 requiredDuringSchedulingIgnoredDuringExecution :
21- - labelSelector :
22- matchExpressions :
23- - key : de-app
24- operator : In
25- values :
26- - data-info
27- topologyKey : kubernetes.io/hostname
21+ - labelSelector :
22+ matchExpressions :
23+ - key : de-app
24+ operator : In
25+ values :
26+ - data-info
27+ topologyKey : kubernetes.io/hostname
2828 restartPolicy : Always
2929 volumes :
30- - name : localtime
31- hostPath :
32- path : /etc/localtime
33- - name : timezone
34- configMap :
35- name : timezone
36- items :
37- - key : timezone
38- path : timezone
3930 - name : service-configs
4031 secret :
4132 secretName : service-configs
4233 items :
4334 - key : data-info.properties
4435 path : data-info.properties
4536 containers :
46- - name : data-info
47- image : harbor.cyverse.org/de/data-info
48- resources :
49- requests :
50- cpu : " 160m"
51- memory : " 1Gi"
52- ephemeral-storage : " 1Gi"
53- limits :
54- cpu : " 4000m"
55- memory : " 3Gi"
56- ephemeral-storage : " 1Gi"
57- args :
58- - --config
59- - /etc/iplant/de/data-info.properties
60- volumeMounts :
61- - name : localtime
62- mountPath : /etc/localtime
63- readOnly : true
64- - name : timezone
65- mountPath : /etc/timezone
66- subPath : timezone
67- - name : service-configs
68- mountPath : /etc/iplant/de
69- readOnly : true
70- env :
71- - name : JAVA_TOOL_OPTIONS
72- valueFrom :
73- configMapKeyRef :
74- name : java-tool-options
75- key : high
76- - name : OTEL_TRACES_EXPORTER
77- valueFrom :
78- secretKeyRef :
79- name : configs
80- key : OTEL_TRACES_EXPORTER
81- - name : OTEL_EXPORTER_JAEGER_ENDPOINT
82- valueFrom :
83- secretKeyRef :
84- name : configs
85- key : OTEL_EXPORTER_JAEGER_ENDPOINT
86- ports :
87- - name : listen-port
88- containerPort : 60000
89- livenessProbe :
90- httpGet :
91- path : /
92- port : 60000
93- initialDelaySeconds : 60
94- periodSeconds : 20
95- timeoutSeconds : 10
96- startupProbe :
97- httpGet :
98- path : /
99- port : 60000
100- initialDelaySeconds : 60
101- periodSeconds : 20
102- timeoutSeconds : 10
103- failureThreshold : 30
104- readinessProbe :
105- httpGet :
106- path : /
107- port : 60000
108- initialDelaySeconds : 60
109- periodSeconds : 20
110- timeoutSeconds : 10
37+ - name : data-info
38+ image : harbor.cyverse.org/de/data-info
39+ resources :
40+ requests :
41+ cpu : " 160m"
42+ memory : " 1Gi"
43+ ephemeral-storage : " 1Gi"
44+ limits :
45+ cpu : " 4000m"
46+ memory : " 3Gi"
47+ ephemeral-storage : " 1Gi"
48+ args :
49+ - --config
50+ - /etc/iplant/de/data-info.properties
51+ volumeMounts :
52+ - name : service-configs
53+ mountPath : /etc/iplant/de
54+ readOnly : true
55+ env :
56+ - name : TZ
57+ valueFrom :
58+ configMapKeyRef :
59+ name : timezone
60+ key : timezone
61+ - name : JAVA_TOOL_OPTIONS
62+ valueFrom :
63+ configMapKeyRef :
64+ name : java-tool-options
65+ key : high
66+ - name : OTEL_TRACES_EXPORTER
67+ valueFrom :
68+ secretKeyRef :
69+ name : configs
70+ key : OTEL_TRACES_EXPORTER
71+ - name : OTEL_EXPORTER_JAEGER_ENDPOINT
72+ valueFrom :
73+ secretKeyRef :
74+ name : configs
75+ key : OTEL_EXPORTER_JAEGER_ENDPOINT
76+ ports :
77+ - name : listen-port
78+ containerPort : 60000
79+ livenessProbe :
80+ httpGet :
81+ path : /
82+ port : 60000
83+ initialDelaySeconds : 60
84+ periodSeconds : 20
85+ timeoutSeconds : 10
86+ startupProbe :
87+ httpGet :
88+ path : /
89+ port : 60000
90+ initialDelaySeconds : 60
91+ periodSeconds : 20
92+ timeoutSeconds : 10
93+ failureThreshold : 30
94+ readinessProbe :
95+ httpGet :
96+ path : /
97+ port : 60000
98+ initialDelaySeconds : 60
99+ periodSeconds : 20
100+ timeoutSeconds : 10
111101---
112102apiVersion : v1
113103kind : Service
0 commit comments