docker persistent storage for openshift cluster

房东的猫 提交于 2021-01-29 15:00:31

问题


while trying to install openshift 3.11 ( okd ) , they ask to setup a persistent storage for each node because it's needed for the container deamon and for etcd/web console container for master nodes.

You must configure storage for all master and node hosts because by default each system runs a container daemon. For containerized installations, you need storage on masters. Also, by default, the web console and etcd, which require storage, run in containers on masters. Containers run on nodes, so storage is always required on them. https://docs.okd.io/latest/install/host_preparation.html#configuring-docker-storage

farther in the openshift documentation there is a section on how to setup a persistent storage ( network storage) for the cluster

The Kubernetes persistent volume framework allows you to provision an OKD cluster with persistent storage using networked storage available in your environment.
https://docs.okd.io/latest/install_config/persistent_storage/index.html

i'm confused on why should we configure twice a persistent storage , so my questions are :

Question 1 : does the docker persistent storage can be setup only on the host ? or it can be setup using a network storage ( NFS , GlusterFS , ... ) ?

Question 2 : what is the container daemon that is being run on all hosts ? and why do we need to persist it generated data ?

Question 3 : does having a docker persistent storage is an openshift requirement ?

Question 4 : am i going to have a conflict if i configure a persistant storage for docker and an other one for openshift ? or we need both ?

来源:https://stackoverflow.com/questions/60561245/docker-persistent-storage-for-openshift-cluster

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!