What This Pattern Does:

ms-emails-worker is a Helm chart for a background worker that processes email jobs off a queue. It deploys a Kubernetes Deployment and optional Service; configuration is exposed via values.yaml (image repo/tag, replicas, resources, env, pod labels/annotations, serviceAccount/RBAC). Typical settings include queue/broker connection (e.g., Kafka/RabbitMQ), SMTP or provider API keys, retry/backoff, and liveness/readiness probes. Use it to run an always-on worker for transactional or batch email sending.

Caveats and Consideration:

Requires valid SMTP credentials or an email provider API key supplied via Kubernetes Secrets; do not store secrets in values.yaml. If autoscaling is enabled, ensure metrics-server is installed. Network egress to your mail/queue provider must be allowed; configure NetworkPolicy if your cluster enforces it. Default Service type is ClusterIP (usually no Ingress needed). Some fields are immutable across upgrades (e.g., container ports); changing them may recreate pods. Resource requests/limits are conservative—tune for workload. Kubernetes ≥1.22 recommended.

Compatibility:



Recent Discussions with "meshery" Tag