Skip to content

Instantly share code, notes, and snippets.

@mturley
Last active October 26, 2022 20:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mturley/7ba7c44cc36755d2d57b4579a9188a28 to your computer and use it in GitHub Desktop.
Save mturley/7ba7c44cc36755d2d57b4579a9188a28 to your computer and use it in GitHub Desktop.
Tackle minikube setup script
#!/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