code: func DefaultAdvertiseAddress(s *genericoptions.ServerRunOptions, insecure *genericoptions.DeprecatedInsecureServingOptions) error {
  	if insecure == nil {
  		return nil
  	}
  
  	if s.AdvertiseAddress == nil || s.AdvertiseAddress.IsUnspecified() {
  		hostIP, err := utilnet.ChooseBindAddress(insecure.BindAddress)
  		if err != nil {
  			return fmt.Errorf("unable to find suitable network address.error='%v'. "+
  				"Try to set the AdvertiseAddress directly or provide a valid BindAddress to fix this", err)
  		}
  		s.AdvertiseAddress = hostIP
  	}
  
  	return nil
  }
docs: // DefaultAdvertiseAddress sets the field AdvertiseAddress if
  // unset. The field will be set based on the SecureServingOptions. If
  // the SecureServingOptions is not present, DefaultExternalAddress
  // will fall back to the insecure ServingOptions.