Configuration
Environment variables
K8S
STORAGE_CLASS: defines the k8s RWX storage class for Calrissian. Defaults tolonghornKEEP_SESSION: if set totrue, the session and thus the kubernetes namespace is not deleted
Calrissian resources
SCATTER_MULTIPLIER: scatter factor multiplier. Defaults to2.
CWL Wrapper
The cwl-wrapper templates can be customized with the environment variables:
WRAPPER_STAGE_IN: CWL stage-in template for cwl-wrapper. Defaults to/assets/stagein.yamlWRAPPER_STAGE_OUT: CWL stage-out template for cwl-wrapper. Defaults to/assets/stageout.yamlWRAPPER_MAIN: cwl-wrapper main template. Defaults to/assets/maincwl.yamlWRAPPER_RULES: cwl-wrapper rules template Defaults to/assets/rules.yaml
Calrissian
Calrissian and its runtime context can be customized with:
CALRISSIAN_IMAGE: Calrissian container imageDEFAULT_VOLUME_SIZE: default volume size for the RWX volume used by Calrissian. Expressed in mebibytes (2**20). Defaults to10000DEFAULT_MAX_CORES: maximum number of cores used by Calrissian pods. Defaults to2DEFAULT_MAX_RAM: maximum RAM used by Calrissian pods.
Pre-existing namespace
Per default, pycalrissian create a dedicated namespace per job. To modify this behavior and enable reusing a pre-existing namespace, you can use the following environment variable.
USE_NAMESPACE: define the name of the pre-existing namespace that pycalrissian should use for the pods associated with the workflow execution,USE_SERVICE_ACCOUNT: define a specific service account name to use, optional, if not provided value is "default".