Skip to content

Commit 3ba3259

Browse files
committed
bumped resources for overrides test
1 parent 497642d commit 3ba3259

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/templates/kuttl/overrides/10-install-airflow.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
min: 400m
8787
max: 800m
8888
memory:
89-
limit: 2Gi
89+
limit: 3Gi
9090
podOverrides:
9191
spec:
9292
containers:

tests/templates/kuttl/overrides/20-install-airflow2.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- name: airflow
3333
resources:
3434
limits:
35-
cpu: 810m
35+
cpu: 2000m
3636
config:
3737
resources:
3838
cpu:

tests/templates/kuttl/overrides/21-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ kind: TestAssert
44
timeout: 30
55
commands:
66
- script: |
7-
kubectl -n $NAMESPACE get cm airflow-kubernetes-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | yq -e '.spec.containers.[0].resources.limits | select (.cpu == "750m")'
7+
kubectl -n $NAMESPACE get cm airflow-kubernetes-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | yq -e '.spec.containers.[0].resources.limits | select (.cpu == "2000m")'
88
kubectl -n $NAMESPACE get cm airflow-kubernetes-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | yq -e '.spec.containers[] | select (.name == "base") | .env[] | select (.name == "AIRFLOW__METRICS__STATSD_ON" and .value == "False")'

0 commit comments

Comments
 (0)