code: func (n *NodeInfo) RemoveNode(node *v1.Node) error {
  	// We don't remove NodeInfo for because there can still be some pods on this node -
  	// this is because notifications about pods are delivered in a different watch,
  	// and thus can potentially be observed later, even though they happened before
  	// node removal. This is handled correctly in cache.go file.
  	n.node = nil
  	n.allocatableResource = &Resource{}
  	n.taints, n.taintsErr = nil, nil
  	n.memoryPressureCondition = v1.ConditionUnknown
  	n.diskPressureCondition = v1.ConditionUnknown
  	n.pidPressureCondition = v1.ConditionUnknown
  	n.imageStates = make(map[string]*ImageStateSummary)
  	n.generation = nextGeneration()
  	return nil
  }
docs: // RemoveNode removes the overall information about the node.