쿠버네티스 스토리지
Ways to provide both long-term and temporary storage to Pods in your cluster.
볼륨
https://kubernetes.io/docs/concepts/storage/volumes/
Volumes
On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem is the loss of files when a container crashes. The kubelet restarts the container but with a clean state. A second
kubernetes.io
도커가 저장하고 관리하는 법
- 그러기 위해서는 도커의 레이어드 아키텍쳐를 이해해야함.
- 도커파일의 각명령어 대로 레이어가 생기는 거임.
- 만약 새로운거로 뒤에 2개가바뀌면 그냥 2개만 새로운 레이어드만 만듬
- 이렇게 다하고나면 마지막에 컨테이너 레이어를 만들고 로그나 이런것들 저장함.
- 즉, 리드 write 다되게함. 레이어들은 read only임.
Docker Volume , 데이터 저장은? <ing>
https://www.daleseo.com/docker-volumes-bind-mounts/ Docker 컨테이너에 데이터 저장 (볼륨/바인드 마운트) Engineering Blog by Dale Seo www.daleseo.com 하아 이틀간 겁나게 뺑이 쳤다. 도커의 데이터 저장..
leehands.tistory.com
[Docker] 컨테이너의 구조
Union File System Union Mount 복수의 파일시스템을 하나의 파일시스템으로 마운트하는 기능으로, 두 파일 시스템에서 동일한 파일이 있다면 나중에 마운트된 파일 시스템의 파일을 오버레이한다. 하
devaom.tistory.com