Commit 73d1df67 authored by threedytech's avatar threedytech
Browse files

release: trk_debug_container-10024

parent 031144b4
......@@ -62,12 +62,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "75Mi"
cpu: "0.05"
limits:
memory: "75Mi"
cpu: "0.1"
{{ .Values.resourceLimits.adminsvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......
......@@ -64,12 +64,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.1"
limits:
memory: "100Mi"
cpu: "0.2"
{{ .Values.resourceLimits.apigw | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......@@ -108,12 +103,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.2"
limits:
memory: "100Mi"
cpu: "0.4"
{{ .Values.resourceLimits.authsvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 6060
......
......@@ -36,12 +36,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.05"
limits:
memory: "100Mi"
cpu: "0.1"
{{ .Values.resourceLimits.consul | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8500
......
......@@ -64,12 +64,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.1"
limits:
memory: "100Mi"
cpu: "0.2"
{{ .Values.resourceLimits.deliverysvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......@@ -106,12 +101,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.2"
limits:
memory: "100Mi"
cpu: "0.4"
{{ .Values.resourceLimits.authsvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 6060
......
......@@ -39,12 +39,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "2000Mi"
cpu: "0.1"
limits:
memory: "2000Mi"
cpu: "0.2"
{{ .Values.resourceLimits.elasticsearch | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 9200 #TODO
......@@ -115,12 +110,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "800Mi"
cpu: "0.1"
limits:
memory: "800Mi"
cpu: "0.2"
{{ .Values.resourceLimits.kibana | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 5601
......
......@@ -60,12 +60,7 @@ spec:
- containerPort: 8080
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "75Mi"
cpu: "0.05"
limits:
memory: "75Mi"
cpu: "0.1"
{{ .Values.resourceLimits.entrygw | toYaml | indent 12 }}
{{- end }}
env:
- name: ELASTICSEARCH_HOSTS
......
......@@ -68,14 +68,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: {{ .Values.resourceLimits.geometric.requests.memory }}
cpu : {{ .Values.resourceLimits.geometric.requests.cpu }}
limits:
memory: {{ .Values.resourceLimits.geometric.limits.memory }}
{{- if .Values.resourceLimits.geometric.limits.cpu }}
cpu : {{ .Values.resourceLimits.geometric.limits.cpu }}
{{end -}}
{{ .Values.resourceLimits.geometric | toYaml | indent 12 }}
{{- end }}
env:
- name: ELASTICSEARCH_HOSTS
......
......@@ -38,12 +38,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "75Mi"
cpu: "0.05"
limits:
memory: "75Mi"
cpu: "0.1"
{{ .Values.resourceLimits.jaegerCollector | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 14250
......@@ -106,12 +101,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "100Mi"
cpu: "0.05"
limits:
memory: "150Mi"
cpu: "0.1"
{{ .Values.resourceLimits.jaegerQuery | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 16686
......
......@@ -62,12 +62,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "50Mi"
cpu: "0.05"
limits:
memory: "50Mi"
cpu: "0.1"
{{ .Values.resourceLimits.keystore | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......
......@@ -87,14 +87,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: {{ .Values.resourceLimits.measurement.requests.memory }}
cpu : {{ .Values.resourceLimits.measurement.requests.cpu }}
limits:
memory: {{ .Values.resourceLimits.measurement.limits.memory }}
{{- if .Values.resourceLimits.measurement.limits.cpu }}
cpu : {{ .Values.resourceLimits.measurement.limits.cpu }}
{{end -}}
{{ .Values.resourceLimits.measurement | toYaml | indent 12 }}
{{- end }}
volumeMounts:
- mountPath: /var/cache/instant3Dhub/
......
......@@ -37,12 +37,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "250Mi"
cpu: "0.2"
limits:
memory: "250Mi"
cpu: "0.4"
{{ .Values.resourceLimits.pgbouncer | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 5432 #Fixed
......
......@@ -53,12 +53,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "3000Mi"
cpu: "0.5"
limits:
memory: "3000Mi"
cpu: "4.0"
{{ .Values.resourceLimits.postgres | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 5432 #TODO
......
......@@ -61,6 +61,10 @@ spec:
securityContext:
capabilities:
{{ .Values.securityContext.capabilities | toYaml | indent 14 }}
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
{{ .Values.resourceLimits.querysvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......@@ -101,12 +105,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "50Mi"
cpu: "0.1"
limits:
memory: "50Mi"
cpu: "0.2"
{{ .Values.resourceLimits.authsvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 6060
......
......@@ -38,12 +38,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "1000Mi"
cpu: "0.4"
limits:
memory: "1000Mi"
cpu: "0.8"
{{ .Values.resourceLimits.rabbitmq | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 5672 #Fixed
......
......@@ -64,12 +64,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "400Mi"
cpu: "0.4"
limits:
memory: "400Mi"
cpu: "0.8"
{{ .Values.resourceLimits.resourcegw | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......
......@@ -79,12 +79,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "200Mi"
cpu: "0.1"
limits:
memory: "200Mi"
cpu: "0.2"
{{ .Values.resourceLimits.sessionstore | toYaml | indent 12 }}
{{- end }}
volumeMounts:
- name: local-i3dhub-log
......
......@@ -87,14 +87,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: {{ .Values.resourceLimits.sharedsession.requests.memory }}
cpu : {{ .Values.resourceLimits.sharedsession.requests.cpu }}
limits:
memory: {{ .Values.resourceLimits.sharedsession.limits.memory }}
{{- if .Values.resourceLimits.sharedsession.limits.cpu }}
cpu : {{ .Values.resourceLimits.sharedsession.limits.cpu }}
{{end -}}
{{ .Values.resourceLimits.sharedsession | toYaml | indent 12 }}
{{- end }}
volumeMounts:
- mountPath: /var/cache/instant3Dhub/
......
......@@ -54,12 +54,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "75Mi"
cpu: "0.05"
limits:
memory: "75Mi"
cpu: "0.1"
{{ .Values.resourceLimits.spacesvc | toYaml | indent 12 }}
{{- end }}
ports:
- containerPort: 8080
......
......@@ -65,14 +65,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: {{ .Values.resourceLimits.transcoder.requests.memory }}
cpu : {{ .Values.resourceLimits.transcoder.requests.cpu }}
limits:
memory: {{ .Values.resourceLimits.transcoder.limits.memory }}
{{- if .Values.resourceLimits.transcoder.limits.cpu }}
cpu : {{ .Values.resourceLimits.transcoder.limits.cpu }}
{{end -}}
{{ .Values.resourceLimits.transcoder | toYaml | indent 12 }}
{{- end }}
env:
- name: LD_PRELOAD
......
......@@ -52,12 +52,7 @@ spec:
{{- end }}
{{- if not .Values.resourceLimits.ignore }}
resources:
requests:
memory: "75Mi"
cpu: "0.05"
limits:
memory: "75Mi"
cpu: "0.1"
{{ .Values.resourceLimits.uploadsvc | toYaml | indent 12 }}
{{- end }}
env:
- name: I3DH_CONSUL_HOSTNAME
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment