@@ -28,11 +28,11 @@ objects:
2828 args : ["-c", "export FLASK_APP=manage.py && poetry run flask db upgrade && poetry run flask seed && poetry run gunicorn ros.api.main:app"]
2929 resources :
3030 requests :
31- cpu : ${CPU_REQUEST }
32- memory : ${MEMORY_REQUEST }
31+ cpu : ${CPU_REQUEST_ROSRHEL }
32+ memory : ${MEMORY_REQUEST_ROSRHEL }
3333 limits :
34- cpu : ${CPU_LIMIT }
35- memory : ${MEMORY_LIMIT }
34+ cpu : ${CPU_LIMIT_ROSRHEL }
35+ memory : ${MEMORY_LIMIT_ROSRHEL }
3636 livenessProbe :
3737 failureThreshold : 3
3838 httpGet :
@@ -83,11 +83,11 @@ objects:
8383 args : ["-c", "python -m ros.processor.inventory_events_consumer"]
8484 resources :
8585 requests :
86- cpu : ${CPU_REQUEST }
87- memory : ${MEMORY_REQUEST }
86+ cpu : ${CPU_REQUEST_ROSRHEL }
87+ memory : ${MEMORY_REQUEST_ROSRHEL }
8888 limits :
89- cpu : ${CPU_LIMIT }
90- memory : ${MEMORY_LIMIT }
89+ cpu : ${CPU_LIMIT_ROSRHEL }
90+ memory : ${MEMORY_LIMIT_ROSRHEL }
9191 livenessProbe :
9292 failureThreshold : 3
9393 httpGet :
@@ -134,11 +134,11 @@ objects:
134134 args : ["-c", "python -m ros.processor.insights_engine_consumer"]
135135 resources :
136136 requests :
137- cpu : ${CPU_REQUEST }
138- memory : ${MEMORY_REQUEST }
137+ cpu : ${CPU_REQUEST_ROSRHEL }
138+ memory : ${MEMORY_REQUEST_ROSRHEL }
139139 limits :
140- cpu : ${CPU_LIMIT }
141- memory : ${MEMORY_LIMIT }
140+ cpu : ${CPU_LIMIT_ROSRHEL }
141+ memory : ${MEMORY_LIMIT_ROSRHEL }
142142 livenessProbe :
143143 failureThreshold : 3
144144 httpGet :
@@ -185,11 +185,11 @@ objects:
185185 args : ["-c", "python -m ros.processor.garbage_collector"]
186186 resources :
187187 requests :
188- cpu : ${CPU_REQUEST }
189- memory : ${MEMORY_REQUEST }
188+ cpu : ${CPU_REQUEST_ROSRHEL }
189+ memory : ${MEMORY_REQUEST_ROSRHEL }
190190 limits :
191- cpu : ${CPU_LIMIT }
192- memory : ${MEMORY_LIMIT }
191+ cpu : ${CPU_LIMIT_ROSRHEL }
192+ memory : ${MEMORY_LIMIT_ROSRHEL }
193193 livenessProbe :
194194 failureThreshold : 3
195195 httpGet :
@@ -308,22 +308,22 @@ parameters:
308308 required : true
309309- description : Initial cpu request.
310310 displayName : CPU Request
311- name : CPU_REQUEST
311+ name : CPU_REQUEST_ROSRHEL
312312 required : true
313313 value : 500m
314314- description : Initial amount of memory the container will request.
315315 displayName : Memory Request
316- name : MEMORY_REQUEST
316+ name : MEMORY_REQUEST_ROSRHEL
317317 required : true
318318 value : 1Gi
319319- description : Maximum amount of memory the Django container can use.
320320 displayName : Memory Limit
321- name : MEMORY_LIMIT
321+ name : MEMORY_LIMIT_ROSRHEL
322322 required : true
323323 value : 1Gi
324324- description : Maximum amount of CPU the build container can use.
325325 displayName : CPU Limit
326- name : CPU_LIMIT
326+ name : CPU_LIMIT_ROSRHEL
327327 required : true
328328 value : ' 1'
329329- description : Is clowder enabled
0 commit comments