code: func removeSessionAffinityByEndpoint(state *balancerState, svcPort proxy.ServicePortName, endpoint string) {
  	for _, affinity := range state.affinity.affinityMap {
  		if affinity.endpoint == endpoint {
  			klog.V(4).Infof("Removing client: %s from affinityMap for service %q", affinity.endpoint, svcPort)
  			delete(state.affinity.affinityMap, affinity.clientIP)
  		}
  	}
  }
docs: // Remove any session affinity records associated to a particular endpoint (for example when a pod goes down).