spiegel_podman/cmd/podman/common
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
..
build.go build: do not leak context tmpdir 2026-08-21 08:17:58 +05:30
completion.go Merge pull request #29388 from AftAb-25/fix/events-network-filter 2026-09-11 16:39:41 +05:30
completion_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create.go Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP 2026-09-17 01:15:52 +09:00
create_opts.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create_test.go cmd/podman: replace strings.Split with strings.Cut 2026-05-22 12:36:26 -07:00
default.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
format.go ps: format labels as comma separated key=value for Docker compatibility 2026-04-30 18:04:49 +02:00
inspect.go Add artifact fallback to podman inspect command 2025-10-02 06:52:32 -04:00
netflags.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
sign.go Fix staticcheck SA4023 warnings in call.go and sign.go 2026-06-12 09:53:20 +02:00
term.go remove github.com/buger/goterm dependency 2025-03-31 19:17:55 +02:00