如果我更改 nodeSelector,Kubernetes 会触发新的部署吗?
If I change nodeSelector, will Kubernetes trigger a new deployment?
如果我更改 nodeSelector
,Kubernetes 会触发新的部署吗?
我在一个节点上部署了一组pods。如果我更改节点,部署将自动完成?
是的,参见 Updating a deployment。
Note: A Deployment's rollout is triggered if and only if the
Deployment's Pod template (that is, .spec.template) is changed, for
example if the labels or container images of the template are updated.
Other updates, such as scaling the Deployment, do not trigger a
rollout.
如果我更改 nodeSelector
,Kubernetes 会触发新的部署吗?
我在一个节点上部署了一组pods。如果我更改节点,部署将自动完成?
是的,参见 Updating a deployment。
Note: A Deployment's rollout is triggered if and only if the Deployment's Pod template (that is, .spec.template) is changed, for example if the labels or container images of the template are updated. Other updates, such as scaling the Deployment, do not trigger a rollout.