host volume은 호스트 서버의 볼륨 공간에 Pod가 데이터를 저장하는 형태로 동작한다. Pod 내부에 데이터를 저장하지 않고 호스트에 저장하기 때문에 Pod가 사라져도 호스트 볼륨에 데이터가 남아있을 수 있다. 호스트 볼륨은 따로 리소스를 정의하지 않고 Pod를 정의할 때 spec.volumes에 Pod가 사용할 volume을 정의한다.
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes
Volume represents a named volume in a pod that may be accessed by any container in the pod.
mountPath는 컨테이너 내에서 볼륨을 정의할 경로를 뜻하고 name은 해당 볼륨을 호스트와 연결하기 위한 식별자로 사용된다.
Pod volumes to mount into the container's filesystem. Cannot be updated.
VolumeMount describes a mounting of a Volume within a container.
vct는rwo
3. 파드 / 볼륨 라이프 사이클