From e98a6fed276d61c7599fc7e3a89e3d2c449b03f7 Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Wed, 6 Oct 2021 13:23:38 -0400 Subject: [PATCH] feat: add note for node without sufficient compute resources --- README.md | 14 ++++++++++++++ base/awx.yaml | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index 9b30613..2c9a168 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ Modify `hostname` in `base/awx.yaml`. ```yaml ... spec: + ... ingress_type: ingress ingress_tls_secret: awx-secret-tls hostname: awx.example.com 👈👈👈 @@ -159,6 +160,19 @@ sudo mkdir -p /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, this takes few minutes to complete. diff --git a/base/awx.yaml b/base/awx.yaml index 190a4c3..bb2fa64 100644 --- a/base/awx.yaml +++ b/base/awx.yaml @@ -26,3 +26,9 @@ spec: projects_persistence: true 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: {}