- minikube v1.25+ installed
- Install Tekton
Install Tekton Dashboard (optional)
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
Setkubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/latest/release.yaml
disable-affinity-assistant
equalstrue
kubectl edit configmap feature-flags -n tekton-pipelines
- Install Operator Lifecycle Management
or
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.22.0/install.sh | bash -s v0.22.0
operator-sdk olm install latest
- Install karavan operator
Check operator installation status (PHASE=Succeeded)
kubectl create -f https://operatorhub.io/install/camel-karavan-operator.yaml
kubectl get csv -n operators
- Enable Registry addons
minikube addons enable registry
- Create namespace
kubectl create namespace karavan
- Get IP address of internal registry
kubectl -n kube-system get svc registry -o jsonpath='{.spec.clusterIP}'
- Edit Karavan Secret
minikube/karavan-secret.yaml
according to enviroment and applykubectl apply -f minikube/karavan-secret.yaml -n karavan
- Create Karavan Instance and apply
kubectl apply -f minikube/karavan.yaml -n karavan
- Expose karavan application service
minikube service karavan --url --namespace karavan
- Access Tekton Dashboard
kubectl port-forward -n tekton-pipelines service/tekton-dashboard 9097:9097