#!/bin/sh CLUSTER_NAME="nuo" if [ $(kind get clusters -q | grep "${CLUSTER_NAME}") ];then podman start -f name="^${CLUSTER_NAME}" else kind create cluster --config /etc/cluster.yaml | tee -a /var/log/kind-init.log fi if [ ! $(which kubectl) ];then apk add kubectl --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community fi