Add Podman container runtime support to Ansible installer#1
Open
Add Podman container runtime support to Ansible installer#1
Conversation
Signed-off-by: Yoav Katz <katz@il.ibm.com>
ba9c5be to
2e9b4d2
Compare
Signed-off-by: Yoav Katz <katz@il.ibm.com>
Signed-off-by: Yoav Katz <katz@il.ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds support for Podman as an alternative container engine and improves the reliability of image pulling and chart installation processes. The changes make the installer more robust when dealing with SSH connection issues in Podman environments and increase retry attempts for gateway installation.
Files Changed
📄
deployments/ansible/roles/kagenti_installer/tasks/02_setup_cluster.yamlUpdated the image pulling logic to handle different container engines. For Podman, images are now pulled sequentially to avoid SSH connection issues, while Docker continues to use concurrent pulling for better performance. The task also now respects the
container_enginevariable (defaulting to 'docker') and includes enhanced logging output for Podman pulls (showing status messages like "Trying to pull", "Getting image", "Copying", and "Writing manifest").📄
deployments/ansible/roles/kagenti_installer/tasks/main.ymlMade two key improvements:
dockercommands with the configurablecontainer_enginevariable (defaulting to 'docker') throughout the image loading process for kind clusters, enabling Podman compatibility.