Rahti supports templating service deployment code allowing its re-use. The templates documented here are available to be launched on the Rahti Service Catalog.
The Service Catalog also lists default templates bundled with OKD which are not documented here.
How to launch a template using the CLI
First, list the templates available:
oc get -n openshift templates
Then, describe the template, so we know the list of parameters:
oc describe -n openshift template minio
Finally launch the template, for each required parameter a value must be set:
oc process openshift/minio -p ACCESSKEY=FGH \ -p SECRETKEY=DFGHJKLA \ -p CLUSTER_NAME=good-name \ -p DOMAINSUFFIX=rahtiapp.fi \ -p PVCNAME=minio-default-volume \ -p STORAGE_SIZE=1Gi
This template is for deploying a private S3 API supporting object store Minio. The template creates a single pod deployment for Minio from minio/minio public container image. The application uses a persistent volume as a backend data storage. The volume size is provided as a template parameter for a newly created persistent volume. If an existing volume of the given name exists then a new one will not be created and Rahti will issue an error message but the Minio instance will still utilize the existing volume. Please follow Minio User Guide for usage of Minio object store. And for documentation about the template itself, please go to https://github.com/CSCfi/Minio-OpenShift/.
Deploys Apache Spark cluster with Jupyter Notebook/Lab. For more information regarding the usage of this setup (including information of different variables), the documentation is currently available at https://github.com/CSCfi/spark-openshift.
Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows. The worksflows are defined as code, so that they become more maintainable, versionable, testable, and collaborative. Airflow is used to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed. The documentation is currently available at https://github.com/CSCfi/airflow-openshift/
Last edited Mon Jul 20 2020