One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
set -e | |
# Workaround for https://github.com/kubernetes-sigs/kind/issues/2045 | |
all_nodes=$(kind get nodes --name "${CLUSTER_NAME}" | tr "\n" " ") | |
declare -A nodes_table | |
ip_template="{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}" | |
echo "Saving original IPs from nodes" |