-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added troubleshooting and tips tricks content #15212
Conversation
Adding host entries in execution environments | ||
=============================================== | ||
|
||
In order to override DNS/host entries, add the following entries in the in the ``/etc/hosts`` file of the pod spec via the ``hostAliases`` attribute: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to override DNS/host entries, add the following entries in the in the ``/etc/hosts`` file of the pod spec via the ``hostAliases`` attribute: | |
In order to override DNS/host entries, add the following entries in the ``/etc/hosts`` file of the pod spec with the ``hostAliases`` attribute: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep in mind I know zero about all of this, but I got the impression from the issue that the hostAliases
entry was not in /etc/hosts
but some podman file. I don't know if this meands hand-editing the ContainerFile
produced by ansible-builder
or some other file...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...okay a bit of poking in this troubleshooting page and I now think the entries go in the AWX spec
file.. But again... I'm doing major guessing here.
According to @fosterseth, we can add it like that to the container group pod spec so any job that is started with that pod spec with have |
@@ -370,7 +385,7 @@ Container groups and instance groups are labeled accordingly. | |||
|
|||
.. note:: | |||
|
|||
Despite the fact that customers have custom Pod specs, upgrades may be difficult if the default ``pod_spec`` changes. Most any manifest can be applied to any namespace, with the namespace specified separately, most likely you will only need to override the namespace. Similarly, pinning a default image for different releases of the platform to different versions of the default job runner container is tricky. If the default image is specified in the Pod spec, then upgrades do not pick up the new default changes are made to the default Pod spec. | |||
Despite the fact that customers have custom pod specs, upgrades may be difficult if the default ``pod_spec`` changes. Most any manifest can be applied to any namespace, with the namespace specified separately, most likely you will only need to override the namespace. Similarly, pinning a default image for different releases of the platform to different versions of the default job runner container is tricky. If the default image is specified in the pod spec, then upgrades do not pick up the new default changes are made to the default pod spec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Most any manifest can be applied to any namespace, with the namespace specified separately, most likely you will only need to override the namespace."
Should this say "Since any"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Despite the fact that customers have custom pod specs, upgrades may be difficult if the default pod_spec
changes"
maybe,
"Note that using custom pod specs may cause issues on upgrade if the default pod spec changes"
|
||
The options available are: | ||
|
||
- **Enable or Disable tmp dir cleanup**: choose whether you want to clean up the ``temp`` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not familiar with AWX but the UI calls it the tmp dir, so should the text say tmp
directory here as well?
Co-authored-by: Seth Foster <[email protected]>
Co-authored-by: Seth Foster <[email protected]>
Co-authored-by: Sandra McCann <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One litte nit suggested edit.
Co-authored-by: Sandra McCann <[email protected]>
@@ -370,7 +382,7 @@ Container groups and instance groups are labeled accordingly. | |||
|
|||
.. note:: | |||
|
|||
Despite the fact that customers have custom Pod specs, upgrades may be difficult if the default ``pod_spec`` changes. Most any manifest can be applied to any namespace, with the namespace specified separately, most likely you will only need to override the namespace. Similarly, pinning a default image for different releases of the platform to different versions of the default job runner container is tricky. If the default image is specified in the Pod spec, then upgrades do not pick up the new default changes are made to the default Pod spec. | |||
Using a custom pod spec may cause issues on upgrades if the default ``pod_spec`` changes. Most any manifest can be applied to any namespace, with the namespace specified separately, most likely you will only need to override the namespace. Similarly, pinning a default image for different releases of the platform to different versions of the default job runner container is tricky. If the default image is specified in the pod spec, then upgrades do not pick up the new default changes that are made to the default pod spec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most any manifest
is this supposed to say "Since any manifest"?
* Added troubleshooting and tips tricks content * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <[email protected]> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <[email protected]> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <[email protected]> * Incorp'd review feedback from @fosterseth and @samccann * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <[email protected]> * Final revisions based on @fosterseth's inputs. --------- Co-authored-by: Seth Foster <[email protected]> Co-authored-by: Sandra McCann <[email protected]>
* Added troubleshooting and tips tricks content * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <[email protected]> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <[email protected]> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <[email protected]> * Incorp'd review feedback from @fosterseth and @samccann * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <[email protected]> * Final revisions based on @fosterseth's inputs. --------- Co-authored-by: Seth Foster <[email protected]> Co-authored-by: Sandra McCann <[email protected]>
SUMMARY
Resolves issue #15040 (troubleshooting section of UI) and #15192 (host alias)
Rendered chapter: https://ansible--15212.org.readthedocs.build/projects/awx/en/15212/administration/containers_instance_groups.html#customize-the-pod-spec
ISSUE TYPE
COMPONENT NAME
AWX VERSION
latest