Embark on an in-depth exploration of Temporal Helm Chart, a powerful tool that empowers you to harness the capabilities of Temporal in various environments. This comprehensive guide delves into the intricacies of Temporal Helm Chart, providing a clear understanding of its purpose, components, and applications.
Discover the benefits and limitations of Temporal Helm Chart, equipping you with the knowledge to make informed decisions. Gain insights into its installation and configuration processes, ensuring seamless integration into your infrastructure. Explore customization options and learn how to tailor Temporal Helm Chart to meet your specific requirements.
Contents
Temporal Helm Chart Overview

The Temporal Helm chart provides a convenient and efficient way to deploy and manage Temporal on Kubernetes. It includes all the necessary components, such as the Temporal server, workers, and dashboard, and configures them with sensible defaults.
The Temporal Helm chart offers several benefits, including:
- Simplified deployment: The Helm chart automates the deployment process, making it easy to install and configure Temporal on Kubernetes.
- Consistent configuration: The Helm chart ensures that all Temporal components are configured with the same set of options, reducing the risk of inconsistencies.
- Extensibility: The Helm chart can be customized to meet specific requirements, such as deploying Temporal on a specific Kubernetes cluster or using a custom storage provider.
However, there are also some limitations to using the Temporal Helm chart:
- Limited customization: The Helm chart provides a limited set of configuration options, which may not be sufficient for all use cases.
- Dependency on Helm: The Helm chart requires Helm to be installed and configured on the Kubernetes cluster.
- Potential for conflicts: The Helm chart may conflict with other Helm charts or Kubernetes resources that are deployed on the same cluster.
Overall, the Temporal Helm chart is a valuable tool for deploying and managing Temporal on Kubernetes. It provides a simple and consistent way to get Temporal up and running quickly, but it is important to be aware of its limitations before using it.
Installation and Configuration

Installing and configuring the Temporal Helm chart involves straightforward steps that enable you to deploy Temporal in various environments. Whether you prefer Kubernetes, Docker, or minikube, the Helm chart provides a streamlined process for setting up Temporal.
Prerequisites
Before embarking on the installation process, ensure that you have the following prerequisites in place:
- A Kubernetes cluster with Helm installed.
- kubectl configured to communicate with the cluster.
Helm Chart Installation
To install the Temporal Helm chart, execute the following command:
helm repo add temporal https://helm.temporal.io helm install temporal temporal/temporal
This command adds the Temporal Helm repository and installs the Temporal chart. The chart creates the necessary Kubernetes resources, including a StatefulSet for the Temporal servers and a Service for exposing the Temporal API.
Configuration
Once the Helm chart is installed, you can configure Temporal by modifying the values.yaml file. This file contains various settings that allow you to customize Temporal's behavior. Some common configuration options include:
- The number of Temporal servers to deploy.
- The storage backend to use (e.g., Cassandra, PostgreSQL).
- The size of the Temporal history archive.
After making the desired changes to the values.yaml file, apply them to the Helm release using the following command:
helm upgrade temporal temporal/temporal -f values.yaml
Deployment in Different Environments
The Temporal Helm chart supports deployment in various environments, including:
- Kubernetes: Follow the steps Artikeld above for a standard Kubernetes deployment.
- Docker: Use the `temporal/temporal-docker` image to run Temporal in a Docker container.
- minikube: Deploy Temporal on a minikube cluster using the `helm install` command with the `--namespace minikube` flag.
Helm Chart Customization
The Temporal Helm chart offers extensive customization options to tailor it to specific requirements. By modifying the chart values, users can configure various aspects of the Temporal deployment, including persistence, autoscaling, and other settings.
Customizing the Helm chart involves editing the values.yaml file, which contains the default configuration parameters. Users can override these defaults by specifying custom values in the values.yaml file.
Persistence
Temporal supports different persistence options, including in-memory, PostgreSQL, and Cassandra. To configure persistence, users can set the following values in the values.yaml file:
- persistence.type: Specifies the persistence type (in-memory, postgres, or cassandra)
- persistence.postgres.host: Hostname or IP address of the PostgreSQL database
- persistence.postgres.port: Port number of the PostgreSQL database
- persistence.cassandra.host: Hostname or IP address of the Cassandra database
- persistence.cassandra.port: Port number of the Cassandra database
Autoscaling
Temporal can be configured to autoscale based on CPU or memory utilization. To enable autoscaling, users can set the following values in the values.yaml file:
- autoscaling.enabled: Enables or disables autoscaling
- autoscaling.minReplicas: Minimum number of replicas to maintain
- autoscaling.maxReplicas: Maximum number of replicas to maintain
- autoscaling.targetCPUUtilizationPercentage: Target CPU utilization percentage for autoscaling
- autoscaling.targetMemoryUtilizationPercentage: Target memory utilization percentage for autoscaling
Other Settings
In addition to persistence and autoscaling, users can customize various other settings, such as:
- image.tag: Sets the Temporal image tag
- resources.limits.cpu: Sets the CPU limit for the Temporal containers
- resources.limits.memory: Sets the memory limit for the Temporal containers
- env: Sets environment variables for the Temporal containers
Troubleshooting and Maintenance

Ensuring the smooth operation of the Temporal Helm chart requires addressing potential issues and implementing maintenance best practices. This section provides guidance on troubleshooting common problems and maintaining the chart for optimal performance.
Troubleshooting
-
Failed Pod Startup
If Pods fail to start, check the following:
- Pod logs for error messages
- Resource limits and requests in the chart values
- Availability of persistent storage for data
-
Database Connectivity Issues
If Temporal cannot connect to the database, ensure that:
- The database is running and accessible
- The correct database credentials are provided in the chart values
- The network connection between Temporal and the database is open
-
Worker Scaling Issues
If Temporal workers are not scaling as expected, check:
- The autoscaling settings in the chart values
- Metrics and logs for worker utilization and performance
- Resource availability and limits on the Kubernetes cluster
Maintenance
-
Updating the Helm Chart
To update the Temporal Helm chart, follow these steps:
- Review the release notes for breaking changes
- Backup your existing Temporal installation
- Upgrade the Helm chart using the appropriate commands
- Monitor the upgrade process and check for any errors
-
Performing Backups
Regular backups ensure data integrity and facilitate disaster recovery. To perform a backup, consider:
- Using the Temporal CLI backup command
- Scheduling automated backups
- Storing backups in a secure and accessible location
-
Monitoring and Logging
Effective monitoring and logging provide insights into Temporal's performance and health. Implement:
- Prometheus metrics for key performance indicators
- Logging to capture events and errors
- Regular review of metrics and logs for potential issues
Advanced Usage

The Temporal Helm chart provides a flexible and extensible framework for deploying and managing Temporal in a variety of advanced scenarios. These scenarios include:
- Deploying Temporal in a multi-cluster environment
- Integrating Temporal with other services
- Creating custom metrics and dashboards
Deploying Temporal in a Multi-Cluster Environment
The Temporal Helm chart can be used to deploy Temporal in a multi-cluster environment, where multiple Temporal clusters are deployed across different physical or virtual machines. This can be useful for achieving high availability, scalability, and performance.
To deploy Temporal in a multi-cluster environment, you can use the --cluster-name flag to specify the name of the cluster that you want to deploy. You can also use the --num-clusters flag to specify the number of clusters that you want to deploy.
Integrating Temporal with Other Services, Temporal helm chart
The Temporal Helm chart can be used to integrate Temporal with other services, such as databases, message queues, and web servers. This can be useful for building complex and scalable applications that use Temporal to orchestrate workflows.
To integrate Temporal with other services, you can use the --external-services flag to specify the hostnames and ports of the services that you want to integrate with.
Creating Custom Metrics and Dashboards
The Temporal Helm chart can be used to create custom metrics and dashboards for monitoring the performance of your Temporal cluster. This can be useful for identifying bottlenecks, diagnosing problems, and optimizing performance.
To create custom metrics and dashboards, you can use the --metrics-config flag to specify the configuration for the metrics that you want to collect. You can also use the --dashboards-config flag to specify the configuration for the dashboards that you want to create.
Ending Remarks
This guide culminates in a discussion of advanced usage scenarios, empowering you to leverage Temporal Helm Chart for complex deployments and integrations. Whether you're a seasoned developer or just starting your Temporal journey, this comprehensive resource will guide you through the intricacies of Temporal Helm Chart, enabling you to unlock its full potential.
FAQ Insights
What is the purpose of Temporal Helm Chart?
Temporal Helm Chart simplifies the deployment and management of Temporal in Kubernetes environments, providing a streamlined and efficient approach to workflow automation.
What are the benefits of using Temporal Helm Chart?
Temporal Helm Chart offers several advantages, including simplified installation, ease of configuration, and the ability to customize Temporal deployments to meet specific requirements.
How can I customize Temporal Helm Chart?
Temporal Helm Chart provides extensive customization options, allowing you to configure persistence, autoscaling, and other settings to tailor your deployment to your specific needs.


