原文:https://kubernetes.io/docs/concepts/architecture/nodes/
node是kubernetes集群中的工作节点,可以是虚拟机也可以是物理机。node节点上运行一些服务用来运行pod以及与master通信等。一个node上的服务包括docker运行时环境、kubelet、kube-proxy以及其它一些可选的add-ons。
节点状态
node的状态包含如下几个方面的信息:
- Addresses
- Condition
- Capacity
- Info
Addresses
节点的地址信息由node的配置决定,包含如下三项:
- HostName:同node内核决定的主机名,可以由kubelet的--hostname-override选项覆盖。
- ExternalIP:外网访问IP。
- InternalIP:内网IP,集群内部的私有地址。
Conditions
Conditions描述所有处于RUNNING状态的节点信息。
Node Condition | Description |
---|---|
OutOfDisk |
True if there is insufficient free space on the node for adding new pods, otherwise False |
Ready |
True if the node is healthy and ready to accept pods, |