Update Containers/Kubernetes/Rancher RKE2/AWX Operator/Ansible AWX Operator.md

This commit is contained in:
Nicole Rappe
2024-01-22 23:04:00 -07:00
parent eba4decabd
commit e9cb31cfbe

View File

@ -17,20 +17,25 @@ The AWX deployment will consist of 3 yaml files that configure the containers fo
# Make the deployment folder
mkdir -p /awx
cd /awx
# Run a command to adjust open file limits in Ubuntu Server (just-in-case)
ulimit -Sn 16384
```
Now we need to make the changes permanent:
```jsx title="/etc/security/limits.conf"
# End of File>
* soft nofile 16384
```
Reboot the server.
We need to increase filesystem access limits:
Temporarily Set the Limits Now:
``` sh
sudo reboot
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512
```
Permanently Set the Limits for Later:
```jsx title="/etc/sysctl.conf"
# <End of File>
fs.inotify.max_user_watches = 524288
fs.inotify.max_user_instances = 512
```
Apply the Settings:
``` sh
sudo sysctl -p
```
### Create AWX Deployment Donfiguration Files