spiegel_podman/pkg/specgen/generate
seonghun lee 655b8cee14 Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP
Podman 6 dropped cgroups v1 support, and the kernel real-time
scheduler cgroup settings only exist on cgroups v1. That means the
--cpu-rt-period and --cpu-rt-runtime options can never take effect
anymore: on cgroups v2 the values only produce a warning and are
discarded.

As agreed in the linked issue, the full removal of the options is
deferred to the next major release (7.0) to avoid a breaking change
for anyone still setting them. For 6.x this commit implements the
agreed interim step:

- remove the option documentation (docs/source/markdown/options/
  cpu-rt-period.md and cpu-rt-runtime.md) and drop the @@option
  references from the podman-create, podman-run, podman-update and
  podman-container-clone man pages
- hide both flags from --help output
- change the existing warning to state that the option is a NOP,
  that the value is ignored, and that the option will be removed in
  the next major release

The e2e tests are updated to match the new warning text. Actual
removal of the flags and the spec fields is left for Podman 7.0.

Part of #29750

Signed-off-by: seonghun lee <harrisleesh@gmail.com>
2026-09-17 01:15:52 +09:00
..
kube run go fix ./... 2026-09-04 11:53:04 +02:00
config_common.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
config_common_test.go Fix: Improve error message for empty device modes in API requests 2025-07-31 16:24:29 +00:00
config_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
config_linux.go Performance: Replace strings.ToLower with strings.EqualFold 2026-08-15 02:17:47 +05:30
config_linux_seccomp.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
config_linux_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container.go specgen: ensure keep-id overrides image USER 2026-08-25 22:26:31 +05:30
container_create.go set up default IDMappings when none are set and userns=auto 2026-08-10 17:52:03 +02:00
container_create_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
container_test.go fix image host env leak 2026-06-22 18:39:07 +02:00
namespaces.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
namespaces_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
namespaces_linux.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
oci.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
oci_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
oci_linux.go run golangci-lint --fix 2026-09-04 16:30:10 +02:00
pause_image.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_create.go fix: ensure infra image is set from infra container spec in PodConfigToSpec 2026-04-22 23:47:00 +02:00
pod_create_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
ports.go Performance: Upgrade sort.Slice to slices.SortFunc across codebase 2026-08-24 14:45:40 +05:30
ports_bench_test.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
ports_test.go pkg/specgen: fix port conflict on host assignment 2026-06-09 16:12:35 +02:00
security_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
security_linux.go Replace strings.Split(..)[0] with strings.Cut 2026-05-22 13:08:56 -07:00
storage.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
storage_freebsd.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
storage_linux.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
validate_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
validate_linux.go Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP 2026-09-17 01:15:52 +09:00