Study. uk . com
  1. Home
  2. All questions
  3. Question 941

CKA study material · question 941 of 1000

An operator looks for --log-file on a current Kubernetes component and cannot find it. What is the current behaviour?

  1. It moved into each component's configuration file
  2. It was renamed --klog-file
  3. It was removed; components always write to stderr
  4. It applies only when systemd is absent
Show the answer

Answer: C. It was removed; components always write to stderr

The klog flags that redirected output were deprecated and then removed; output always goes to stderr and redirection is the invoking system's job.

Source: System Logs (Kubernetes) — Klog

Challenge yourself on this topic → Study as cards