From 7b047a9b214d77b9a3d90165f803465ff933e75b Mon Sep 17 00:00:00 2001 From: Xin Date: Mon, 30 Nov 2015 09:54:08 +0800 Subject: [PATCH 1/2] Issue# 17860 Correct expression of nodecontroller for sync loop in node.html 1. Remove "creates" from the sentence 2. Add general explaination for nodecontaoller https://github.com/kubernetes/kubernetes/issues/17860 --- docs/admin/node.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/admin/node.md b/docs/admin/node.md index a974b27fb83..0841f118cc0 100644 --- a/docs/admin/node.md +++ b/docs/admin/node.md @@ -167,7 +167,7 @@ Node controller is a component in Kubernetes master which manages Node objects. It performs two major functions: cluster-wide node synchronization and single node life-cycle management. -Node controller has a sync loop that creates/deletes Nodes from Kubernetes +Node controller has a sync loop that deletes Nodes from Kubernetes based on all matching VM instances listed from the cloud provider. The sync period can be controlled via flag `--node-sync-period`. If a new VM instance gets created, Node Controller creates a representation for it. If an existing @@ -178,6 +178,12 @@ join a node to a Kubernetes cluster, you as an admin need to make sure proper se running in the node. In the future, we plan to automatically provision some node services. +In general, node controller is responsible for updating the NodeReady condition of node +status to ConditionUnknown when a node becomes unreachable (e.g. due to the node being down), +and then later evicting all the pods from the node (using graceful termination) if the node +continues to be unreachable. (The current timeouts for those are 40s and 5m, respectively.) +It also allocates CIDR blocks to the new nodes. + ### Self-Registration of Nodes When kubelet flag `--register-node` is true (the default), the kubelet will attempt to From 128ce59bf12ee7a641601a711998614843459780 Mon Sep 17 00:00:00 2001 From: Xin Date: Mon, 30 Nov 2015 09:54:08 +0800 Subject: [PATCH 2/2] Issue# 17860 Correct expression of nodecontroller for sync loop in node.html 1. Remove "creates" from the sentence 2. Add general explaination for nodecontaoller https://github.com/kubernetes/kubernetes/issues/17860 --- docs/admin/node.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/admin/node.md b/docs/admin/node.md index a974b27fb83..b3f51d83807 100644 --- a/docs/admin/node.md +++ b/docs/admin/node.md @@ -167,7 +167,7 @@ Node controller is a component in Kubernetes master which manages Node objects. It performs two major functions: cluster-wide node synchronization and single node life-cycle management. -Node controller has a sync loop that creates/deletes Nodes from Kubernetes +Node controller has a sync loop that deletes Nodes from Kubernetes based on all matching VM instances listed from the cloud provider. The sync period can be controlled via flag `--node-sync-period`. If a new VM instance gets created, Node Controller creates a representation for it. If an existing @@ -178,6 +178,12 @@ join a node to a Kubernetes cluster, you as an admin need to make sure proper se running in the node. In the future, we plan to automatically provision some node services. +In general, node controller is responsible for updating the NodeReady condition of node +status to ConditionUnknown when a node becomes unreachable (e.g. due to the node being down), +and then later evicting all the pods from the node (using graceful termination) if the node +continues to be unreachable. (The current timeouts for those are 40s and 5m, respectively.) +It also allocates CIDR blocks to the new nodes. + ### Self-Registration of Nodes When kubelet flag `--register-node` is true (the default), the kubelet will attempt to