@flowforge/kubernetes
v1.14.0
Published
Kubernetes driver for FlowFuse
Downloads
62
Readme
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 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
) 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
- EditorDeployment
tolerations as JSON-encoded objectEDITOR_SERVICE_ACCOUNT
- Editor service account.