23

K8s——数据持久化-小手冰凉

 4 years ago
source link: https://blog.51cto.com/14227204/2530945
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
数据的持久化一直都是需要我们非常关心的问题,docker如此,K8s也不例外。在k8s中,有一个数据卷的概念。k8s数据卷主要解决了以下两方面问题:数据持久性:通常情况下,容器运行起来后,写入到其文件系统的文件时暂时性的。当容器崩溃后,kebelet将这个容器kill掉,然后生成一个新的容器,此时,新运行的容器将没有原来容器内的文件,因为容器是重新从镜像创建的。数据共享:同一个pod中运行的容器之

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK