diff --git a/data/workshop/exercise5.mdx b/data/workshop/exercise5.mdx index 4913bee..d6eccf4 100644 --- a/data/workshop/exercise5.mdx +++ b/data/workshop/exercise5.mdx @@ -62,7 +62,48 @@ Click **Create**. In a minute or so you should see the Grafana operator installe With our Grafana operator now running it will be listening for the creation of a `grafana` custom resource. When one is detected the operator will deplioy the Grafana application according to the specifcation we supplied. - +Let's switch over to the **Administrator** perspective for this next task to deploy our Grafana instance. + +Under the **Operators** category in the left hand menu click on **Installed Operators**. + +In the **Installed Operators** list you should see a **Grafana Operator** entry, click into that. + +On the **Operator details** screen you will see a list of "Provided APIs". These are custom resource types that we can now deploy with the help of the operator. + +Click on **Create instance** under the provided API titled `Grafana`. + +On the next **Create Grafana** screen click on **YAML View** radio button and enter the following, replacing the two instances of `userX` with your assigned user then click **Create**. + +```yaml +apiVersion: grafana.integreatly.org/v1beta1 +kind: Grafana +metadata: + labels: + dashboards: grafana + folders: grafana + name: grafana + namespace: userX +spec: + config: + auth: + disable_login_form: 'false' + log: + mode: console + security: + admin_password: example + admin_user: example + route: + spec: + tls: + termination: edge + host: grafana-userX.apps.cluster-4dq8d.dynamic.opentlc.com +``` + + +|![grafana-deployment](/ocp-app-delivery-workshop/static/images/grafana-deployment.gif) | +|:-------------------------------------------------------------------:| +| *Deploying grafana application via the grafana operator* | + diff --git a/public/static/images/grafana-deployment.gif b/public/static/images/grafana-deployment.gif new file mode 100644 index 0000000..e664190 Binary files /dev/null and b/public/static/images/grafana-deployment.gif differ