Skip to content

Add Podman container runtime support to Ansible installer#1

Open
yoavkatz wants to merge 3 commits intomainfrom
support-podman-container-runtime
Open

Add Podman container runtime support to Ansible installer#1
yoavkatz wants to merge 3 commits intomainfrom
support-podman-container-runtime

Conversation

@yoavkatz
Copy link
Copy Markdown
Owner

@yoavkatz yoavkatz commented Mar 8, 2026

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.yaml

Updated 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_engine variable (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.yml

Made two key improvements:

  1. Replaced hardcoded docker commands with the configurable container_engine variable (defaulting to 'docker') throughout the image loading process for kind clusters, enabling Podman compatibility.
  2. Increased the retry count for MCP gateway installation from 3 to 10 attempts to improve reliability during deployment.

Signed-off-by: Yoav Katz <katz@il.ibm.com>
@yoavkatz yoavkatz force-pushed the support-podman-container-runtime branch from ba9c5be to 2e9b4d2 Compare March 8, 2026 16:53
yoavkatz added 2 commits March 9, 2026 18:22
Signed-off-by: Yoav Katz <katz@il.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant