Add podman support with use_podman flag and cgroupv2 tuning#268
Open
uruemu wants to merge 2 commits intoCircleCI-Public:mainfrom
Open
Add podman support with use_podman flag and cgroupv2 tuning#268uruemu wants to merge 2 commits intoCircleCI-Public:mainfrom
uruemu wants to merge 2 commits intoCircleCI-Public:mainfrom
Conversation
Expand the retry-with-SSH ingress ports from 64535-65535 to 32768-65535 to cover both Docker (64535-65535) and podman (32768-60999) ephemeral port ranges during the blue-green migration period.
…figuring - Add use_podman variable (default false) to nomad-aws and nomad-gcp - Select podman-compatible AMI (CircleCIServerPodmanNomad*) when enabled - Conditionally install podman with cgroupv2 systemd configuration instead of Docker with cgroupv1 in both AWS and GCP startup scripts - Skip Docker-specific setup when podman is selected
| mkdir -p /etc/systemd/system/circleci.slice.d | ||
| cat <<EOT > /etc/systemd/system/circleci.slice.d/cgroup.conf | ||
| [Slice] | ||
| CPUQuota=3400% |
Contributor
There was a problem hiding this comment.
This number might not make sense in server. It is specific to the nodes we use in cloud and how much CPU we reserve for system vs tasks
Author
There was a problem hiding this comment.
That makes sense. It sounds like we could remove this entirely? Or do you think there's value in making it configurable?
Contributor
There was a problem hiding this comment.
Maybe check with onprem i think
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.
⚙️ Issue
✅ Fix
❓ Tests