Chapter 3. Installing Connectivity Link on OpenShift from the command line
You must perform these steps on each OpenShift cluster that you want to use Connectivity Link on.
Prerequisites
Procedure
Create the namespace where you want to install the Operator as follows, for example,
kuadrant-system:kubectl create ns kuadrant-systemTo install the Connectivity Link Operator, enter the following command:
kubectl apply -f - <<EOF apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: rhcl-operator namespace: kuadrant-system spec: channel: stable installPlanApproval: Automatic name: rhcl-operator source: redhat-operators sourceNamespace: openshift-marketplace --- kind: OperatorGroup apiVersion: operators.coreos.com/v1 metadata: name: kuadrant namespace: kuadrant-system spec: upgradeStrategy: Default EOFWait for the Connectivity Link Operators to be installed as follows:
kubectl get installplan -n kuadrant-system -o=jsonpath='{.items[0].status.phase}'After some time, this command will return
Completewhen ready.To create your Connectivity Link deployment, enter the following command:
kubectl apply -f - <<EOF apiVersion: kuadrant.io/v1beta1 kind: Kuadrant metadata: name: kuadrant namespace: kuadrant-system EOFWait for Kuadrant to be ready as follows:
kubectl wait kuadrant/kuadrant --for="condition=Ready=true" -n kuadrant-system --timeout=300sThis command will return
Completewhen ready.
Additional resources