mirror of https://github.com/istio/istio.io.git
Automator: update common-files@master in istio/istio.io@master (#9071)
This commit is contained in:
parent
d3a89fae28
commit
3709431b6a
|
|
@ -1 +1 @@
|
||||||
f0c964858bc7cc9f02af8d0134e913f18b5169a3
|
4ea7b9c984a499daa4e8369ec86a1123143d41d8
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,10 @@ EOF
|
||||||
# https://github.com/kubernetes-sigs/kind/issues/1558 tracks this upstream
|
# https://github.com/kubernetes-sigs/kind/issues/1558 tracks this upstream
|
||||||
CONTAINER_IP=$(docker inspect "${CLUSTER_NAME}-control-plane" --format "{{ .NetworkSettings.Networks.kind.IPAddress }}")
|
CONTAINER_IP=$(docker inspect "${CLUSTER_NAME}-control-plane" --format "{{ .NetworkSettings.Networks.kind.IPAddress }}")
|
||||||
kind get kubeconfig --name "${CLUSTER_NAME}" --internal | \
|
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
|
# Now deploy the specified number of KinD clusters and
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue