-
Notifications
You must be signed in to change notification settings - Fork 32
CLOUDP-362015 - use rootless podman #654
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
base: master
Are you sure you want to change the base?
Conversation
MCK 1.6.2 Release Notes |
| fi | ||
| export XDG_RUNTIME_DIR="${runtime_dir}" | ||
|
|
||
| # Clean up stale podman state (fixes "cannot re-exec process to join the existing user namespace") |
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.
this still happens, but once evg agents properly cleanup podman containers we should be able to rremove this: https://jira.mongodb.org/browse/DEVPROD-25447
scripts/minikube/setup_minikube.sh
Outdated
| local start_args=("--driver=podman") | ||
| start_args+=("--cpus=4" "--memory=8g") | ||
| # Use containerd as container runtime inside minikube for better rootless support | ||
| start_args+=("--container-runtime=containerd") |
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.
and containerd is also more stable
| Fetches an auth token from ECR via boto3 and logs | ||
| into the Docker daemon via the Docker SDK. | ||
| """ | ||
| import boto3 |
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.
lets only import this when we use this, otherwise build_image (for podman and minikube) and thus ibm container will need those deps
1796a5a to
c14c030
Compare
c14c030 to
bc55698
Compare
- Increase download timeout from 180s to 600s for large binaries on slow IBM networks - Fix rootful mode: unset MINIKUBE_ROOTLESS env var and use --rootless=false flag - Update kicbase to v0.0.48 to match minikube v1.37.0 - Use bridge CNI for ppc64le/s390x (kindnet lacks ppc64le images) - Add safe cleanup for shared CI machines (only kills orphaned processes) - Configure root-level podman for minikube rootful mode - Test podman functionality before proceeding 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18b4923 to
a2aea73
Compare
Summary
Container Runtime and Podman Environment Improvements:
Major rewrite of
scripts/dev/setup_ibm_container_runtime.shto:crunas needed, and configure container and storage settings for both user and root contexts.In
scripts/minikube/setup_minikube.sh:Download and Setup Reliability:
curltimeout and retry delay inscripts/funcs/installto handle large binary downloads (like Minikube) on slow networks, and enable resume capability for interrupted downloads.Python Environment and Requirements Handling:
Proof of Work
Checklist
skip-changeloglabel if not needed