Skip to content

Commit

Permalink
Use awx web launch script to pick up the correct supervisor config (#935
Browse files Browse the repository at this point in the history
)

- reduce resource requests so that CI passes in resource constrained
    environments
  • Loading branch information
rooftopcellist authored Jun 1, 2022
1 parent 3ac0232 commit 0983220
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions config/samples/awx_v1beta1_awx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ metadata:
spec:
web_resource_requirements:
requests:
cpu: 250m
cpu: 50m
memory: 128M
task_resource_requirements:
requests:
cpu: 250m
cpu: 50m
memory: 128M
ee_resource_requirements:
requests:
cpu: 200m
cpu: 50m
memory: 64M
8 changes: 4 additions & 4 deletions molecule/default/templates/awx_cr_molecule.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ spec:
kubernetes.io/ingress.class: nginx
web_resource_requirements:
requests:
cpu: 100m
cpu: 50m
memory: 32M
task_resource_requirements:
requests:
cpu: 100m
cpu: 50m
memory: 32M
ee_resource_requirements:
requests:
cpu: 200m
memory: 32M
cpu: 50m
memory: 16M
postgres_resource_requirements: {}
postgres_init_container_resource_requirements: {}
redis_resource_requirements: {}
3 changes: 2 additions & 1 deletion roles/installer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ replicas: "1"
task_args:
- /usr/bin/launch_awx_task.sh
task_command: []
web_args: []
web_args:
- /usr/bin/launch_awx.sh
web_command: []

task_resource_requirements:
Expand Down

0 comments on commit 0983220

Please sign in to comment.