Update Containers/Kubernetes/Rancher RKE2/AWX Operator/Ansible AWX Operator.md
This commit is contained in:
@ -17,20 +17,25 @@ The AWX deployment will consist of 3 yaml files that configure the containers fo
|
|||||||
# Make the deployment folder
|
# Make the deployment folder
|
||||||
mkdir -p /awx
|
mkdir -p /awx
|
||||||
cd /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:
|
We need to increase filesystem access limits:
|
||||||
```jsx title="/etc/security/limits.conf"
|
Temporarily Set the Limits Now:
|
||||||
# End of File>
|
|
||||||
* soft nofile 16384
|
|
||||||
```
|
|
||||||
|
|
||||||
Reboot the server.
|
|
||||||
``` sh
|
``` 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
|
### Create AWX Deployment Donfiguration Files
|
||||||
|
Reference in New Issue
Block a user