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

CKA study material · question 327 of 1000

Why does the documentation discourage hostPath volumes?

  1. They are limited to the kube-system namespace
  2. They present many security risks; a local PersistentVolume is preferred
  3. They require a CSI driver
  4. They cannot be mounted read-only
Show the answer

Answer: B. They present many security risks; a local PersistentVolume is preferred

hostPath is flagged as a security risk, with a local PersistentVolume recommended in its place.

Source: Volumes (Kubernetes) — hostPath

Challenge yourself on this topic → Study as cards