Follow the steps below to provision the minikube cluster and install Konveyor.
Follow the steps below to provision minikube for single users deploying Konveyor on a workstation. These steps will configure minikube and enable:
Procedure
<profile name>
with your choice of minikube profile name.[user@user ~]$ minikube start --memory=10g -p <profile name>
[user@user ~]$ minikube addons enable ingress -p <profile name>
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.25.0/install.sh | bash -s v0.25.0
Operators are a structural layer that manages resources deployed on Kubernetes (database, front end, back end) to automatically create a Konveyor instance instead of doing it manually.
Follow the steps below to install the Konveyor Operator in the my-konveyor-operator
namespace (default) on any Kubernetes distribution, including minikube.
Procedure
[user@user ~]$ kubectl create -f https://operatorhub.io/install/konveyor-0.2/konveyor-operator.yaml
This step will create the my-konveyor-operator
namespace, catalogsource and other OLM related objects.
If you need to deploy a latest beta release build please use the below url
[user@user ~]$ kubectl create -f https://operatorhub.io/install/beta/konveyor-operator.yaml
If you need to deploy a latest available build please follow the steps below,
apiVersion: v1
kind: Namespace
metadata:
name: my-konveyor-operator
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: konveyor
namespace: my-konveyor-operator
spec:
displayName: Konveyor Operator
publisher: Konveyor
sourceType: grpc
image: quay.io/konveyor/tackle2-operator-index:latest
---
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: konveyor
namespace: my-konveyor-operator
spec:
targetNamespaces:
- my-konveyor-operator
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: konveyor-operator
namespace: my-konveyor-operator
spec:
channel: development
installPlanApproval: Automatic
name: konveyor-operator
source: konveyor
sourceNamespace: my-konveyor-operator
Note: Latest builds are built nightly. It strictly for developmental purpose and not to be used in production.
[user@user ~]$ kubectl get pods -n my-konveyor-operator
Follow the steps below to initiate the Tackle instance and set a custom resource (CR) with the tackle_hub.yaml file. CRs can be customized to meet the project needs.
Procedure
[user@user ~]$ cat << EOF | kubectl apply -f -
kind: Tackle
apiVersion: tackle.konveyor.io/v1alpha1
metadata:
name: tackle
namespace: my-konveyor-operator
spec:
rwx_supported: "false"
feature_auth_required: "false"
EOF
[user@user ~]$ kubectl get pods -n my-konveyor-operator
Note: This can take one to five minutes depending on the cluster resources.
Follow the steps below to log in to the Konveyor web console.
Procedure
[user@user ~]$ minikube dashboard -p <profile name>
my-konveyor-operator
tackle
ingress ingress to launch the Konveyor web console in a new browser window.Note: This may default to
http://$IP_ADDR
and fail to load, if so switch tohttps://$IP_ADDR
In some cases, it could still fail to load, open the terminal and type in
kubectl port-forward service/tackle-ui 8080:8080 -n my-konveyor-operator
and then access the webpage by visitinglocalhost:8080
admin
/Passw0rd!