Enable Event Triggers and Schedules
Enable ZenML Pro event triggers and schedules (scheduler and executor microservices) for self-hosted workspace servers on Kubernetes.
Prerequisites
What to configure in Helm
workerDeployments:
scheduler:
enabled: true
replicaCount: 1
command: ["plugins"]
args: ["start-scheduler"]
strategy:
type: Recreate
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
environment:
ZENML_STORE_POOL_SIZE: "1"
ZENML_STORE_MAX_OVERFLOW: "1"
secretEnvironment:
ZENML_REDIS_BROKER_URL: redis://zenml-redis:6379/0
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 60
timeoutSeconds: 2
failureThreshold: 3
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 2
failureThreshold: 3
executor:
enabled: true
replicaCount: 1
command: ["plugins"]
args: ["start-executor"]
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 1024Mi
environment:
ZENML_CONSUMER_WORKER_POOL_SIZE: "16"
ZENML_STORE_POOL_SIZE: "1"
ZENML_STORE_MAX_OVERFLOW: "8"
secretEnvironment:
ZENML_REDIS_BROKER_URL: redis://zenml-redis:6379/0
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 60
timeoutSeconds: 2
failureThreshold: 3
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 2
failureThreshold: 3Environment variables (reference)
Variable
Where
Purpose
Apply the change
Related behavior
Related resources
Last updated
Was this helpful?