简体   繁体   English

kubernetes如何在内部维护部署Yaml。 第一次部署后它将存储在哪里

[英]How does kubernetes maintain the deployment yaml internally. Where will be it stored after the first deployment

Once you deploy a pod, kubernetes monitors the pod health and if something goes wrong, new pod is created . 部署Pod后,kubernetes会监视Pod的运行状况,如果出现问题,则会创建新Pod。 How is this working internally. 这在内部如何运作。 After deployment, where is kubernetes storing the deployment yaml. 部署后,kubernetes在哪里存储部署yaml。

Kubernetes uses the ETCD database as data store. Kubernetes使用ETCD数据库作为数据存储。 The flow is like this. 流程是这样的。 Kubectl command connect to API server and sends the yaml file to API server. Kubectl命令连接到API服务器,并将yaml文件发送到API服务器。 API parses and store the information in ETCD database. API解析信息并将其存储在ETCD数据库中。 Kube controller and schedule looks at the ETCD database and starts the POD. Kube控制器和日程表查看ETCD数据库并启动POD。 Controller maintain the number of replica defined in the yaml file. 控制器维护yaml文件中定义的副本数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kubernetes 部署在重新启动后不会保留数据,即使在部署 yaml 附加到云文件存储 nfs 服务器之后 - Kubernetes deployment does not persist data after restart, even after deployment yaml is attached to a cloud filestore nfs server kubernetes如何只为副本编写部署Yaml - kubernetes how to write deployment yaml just for replica 如何管理kubernetes服务部署的部署配置(yaml文件) - How to manage deployment configs(yaml files) for kubernetes service deployment Kubernetes 部署。yaml - Kubernetes Deployment.yaml 如何将 docker 组合 yaml 文件转换为 Kubernetes Z6EEDC03A68A692937C763E6C74F 文件? - How to convert docker compose yaml file to Kubernetes yaml file for Deployment? Docker运行Kubernetes部署Yaml - Docker run to Kubernetes deployment yaml kubernetes kubectl run with image 是否创建部署 yaml 文件 - Does kubernetes kubectl run with image creates deployment yaml file Kubernetes 部署 YAML 文件错误 - Kubernetes Error With Deployment YAML File kubernetes 集群中的部署路径 yaml - Path of deployment yaml in kubernetes cluster 如何在不依赖于:最新的情况下自动化Kubernetes部署YAML? - How do I automate Kubernetes deployment YAML without relying on :latest?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM