DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Kubernetes hostPath

Container Orchestration

A Kubernetes hostPath is a volume that mounts a file or folder from the node's own disk into a Pod. The container then reads and writes the node's files directly (for example, a log agent reading /var/log). It is a security risk, because a container with access to the wrong path can take over the node, so many clusters restrict it.

Patent-style sketch of a Kubernetes hostPath: a Pod box sits on a node drawn as a machine base, and a hostPath mount pipe runs from the Pod down into an open drawer, the node directory.

See also Kubernetes IngressClass, Kubernetes Init Container, Kubernetes Job, Kubernetes Labels and Selectors, Kubernetes LimitRange, Kubernetes Liveness Probe.