kurokobo / awx-on-k3s

An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownership of data and passwords.
MIT License
560 stars 158 forks source link

Looking for help in setting up AWX in multi node environment #323

Closed Saravanaselvaraj closed 6 months ago

Saravanaselvaraj commented 6 months ago

Environment

Description

Hello, Good day. Please help me with this situation. I am having 3 Servers in total. All are hosted in GCP. In One of them Postgresql is installed by DBA and they have shared IP and user details. I want to install AWX in other two servers and want to connect to same database . How can I configure this ? I referred your manual but that is only for single node of deployment with external DB setup. I want to have 3 PODs in first server and 2 Pods in Second Server and the whole system should be connecting to the same DB.

Can you please kindly advice me how can we achieve this using your repo ? I am installing it in QA and hence I don't want to go with Standalone K8S.

Thanks and Regards

kurokobo commented 6 months ago

@Saravanaselvaraj Hi, have you seen this guide? The same procedure for using an external DB could be applied to both single and multi-nodes: https://github.com/kurokobo/awx-on-k3s/blob/main/tips/external-db.md

Saravanaselvaraj commented 6 months ago

Hello @kurokobo , Yes it is a pretty clear document which explains the setup for external DB setup but I want to create multiple replicas of the AWX in my server , Which setting will drive that option here ?

I am aware that in Kind : Deployment type we can specify number of replicas in K8S but I am confused here since it uses AWX operator. I am pretty new to this Kubernetes concept. Please help.

Thanks and Regards Saravana Selvaraj

kurokobo commented 6 months ago

@Saravanaselvaraj Please refer to the Operator's docs: https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/scaling-the-web-and-task-pods-independently.html

My guide shows only minimal steps and descriptions. If you want to make any customization, I recommend you to read through the official documentation first, rather than relying solely on my guide.

Saravanaselvaraj commented 6 months ago

Thank you so much @kurokobo , I will have a look. Have a great day.

Best regards

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 4 days.