ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
Though in Kubernetes, a ReplicaSet is the resource that manages replicating a containerized application, so it is not a best practice to use it directly.Instead, you use the Deployment resource. A Deployment combines the replication capabilities of ReplicaSet with versioning and the ability to perform a staged rollout. By using a Deployment you can use Kubernetes’ built-in tooling to move from one version of the application to the next. Pods and other Kubernetes resources are usually created by posting a JSON or YAMLmanifest to the Kubernetes REST API endpoint 获取pod服务的yaml文件。 kubectl get po kubia-zxzij -o yaml