mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-16 05:52:15 +11:00
feat: add note for node without sufficient compute resources
This commit is contained in:
parent
ab3f3a2786
commit
e98a6fed27
2 changed files with 20 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -124,6 +124,7 @@ Modify `hostname` in `base/awx.yaml`.
|
||||||
```yaml
|
```yaml
|
||||||
...
|
...
|
||||||
spec:
|
spec:
|
||||||
|
...
|
||||||
ingress_type: ingress
|
ingress_type: ingress
|
||||||
ingress_tls_secret: awx-secret-tls
|
ingress_tls_secret: awx-secret-tls
|
||||||
hostname: awx.example.com 👈👈👈
|
hostname: awx.example.com 👈👈👈
|
||||||
|
|
@ -159,6 +160,19 @@ sudo mkdir -p /data/projects
|
||||||
sudo chown 1000:0 /data/projects
|
sudo chown 1000:0 /data/projects
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that by default AWX can't be started unless your K3s node has at least 2 CPUs and 4 GB RAM available. If your K3s node is smaller than this and you want to remove this restriction, consider uncommenting the following three lines in `base/awx.yaml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
...
|
||||||
|
spec:
|
||||||
|
...
|
||||||
|
# To run AWX on a node that does not meet resource requirements,
|
||||||
|
# uncomment the following three lines
|
||||||
|
web_resource_requirements: {} 👈👈👈
|
||||||
|
task_resource_requirements: {} 👈👈👈
|
||||||
|
ee_resource_requirements: {} 👈👈👈
|
||||||
|
```
|
||||||
|
|
||||||
### Deploy AWX
|
### Deploy AWX
|
||||||
|
|
||||||
Deploy AWX, this takes few minutes to complete.
|
Deploy AWX, this takes few minutes to complete.
|
||||||
|
|
|
||||||
|
|
@ -26,3 +26,9 @@ spec:
|
||||||
|
|
||||||
projects_persistence: true
|
projects_persistence: true
|
||||||
projects_existing_claim: awx-projects-claim
|
projects_existing_claim: awx-projects-claim
|
||||||
|
|
||||||
|
# To run AWX on a node that does not meet resource requirements,
|
||||||
|
# uncomment the following three lines
|
||||||
|
#web_resource_requirements: {}
|
||||||
|
#task_resource_requirements: {}
|
||||||
|
#ee_resource_requirements: {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue