-
Using the OpenShift console, Select Operators → OperatorHub, then select the Red Hat Quay Operator. If there is more than one, be sure to use the Red Hat certified Operator and not the community version.
-
The Installation page outlines the features and prerequisites:
-
Select Install. The Operator Installation page appears.
-
The following choices are available for customizing the installation:
-
Update Channel: Choose the update channel, for example,
stable-3.6
for the latest release. -
Installation Mode: Choose
All namespaces on the cluster
if you want the Operator to be available cluster-wide. ChooseA specific namespace on the cluster
if you want it deployed only within a single namespace. It is recommended that you install the Operator cluster-wide. If you choose a single namespace, the monitoring component will not be available by default. -
Approval Strategy: Choose to approve either automatic or manual updates. Automatic update strategy is recommended.
-
-
Select Install.
-
After a short time, you will see the Operator installed successfully in the Installed Operators page.
-
Worker nodes must be labeled with a label
cluster.ocs.openshift.io/openshift-storage=
-
The default storage class is set to
gp2
(AWS)
$ oc apply --kustomize kustomize/odf-operator/base
# Wait until the odf-operator csvs are fully deployed (All csvs must reach the phase Succeeded)
$ oc get csv --namespace openshift-storage
# Deploy an ODF instance on AWS
$ oc apply --kustomize kustomize/odf-instance/overlays/aws
# Watch for the status of the Available condition to change to True
$ oc get storagecluster \
--namespace openshift-storage \
--output jsonpath='{.items[0].status.conditions[?(@.type=="Available")].status}'
# install nooba (optional as it should have been setup already by odf)
$ oc apply --kustomize kustomize/noobaa-gateway/base
..
$ oc get -n openshift-storage noobaas noobaa -w
..
# make the PersistentVolume backing store the default
$ oc patch bucketclass noobaa-default-bucket-class --patch '{"spec":{"placementPolicy":{"tiers":[{"backingStores":["noobaa-pv-backing-store"]}]}}}' --type merge -n openshift-storage
-
Create a namespace, for example,
quay-enterprise
. -
Select Operators → Installed Operators, then select the Quay Operator to navigate to the Operator detail view.
-
Click 'Create Instance' on the 'Quay Registry' tile under 'Provided APIs'.
-
Optionally change the 'Name' of the
QuayRegistry
. This will affect the hostname of the registry. All other fields have been populated with defaults. -
Click 'Create' to submit the
QuayRegistry
to be deployed by the Quay Operator. -
You should be redirected to the
QuayRegistry
list view. Click on theQuayRegistry
you just created to see the details view. -
Once the 'Registry Endpoint' has a value, click it to access your new Quay registry via the UI. You can now select 'Create Account' to create a user and sign in.