Skip to content

Commit

Permalink
feat: disable pid max in the podman machine
Browse files Browse the repository at this point in the history
fix podman-desktop/podman-desktop#5282

With FCOS we have a limit of 2048 files
But when launching containers like kind containers, we're reaching
easily the limit.
AFAIK as it's inside a dedicated machine, limit should be max
Limit should be only at the container level.

Signed-off-by: Florent Benoit <[email protected]>
  • Loading branch information
benoitf authored and openshift-cherrypick-robot committed Jan 10, 2024
1 parent 14a21fe commit da7734f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/machine/ignition.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ ExecStart=/usr/bin/sleep infinity
`
containers := `[containers]
netns="bridge"
pids_limit=0
`
// Set deprecated machine_enabled until podman package on fcos is
// current enough to no longer require it
Expand Down

0 comments on commit da7734f

Please sign in to comment.