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 from -
projectNamespace
the namespace Project pods should run in -
projectSelector
a list of labels that should be used to select which nodes Project Pods should run on -
cloudProvider
can be left unset for noneaws
deployments. This triggers the adding of AWS EKS specific annotation for ALB Ingress. -
privateCA
name of ConfigMap holding PEM CA Cert Bundle (file namecerts.pem
) Optional -
k8sRetries
how many times to retry actions against the K8s API -
k8sDelay
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 instances -
INGRESS_ANNOTATIONS
-Ingress
annotations for editor instances as JSON-encoded object -
DEPLOYMENT_TOLERATIONS
- EditorDeployment
tolerations as JSON-encoded object -
EDITOR_SERVICE_ACCOUNT
- Editor service account.