diff --git a/hack/allocate.sh b/hack/allocate.sh index c2dcae3ac..c271f5440 100755 --- a/hack/allocate.sh +++ b/hack/allocate.sh @@ -60,19 +60,22 @@ kubernetes() { cat < ipFamilyPolicy: PreferDualStack +8861a8863,8865 +> - "--stats-address=::" +> - "--envoy-service-http-address=::" +> - "--envoy-service-https-address=::" +9500a9505,9507 +> - "--stats-address=::" +> - "--envoy-service-http-address=::" +> - "--envoy-service-https-address=::" +EOF + $KUBECTL apply -f "${tmp_yaml}" + rm "${tmp_yaml}" + sleep 5 $KUBECTL wait pod --for=condition=Ready -l '!job-name' -n contour-external --timeout=10m @@ -205,9 +225,6 @@ networking() { --type merge \ --patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}' - echo "Patching contour to prefer duals-tack" - kubectl patch -n contour-external svc/envoy --type merge --patch '{"spec":{"ipFamilyPolicy":"PreferDualStack"}}' - $KUBECTL wait pod --for=condition=Ready -l '!job-name' -n contour-external --timeout=10m $KUBECTL wait pod --for=condition=Ready -l '!job-name' -n knative-serving --timeout=10m echo "${green}✅ Ingress${reset}" @@ -336,6 +353,35 @@ dapr_runtime() { dapr_flags="--image-registry=ghcr.io/dapr --log-as-json" fi + # hack to patch dapr to work on IPv6 + (sleep 5; + $KUBECTL patch statefulset dapr-scheduler-server -n dapr-system --patch-file /dev/stdin <