Home

Awesome

temporal-operator

The Kubernetes Operator to deploy and manage Temporal clusters.

Using this operator, deploying a Temporal Cluster on Kubernetes is as easy as deploying the following manifest:

apiVersion: temporal.io/v1beta1
kind: TemporalCluster
metadata:
  name: prod
  namespace: demo
spec:
  version: 1.24.3
  numHistoryShards: 1
  persistence:
    defaultStore:
      sql:
        user: temporal
        pluginName: postgres
        databaseName: temporal
        connectAddr: postgres.demo.svc.cluster.local:5432
        connectProtocol: tcp
      passwordSecretRef:
        name: postgres-password
        key: PASSWORD
    visibilityStore:
      sql:
        user: temporal
        pluginName: postgres
        databaseName: temporal_visibility
        connectAddr: postgres.demo.svc.cluster.local:5432
        connectProtocol: tcp
      passwordSecretRef:
        name: postgres-password
        key: PASSWORD

Documentation

The documentation is available at: https://temporal-operator.pages.dev/.

Quick start

To start using the Operator and deploy you first cluster in a matter of minutes, follow the documentation's getting started guide.

Examples

Somes examples are available to help you get started:

Compatibility matrix

The following table shows operator compatibility with Temporal and Kubernetes. Please note this table only reports end-to-end tests suite coverage, others versions may work.

Temporal OperatorTemporalKubernetes
v0.21.x (not released)v1.20.x to v1.25.xv1.27 to v1.31
v0.20.xv1.19.x to v1.24.xv1.26 to v1.30
v0.19.xv1.19.x to v1.23.xv1.25 to v1.29
v0.18.xv1.19.x to v1.23.xv1.25 to v1.29
v0.17.xv1.18.x to v1.22.xv1.25 to v1.29
v0.16.xv1.18.x to v1.22.xv1.24 to v1.27
v0.15.xv1.18.x to v1.21.xv1.24 to v1.27
v0.14.xv1.18.x to v1.21.xv1.24 to v1.27
v0.13.xv1.18.x to v1.20.xv1.24 to v1.27
v0.12.xv1.18.x to v1.20.xv1.23 to v1.26
v0.11.xv1.17.x to v1.19.xv1.23 to v1.26
v0.10.xv1.17.x to v1.19.xv1.23 to v1.26
v0.9.xv1.16.x to v1.18.xv1.22 to v1.25

Roadmap

Features

Contributing

Feel free to contribute to the project ! All issues and PRs are welcome! To start hacking on the project, you can follow the local development documentation page.

License

Temporal Operator is licensed under Apache License Version 2.0. See LICENSE for more information.