Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Get_Endpoint_Gateway_From_CIDR (0.2 sec)

  1. cluster/gce/windows/k8s-node-setup.psm1

    # For Windows nodes the pod gateway IP address is the first address in the pod
    # CIDR for the host, but from inside containers it's the second address.
    function Get_Endpoint_Gateway_From_CIDR([string] $cidr) {
      $network=Get_NetworkDecimal_From_CIDR($cidr)
      $gateway=ConvertTo_DottedDecimalIP($network+2)
      return $gateway
    }
    
    # Get pod IP range start based (the third address) on pod cidr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top