- Openshift 4.3+ Deployment
- Block Storage (Preferable with storage class)
- Head to the Operator section in the Admin Overview and go to the OperatorHub
- Choose which version of the EDDI Operator to use (Marketplace or normal)
- Click install and leave the defaults (All Namespaces, Update Channel alpha and Approval Strategy Automatic)
- Click subscribe
After the installation of the operator, go to the installed Operators menu point and click on the first EDDI menu on top and create a new Instance. Below is a minimal CustomResource. The storageclass_name has to be changed to the name of an existing StorageClass, the environment variable will be added as a label to the mongoDB deployment.
apiVersion: labs.ai/v1alpha1
kind: Eddi
metadata:
name: eddi
spec:
size: 1
mongodb:
environment: prod
storageclass_name: managed-nfs-storage
storage_size: 20G
The operator will create a route automatically so you can access the EDDI admin panel. Per default the route will take the name of the CR. With the CR from above the route would look like this: eddi-route-$NAMESPACE.apps.ocp.example.com
($NAMESPACE will be the name of the project where the CR was created.)