【发布时间】:2017-10-24 02:44:14
【问题描述】:
我想创建一个 Kubernetes 集群。
我想要一个集群,其中包含高可用性的主节点、工作节点和代理节点,并且在这两个位置都有节点。
是否记录了位置之间支持的最大距离或延迟? 此外,我希望能提供官方文档的链接,但我找不到任何相关内容。
谢谢。
【问题讨论】:
标签: kubernetes
我想创建一个 Kubernetes 集群。
我想要一个集群,其中包含高可用性的主节点、工作节点和代理节点,并且在这两个位置都有节点。
是否记录了位置之间支持的最大距离或延迟? 此外,我希望能提供官方文档的链接,但我找不到任何相关内容。
谢谢。
【问题讨论】:
标签: kubernetes
kubernetes 集群中的节点之间没有延迟限制。它们是可配置的参数。
对于工作节点上的kubelet,它是:
--node-status-update-frequency duration Specifies how often kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller. (default 10s)
对于主节点上的controller-manager,它们是:
--node-monitor-grace-period duration Amount of time which we allow running Node to be unresponsive before marking it unhealthy. Must be N times more than kubelet's nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet to post node status. (default 40s)
--node-monitor-period duration The period for syncing NodeStatus in NodeController. (default 5s)
--node-startup-grace-period duration Amount of time which we allow starting Node to be unresponsive before marking it unhealthy. (default 1m0s)
【讨论】: