An administrator wants to ensure that API requests containing deprecated API versions trigger warnings in client output and audit logs. Which API server flag controls this behavior?
Trap 1: --disable-deprecated-apis
While specific versions can be disabled via runtime-config, this specific flag name does not exist.
Trap 2: --warn-deprecated-apis=true
This is not a valid API server flag.
Trap 3: --log-deprecated=true
Deprecation logging is managed through runtime configuration and standard audit rules.
- A
--runtime-config
Runtime configuration flags allow enabling or disabling specific API groups and versions.
- B
--disable-deprecated-apis
Why wrong: While specific versions can be disabled via runtime-config, this specific flag name does not exist.
- C
--warn-deprecated-apis=true
Why wrong: This is not a valid API server flag.
- D
--log-deprecated=true
Why wrong: Deprecation logging is managed through runtime configuration and standard audit rules.