Commit 1a68f3a4 authored by David McKay's avatar David McKay

chore: add resource limits/requests to bootstrap job

parent aee8d4b8
...@@ -52,6 +52,13 @@ spec: ...@@ -52,6 +52,13 @@ spec:
- {{ include "influxdb-enterprise.fullname" . }}-data - {{ include "influxdb-enterprise.fullname" . }}-data
- -execute - -execute
- CREATE USER $(INFLUX_USERNAME) WITH PASSWORD '$(INFLUX_PASSWORD)' WITH ALL PRIVILEGES - CREATE USER $(INFLUX_USERNAME) WITH PASSWORD '$(INFLUX_PASSWORD)' WITH ALL PRIVILEGES
resources:
requests:
cpu: 100m
memory: 20Mi
limits:
cpu: 100m
memory: 20Mi
{{ end }} {{ end }}
{{- if .Values.bootstrap.ddldml.configMap }} {{- if .Values.bootstrap.ddldml.configMap }}
- name: ddl - name: ddl
...@@ -81,6 +88,13 @@ spec: ...@@ -81,6 +88,13 @@ spec:
- -import - -import
- -path - -path
- /ddldml/ddl - /ddldml/ddl
resources:
requests:
cpu: 100m
memory: 20Mi
limits:
cpu: 100m
memory: 20Mi
{{ end }} {{ end }}
{{- if .Values.bootstrap.ddldml.configMap }} {{- if .Values.bootstrap.ddldml.configMap }}
- name: dml - name: dml
...@@ -110,6 +124,13 @@ spec: ...@@ -110,6 +124,13 @@ spec:
- -import - -import
- -path - -path
- /ddldml/dml - /ddldml/dml
resources:
requests:
cpu: 100m
memory: 20Mi
limits:
cpu: 100m
memory: 20Mi
{{ end }} {{ end }}
containers: containers:
- name: success - name: success
...@@ -119,4 +140,11 @@ spec: ...@@ -119,4 +140,11 @@ spec:
- echo - echo
args: args:
- "Bootstrap Success" - "Bootstrap Success"
resources:
requests:
cpu: 100m
memory: 20Mi
limits:
cpu: 100m
memory: 20Mi
{{ end }} {{ end }}
Markdown is supported
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