node 详解

版本

详解

kind: Node
apiVersion: core/v1

metadata: (ObjectMeta)
  annotations:
  clusterName: 
  creationTimestamp: 不需要设置此值,服务端自动生成
  deletionGracePeriodSeconds: 优雅删除时间,只有在deletionTimestamp:生效的时候才有效,Read-Only
  deletionTimestamp: 服务端设置,客户端不能设置
  finalizers: 
  generation:
  labels: 用于副本控制器及服务的匹配标签
  managedFields: 
  name: 
  namespace: 
  ownerReferences: 
  resourceVersion: 
  selfLink: 
  uid: 
spec: (NOdeSpec)
  configSource: (NodeConfigSource)
  externalID: (string)
  podCIDR: (string)
  podCIDRs: (string array )
  providerID: (string)
  taints: (Taint array)
  - 
  unschedulable: (boolean),node默认是可以调度的,如果要让节点不可调度,设置为:false