-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
App Services Sprint 181, App Services Sprint 183, App Services Sprint 184
Precondition: 1. Once APPSVC-471 is implemented, following steps will install the operator managed backing service. in this example script will install postgress database.
2. backing service operators are installed in the package manifest name as "db-operators"
Steps:
1. Issue the following command to install the backing service operator source:
make install-backing-db-operator-source
2. Issue the following command to fetch the "db-operators" entry to the packagemanifest
oc get packagemanifest | grep db-operators
3. Issue the following command the install a subscription
make install-backing-db-operator-subscription
4. Issue the below command with namespace - openshift-operators and extract the Name field for db operator (Name of the install plan)
oc get ip -n openshift-operators (where ip is install plan)
5. Issue the below command with install plan name to extract the status of installation as "Completed":
oc get ip -n openshift-operators <<Name>> -o jsonpath='
6. As the operator is running inside a container of a pod, Issue the below command to extract the pod "Name" field from the list of running pods in the namespace. Also check the 'Status' field for 'Running'
oc get pods -n openshift-operators
7. Issue the below command once a running pod Name is captured from step 4 and validate the status as 'Running'
oc get pod <<Name of pod(from step 4)>> -n openshift-operators -o jsonpath='{.status.phase}