FlowForge Docker Container Driver
FlowForge driver to create projects as docker containers
Configuration
In the flowforge.yml
file
...
driver:
type: kubernetes
options:
registry: containers.flowforge.com
projectSelector:
role: projects
projectNamespace: flowforge
cloudProvider: aws
privateCA: ff-ca-certs
k8sDelay: 1000
k8sRetries: 10
registry
is the Docker Registry to load Stack Containers fromprojectNamespace
the namespace Project pods should run inprojectSelector
a list of labels that should be used to select which nodes Project Pods
should run oncloudProvider
can be left unset for none aws
deployments. This triggers the adding of
AWS EKS specific annotation for ALB Ingress.privateCA
name of ConfigMap holding PEM CA Cert Bundle (file name certs.pem
) Optionalk8sRetries
how many times to retry actions against the K8s APIk8sDelay
how long to wait (in ms) between retries to the K8s API
Expects to pick up K8s credentials from the environment
Configuration via environment variables
Next variables are read from flowforge process environment in runtime:
INGRESS_CLASS_NAME
- Ingress
class name for editor instancesINGRESS_ANNOTATIONS
- Ingress
annotations for editor instances as JSON-encoded objectDEPLOYMENT_TOLERATIONS
- Editor Deployment
tolerations as JSON-encoded objectEDITOR_SERVICE_ACCOUNT
- Editor service account.