Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cidr_to_ips (0.17 sec)

  1. common/scripts/kind_provisioner.sh

          METALLB_IPS4+=("$ip")
        done < <(cidr_to_ips "$DOCKER_KIND_SUBNET" | tail -n 100)
        METALLB_IPS6=()
        if [[ "$(docker inspect kind | jq '.[0].IPAM.Config | length' -r)" == 2 ]]; then
          # Two configs? Must be dual stack.
          DOCKER_KIND_SUBNET="$(docker inspect kind | jq '.[0].IPAM.Config[1].Subnet' -r)"
          while read -r ip; do
            METALLB_IPS6+=("$ip")
          done < <(cidr_to_ips "$DOCKER_KIND_SUBNET" | tail -n 100)
        fi
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
Back to top