Last active
October 26, 2022 20:19
-
-
Save mturley/7ba7c44cc36755d2d57b4579a9188a28 to your computer and use it in GitHub Desktop.
Tackle minikube setup script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
minikube config set memory 10240 | |
minikube config set cpus 4 | |
minikube stop | |
minikube delete | |
minikube start --addons=dashboard --addons=ingress --addons=olm | |
kubectl apply -f https://raw.githubusercontent.com/konveyor/tackle2-operator/main/tackle-k8s.yaml | |
echo "Waiting for Tackle CRD to be established... (this may take a while)" | |
while ! oc -n konveyor-tackle wait --for condition=established --timeout=60s crd/tackles.tackle.konveyor.io 2>/dev/null | |
do | |
sleep 1 | |
done | |
cat << EOF | kubectl apply -f - | |
kind: Tackle | |
apiVersion: tackle.konveyor.io/v1alpha1 | |
metadata: | |
name: tackle | |
namespace: konveyor-tackle | |
spec: | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment