diff --git a/common/.commonfiles.sha b/common/.commonfiles.sha index aa8c46965dc..ce169e4e03c 100644 --- a/common/.commonfiles.sha +++ b/common/.commonfiles.sha @@ -1 +1 @@ -f0c964858bc7cc9f02af8d0134e913f18b5169a3 +4ea7b9c984a499daa4e8369ec86a1123143d41d8 diff --git a/common/scripts/kind_provisioner.sh b/common/scripts/kind_provisioner.sh index 85b93bdaf6f..bc55f2e4f34 100644 --- a/common/scripts/kind_provisioner.sh +++ b/common/scripts/kind_provisioner.sh @@ -228,7 +228,10 @@ EOF # https://github.com/kubernetes-sigs/kind/issues/1558 tracks this upstream CONTAINER_IP=$(docker inspect "${CLUSTER_NAME}-control-plane" --format "{{ .NetworkSettings.Networks.kind.IPAddress }}") kind get kubeconfig --name "${CLUSTER_NAME}" --internal | \ - sed "s/${CLUSTER_NAME}-control-plane/${CONTAINER_IP}/g" > "${CLUSTER_KUBECONFIG}" + sed "s/${CLUSTER_NAME}-control-plane/${CONTAINER_IP}/g" > "${CLUSTER_KUBECONFIG}"+ + + # Enable core dumps + docker exec "${CLUSTER_NAME}"-control-plane bash -c "sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited" } # Now deploy the specified number of KinD clusters and