API reference
Package v1beta1 contains API Schema definitions for the v1beta1 API group
Resource Types:
TemporalCluster
TemporalCluster defines a temporal cluster deployment.
| Field | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
temporal.io/v1beta1
|
||||||||||||||||||||||||||||||||||
kindstring |
TemporalCluster
|
||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||||||
specTemporalClusterSpec |
Specification of the desired behavior of the Temporal cluster.
|
||||||||||||||||||||||||||||||||||
statusTemporalClusterStatus |
Most recent observed status of the Temporal cluster. |
ArchivalProvider
(Appears on: ClusterArchivalSpec)
ArchivalProvider contains the config for archivers.
| Field | Description |
|---|---|
filestoreFilestoreArchiver |
(Optional) |
s3S3Archiver |
(Optional) |
gcsGCSArchiver |
(Optional) |
ArchivalProviderKind
(string alias)
ArchivalSpec
(Appears on: ClusterArchivalSpec, TemporalNamespaceArchivalSpec)
ArchivalSpec is the archival configuration for a particular persistence type (history or visibility).
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the archival is enabled by default for all namespaces or for a particular namespace (depends if it’s for a TemporalCluster or a TemporalNamespace). |
pausedbool |
Paused defines if the archival is paused. |
enableReadbool |
EnableRead allows temporal to read from the archived Event History. |
pathstring |
Path is … |
AuthorizationSpec
(Appears on: TemporalClusterSpec)
AuthorizationSpec defines the specifications for authorization in the temporal cluster. It contains fields that configure how JWT tokens are validated, how permissions are managed, and how claims are mapped.
| Field | Description |
|---|---|
jwtKeyProviderAuthorizationSpecJWTKeyProvider |
(Optional)
JWTKeyProvider specifies the signing key provider used for validating JWT tokens. |
permissionsClaimNamestring |
(Optional)
PermissionsClaimName is the name of the claim within the JWT token that contains the user’s permissions. |
authorizerstring |
(Optional)
Authorizer defines the authorization mechanism to be used. It can be left as an empty string to use a no-operation authorizer (noopAuthorizer), or set to “default” to use the temporal’s default authorizer (defaultAuthorizer). |
claimMapperstring |
(Optional)
ClaimMapper specifies the claim mapping mechanism used for handling JWT claims. Similar to the Authorizer, it can be left as an empty string to use a no-operation claim mapper (noopClaimMapper), or set to “default” to use the default JWT claim mapper (defaultJWTClaimMapper). |
AuthorizationSpecJWTKeyProvider
(Appears on: AuthorizationSpec)
AuthorizationSpecJWTKeyProvider defines the configuration for a JWT key provider within the AuthorizationSpec. It specifies where to source the JWT keys from and how often they should be refreshed.
| Field | Description |
|---|---|
keySourceURIs[]string |
(Optional)
KeySourceURIs is a list of URIs where the JWT signing keys can be obtained. These URIs are used by the authorization system to fetch the public keys necessary for validating JWT tokens. |
refreshIntervalKubernetes meta/v1.Duration |
(Optional)
RefreshInterval defines the time interval at which temporal should refresh the JWT signing keys from the specified URIs. |
CassandraConsistencySpec
(Appears on: CassandraSpec)
CassandraConsistencySpec sets the consistency level for regular & serial queries to Cassandra.
| Field | Description |
|---|---|
consistencygithub.com/gocql/gocql.Consistency |
(Optional)
Consistency sets the default consistency level. Values identical to gocql Consistency values. (defaults to LOCAL_QUORUM if not set). |
serialConsistencygithub.com/gocql/gocql.SerialConsistency |
(Optional)
SerialConsistency sets the consistency for the serial prtion of queries. Values identical to gocql SerialConsistency values. (defaults to LOCAL_SERIAL if not set) |
CassandraSpec
(Appears on: DatastoreSpec)
CassandraSpec contains cassandra datastore connections specifications.
| Field | Description |
|---|---|
hosts[]string |
Hosts is a list of cassandra endpoints. |
portint |
Port is the cassandra port used for connection by gocql client. |
userstring |
User is the cassandra user used for authentication by gocql client. |
keyspacestring |
Keyspace is the cassandra keyspace. |
datacenterstring |
(Optional)
Datacenter is the data center filter arg for cassandra. |
maxConnsint |
(Optional)
MaxConns is the max number of connections to this datastore for a single keyspace. |
connectTimeoutKubernetes meta/v1.Duration |
(Optional)
ConnectTimeout is a timeout for initial dial to cassandra server. |
consistencyCassandraConsistencySpec |
(Optional)
Consistency configuration. |
disableInitialHostLookupbool |
(Optional)
DisableInitialHostLookup instructs the gocql client to connect only using the supplied hosts. |
CertificatesDurationSpec
(Appears on: MTLSSpec)
CertificatesDurationSpec defines parameters for the temporal mTLS certificates duration.
| Field | Description |
|---|---|
rootCACertificateKubernetes meta/v1.Duration |
(Optional)
RootCACertificate is the ‘duration’ (i.e. lifetime) of the Root CA Certificate. It defaults to 10 years. |
intermediateCAsCertificatesKubernetes meta/v1.Duration |
(Optional)
IntermediateCACertificates is the ‘duration’ (i.e. lifetime) of the intermediate CAs Certificates. It defaults to 5 years. |
clientCertificatesKubernetes meta/v1.Duration |
(Optional)
ClientCertificates is the ‘duration’ (i.e. lifetime) of the client certificates. It defaults to 1 year. |
frontendCertificateKubernetes meta/v1.Duration |
(Optional)
FrontendCertificate is the ‘duration’ (i.e. lifetime) of the frontend certificate. It defaults to 1 year. |
internodeCertificateKubernetes meta/v1.Duration |
(Optional)
InternodeCertificate is the ‘duration’ (i.e. lifetime) of the internode certificate. It defaults to 1 year. |
ClusterArchivalSpec
(Appears on: TemporalClusterSpec)
ClusterArchivalSpec is the configuration for cluster-wide archival config.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the archival is enabled for the cluster. |
providerArchivalProvider |
(Optional)
Provider defines the archival provider for the cluster. The same provider is used for both history and visibility, but some config can be changed using spec.archival.[history|visibility].config. |
historyArchivalSpec |
(Optional)
History is the default config for the history archival. |
visibilityArchivalSpec |
(Optional)
Visibility is the default config for visibility archival. |
ConstrainedValue
(Appears on: DynamicConfigSpec)
ConstrainedValue is an alias for temporal’s dynamicconfig.ConstrainedValue.
| Field | Description |
|---|---|
constraintsConstraints |
(Optional)
Constraints describe under what conditions a ConstrainedValue should be used. |
valuek8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
Value is the value for the configuration key. The type of the Value field depends on the key. Acceptable types will be one of: int, float64, bool, string, map[string]any, time.Duration |
Constraints
(Appears on: ConstrainedValue)
Constraints is an alias for temporal’s dynamicconfig.Constraints. It describes under what conditions a ConstrainedValue should be used.
| Field | Description |
|---|---|
namespacestring |
(Optional) |
namespaceIdstring |
(Optional) |
taskQueueNamestring |
(Optional) |
taskQueueTypestring |
(Optional) |
shardIdint32 |
(Optional) |
taskTypestring |
(Optional) |
DatastoreSpec
(Appears on: TemporalPersistenceSpec)
DatastoreSpec contains temporal datastore specifications.
| Field | Description |
|---|---|
namestring |
(Optional)
Name is the name of the datastore. It should be unique and will be referenced within the persistence spec. Defaults to “default” for default sore, “visibility” for visibility store, “secondaryVisibility” for secondary visibility store and “advancedVisibility” for advanced visibility store. |
sqlSQLSpec |
(Optional)
SQL holds all connection parameters for SQL datastores. |
elasticsearchElasticsearchSpec |
(Optional)
Elasticsearch holds all connection parameters for Elasticsearch datastores. |
cassandraCassandraSpec |
(Optional)
Cassandra holds all connection parameters for Cassandra datastore. Note that cassandra is now deprecated for visibility store. |
passwordSecretRefSecretKeyReference |
(Optional)
PasswordSecret is the reference to the secret holding the password. |
tlsDatastoreTLSSpec |
(Optional)
TLS is an optional option to connect to the datastore using TLS. |
skipCreatebool |
(Optional)
SkipCreate instructs the operator to skip creating the database for SQL datastores or to skip creating keyspace for Cassandra. Use this option if your database or keyspace has already been provisioned by an administrator. |
DatastoreStatus
(Appears on: TemporalPersistenceStatus)
DatastoreStatus contains the current status of a datastore.
| Field | Description |
|---|---|
createdbool |
Created indicates if the database or keyspace has been created. |
setupbool |
Setup indicates if tables have been set up. |
typeDatastoreType |
(Optional)
Type indicates the datastore type. |
schemaVersiongithub.com/alexandrevilain/temporal-operator/pkg/version.Version |
(Optional)
SchemaVersion report the current schema version. |
DatastoreTLSSpec
(Appears on: DatastoreSpec)
DatastoreTLSSpec contains datastore TLS connections specifications.
| Field | Description |
|---|---|
enabledbool |
Enabled defines if the cluster should use a TLS connection to connect to the datastore. |
certFileRefSecretKeyReference |
(Optional)
CertFileRef is a reference to a secret containing the cert file. |
keyFileRefSecretKeyReference |
(Optional)
KeyFileRef is a reference to a secret containing the key file. |
caFileRefSecretKeyReference |
(Optional)
CaFileRef is a reference to a secret containing the ca file. |
enableHostVerificationbool |
EnableHostVerification defines if the hostname should be verified when connecting to the datastore. |
serverNamestring |
(Optional)
ServerName the datastore should present. |
DatastoreType
(string alias)
(Appears on: DatastoreStatus)
DeploymentOverride
(Appears on: ServiceSpecOverride)
DeploymentOverride provides the ability to override a Deployment.
| Field | Description |
|---|---|
metadataObjectMetaOverride |
|
specDeploymentOverrideSpec |
(Optional)
Specification of the desired behavior of the Deployment. |
DeploymentOverrideSpec
(Appears on: DeploymentOverride)
DeploymentOverrideSpec provides the ability to override a Deployment Spec. It’s a subset of fields included in k8s.io/api/apps/v1.DeploymentSpec.
| Field | Description |
|---|---|
templatePodTemplateSpecOverride |
(Optional)
Template describes the pods that will be created. |
DynamicConfigSpec
(Appears on: TemporalClusterSpec)
DynamicConfigSpec is the configuration for temporal dynamic config.
| Field | Description |
|---|---|
pollIntervalKubernetes meta/v1.Duration |
(Optional)
PollInterval defines how often the config should be updated by checking provided values. Defaults to 10s. |
valuesmap[string][]./api/v1beta1.ConstrainedValue |
Values contains all dynamic config keys and their constrained values. |
ElasticsearchIndices
(Appears on: ElasticsearchSpec)
ElasticsearchIndices holds index names.
| Field | Description |
|---|---|
visibilitystring |
Visibility defines visibility’s index name. |
secondaryVisibilitystring |
(Optional)
SecondaryVisibility defines secondary visibility’s index name. |
ElasticsearchSpec
(Appears on: DatastoreSpec)
ElasticsearchSpec contains Elasticsearch datastore connections specifications.
| Field | Description |
|---|---|
versionstring |
Version defines the elasticsearch version. |
urlstring |
URL is the connection url to connect to the instance. |
usernamestring |
Username is the username to be used for the connection. |
indicesElasticsearchIndices |
Indices holds visibility index names. |
logLevelstring |
(Optional)
LogLevel defines the temporal cluster’s es client logger level. |
closeIdleConnectionsIntervalKubernetes meta/v1.Duration |
(Optional)
CloseIdleConnectionsInterval is the max duration a connection stay open while idle. |
enableSniffbool |
(Optional)
EnableSniff enables or disables sniffer on the temporal cluster’s es client. |
enableHealthcheckbool |
(Optional)
EnableHealthcheck enables or disables healthcheck on the temporal cluster’s es client. |
FilestoreArchiver
(Appears on: ArchivalProvider)
FilestoreArchiver is the file store archival provider configuration.
| Field | Description |
|---|---|
filePermissionsstring |
FilePermissions sets the file permissions of the archived files. It’s recommend to leave it empty and use the default value of “0666” to avoid read/write issues. |
dirPermissionsstring |
DirPermissions sets the directory permissions of the archive directory. It’s recommend to leave it empty and use the default value of “0766” to avoid read/write issues. |
FrontendMTLSSpec
(Appears on: MTLSSpec)
FrontendMTLSSpec defines parameters for the temporal encryption in transit with mTLS.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the operator should enable mTLS for cluster’s public endpoints. |
extraDnsNames[]string |
ExtraDNSNames is a list of additional DNS names associated with the TemporalCluster. These DNS names can be used for accessing the TemporalCluster from external services. The DNS names specified here will be added to the TLS certificate for secure communication. |
GCSArchiver
(Appears on: ArchivalProvider)
GCSArchiver is the GCS archival provider configuration.
| Field | Description |
|---|---|
credentialsRefKubernetes core/v1.SecretKeySelector |
SecretAccessKeyRef is the secret key selector containing Google Cloud Storage credentials file. |
InternalFrontendServiceSpec
(Appears on: ServicesSpec)
InternalFrontendServiceSpec contains temporal internal frontend service specifications.
| Field | Description |
|---|---|
ServiceSpecServiceSpec |
(Members of |
enabledbool |
(Optional)
Enabled defines if we want to spawn the internal frontend service. |
InternodeMTLSSpec
(Appears on: MTLSSpec)
InternodeMTLSSpec defines parameters for the temporal encryption in transit with mTLS.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the operator should enable mTLS for network between cluster nodes. |
LogSpec
(Appears on: TemporalClusterSpec)
LogSpec contains the temporal logging configuration.
| Field | Description |
|---|---|
stdoutbool |
(Optional)
Stdout is true if the output needs to goto standard out; default is stderr. |
levelstring |
(Optional)
Level is the desired log level; see colocated zap_logger.go::parseZapLevel() |
outputFilestring |
(Optional)
OutputFile is the path to the log output file. |
formatstring |
(Optional)
Format determines the format of each log file printed to the output. Use “console” if you want stack traces to appear on multiple lines. |
developmentbool |
(Optional)
Development determines whether the logger is run in Development (== Test) or in Production mode. Default is Production. Production-stage disables panics from DPanic logging. |
MTLSProvider
(string alias)
(Appears on: MTLSSpec)
MTLSProvider is the enum for support mTLS provider.
MTLSSpec
(Appears on: TemporalClusterSpec)
MTLSSpec defines parameters for the temporal encryption in transit with mTLS.
| Field | Description |
|---|---|
providerMTLSProvider |
(Optional)
Provider defines the tool used to manage mTLS certificates. |
internodeInternodeMTLSSpec |
(Optional)
Internode allows configuration of the internode traffic encryption. Useless if mTLS provider is not cert-manager. |
frontendFrontendMTLSSpec |
(Optional)
Frontend allows configuration of the frontend’s public endpoint traffic encryption. Useless if mTLS provider is not cert-manager. |
certificatesDurationCertificatesDurationSpec |
(Optional)
CertificatesDuration allows configuration of maximum certificates lifetime. Useless if mTLS provider is not cert-manager. |
refreshIntervalKubernetes meta/v1.Duration |
(Optional)
RefreshInterval defines interval between refreshes of certificates in the cluster components. Defaults to 1 hour. Useless if mTLS provider is not cert-manager. |
renewBeforeKubernetes meta/v1.Duration |
(Optional)
RenewBefore is defines how long before the currently issued certificate’s expiry cert-manager should renew the certificate. The default is 2⁄3 of the issued certificate’s duration. Minimum accepted value is 5 minutes. Useless if mTLS provider is not cert-manager. |
MetricsSpec
(Appears on: TemporalClusterSpec)
MetricsSpec determines parameters for configuring metrics endpoints.
| Field | Description |
|---|---|
enabledbool |
Enabled defines if the operator should enable metrics exposition on temporal components. |
excludeTagsmap[string][]string |
(Optional)
ExcludeTags is a map from tag name string to tag values string list. Each value present in keys will have relevant tag value replaced with “_tagexcluded” Each value in values list will white-list tag values to be reported as usual. |
perUnitHistogramBoundariesmap[string][]string |
(Optional)
PerUnitHistogramBoundaries defines the default histogram bucket boundaries. Configuration of histogram boundaries for given metric unit. Supported values: - “dimensionless” - “milliseconds” - “bytes” |
prefixstring |
(Optional)
Prefix sets the prefix to all outgoing metrics |
prometheusPrometheusSpec |
(Optional)
Prometheus reporter configuration. |
ObjectMetaOverride
(Appears on: DeploymentOverride, PodTemplateSpecOverride, TemporalUISpec)
ObjectMetaOverride provides the ability to override an object metadata. It’s a subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta.
| Field | Description |
|---|---|
labelsmap[string]string |
(Optional)
Map of string keys and values that can be used to organize and categorize (scope and select) objects. |
annotationsmap[string]string |
(Optional)
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. |
ObjectReference
(Appears on: TemporalClusterClientSpec, TemporalNamespaceSpec, TemporalScheduleSpec)
ObjectReference is a reference to a object.
| Field | Description |
|---|---|
namestring |
The name of the temporal object to reference. |
namespacestring |
The namespace of the temporal object to reference. Defaults to the namespace of the requested resource if omitted. |
PodTemplateSpecOverride
(Appears on: DeploymentOverrideSpec)
PodTemplateSpecOverride provides the ability to override a pod template spec. It’s a subset of the fields included in k8s.io/api/core/v1.PodTemplateSpec.
| Field | Description |
|---|---|
metadataObjectMetaOverride |
|
speck8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
Specification of the desired behavior of the pod. |
PrometheusScrapeConfig
(Appears on: PrometheusSpec)
PrometheusScrapeConfig is the configuration for making prometheus scrape components metrics.
| Field | Description |
|---|---|
annotationsbool |
(Optional)
Annotations defines if the operator should add prometheus scrape annotations to the services pods. |
serviceMonitorPrometheusScrapeConfigServiceMonitor |
(Optional) |
PrometheusScrapeConfigServiceMonitor
(Appears on: PrometheusScrapeConfig)
PrometheusScrapeConfigServiceMonitor is the configuration for prometheus operator ServiceMonitor.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the operator should create a ServiceMonitor for each services. |
labelsmap[string]string |
(Optional)
Labels adds extra labels to the ServiceMonitor. |
overridegithub.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec |
(Optional)
Override allows customization of the created ServiceMonitor. All fields can be overwritten except “endpoints”, “selector” and “namespaceSelector”. |
metricRelabelings[]github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig |
(Optional)
MetricRelabelConfigs to apply to samples before ingestion. |
PrometheusSpec
(Appears on: MetricsSpec)
PrometheusSpec is the configuration for prometheus reporter.
| Field | Description |
|---|---|
listenAddressstring |
(Optional)
Deprecated. Address for prometheus to serve metrics from. |
listenPortint32 |
(Optional)
ListenPort for prometheus to serve metrics from. |
scrapeConfigPrometheusScrapeConfig |
(Optional)
ScrapeConfig is the prometheus scrape configuration. |
RetryPolicy
(Appears on: ScheduleWorkflowAction)
RetryPolicy defines how retries ought to be handled, usable by both workflows and activities.
| Field | Description |
|---|---|
initialIntervalKubernetes meta/v1.Duration |
(Optional)
Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries. |
backoffCoefficientk8s.io/apimachinery/pkg/api/resource.Quantity |
(Optional)
Coefficient used to calculate the next retry interval. The next retry interval is previous interval multiplied by the coefficient. Must be 1 or larger. |
maximumIntervalKubernetes meta/v1.Duration |
(Optional)
Maximum interval between retries. Exponential backoff leads to interval increase. This value is the cap of the increase. Default is 100x of the initial interval. |
maximumAttemptsint32 |
(Optional)
Maximum number of attempts. When exceeded the retries stop even if not expired yet. 1 disables retries. 0 means unlimited (up to the timeouts). |
nonRetryableErrorTypes[]string |
(Optional)
Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error type (not message) must match exactly. |
S3Archiver
(Appears on: ArchivalProvider)
S3Archiver is the S3 archival provider configuration.
| Field | Description |
|---|---|
regionstring |
Region is the aws s3 region. |
endpointstring |
(Optional)
Use Endpoint if you want to use s3-compatible object storage. |
roleNamestring |
(Optional)
Use RoleName if you want the temporal service account to assume an AWS Identity and Access Management (IAM) role. |
credentialsS3Credentials |
(Optional)
Use credentials if you want to use aws credentials from secret. |
s3ForcePathStylebool |
(Optional)
Use s3ForcePathStyle if you want to use s3 path style. |
S3Credentials
(Appears on: S3Archiver)
| Field | Description |
|---|---|
accessKeyIdRefKubernetes core/v1.SecretKeySelector |
AccessKeyIDRef is the secret key selector containing AWS access key ID. |
secretKeyRefKubernetes core/v1.SecretKeySelector |
SecretAccessKeyRef is the secret key selector containing AWS secret access key. |
SQLSpec
(Appears on: DatastoreSpec)
SQLSpec contains SQL datastore connections specifications.
| Field | Description |
|---|---|
userstring |
User is the username to be used for the connection. |
pluginNamestring |
PluginName is the name of SQL plugin. |
databaseNamestring |
DatabaseName is the name of SQL database to connect to. |
connectAddrstring |
ConnectAddr is the remote addr of the database. |
connectProtocolstring |
(Optional)
ConnectProtocol is the protocol that goes with the ConnectAddr. |
connectAttributesmap[string]string |
(Optional)
ConnectAttributes is a set of key-value attributes to be sent as part of connect data_source_name url |
maxConnsint |
(Optional)
MaxConns the max number of connections to this datastore. |
maxIdleConnsint |
(Optional)
MaxIdleConns is the max number of idle connections to this datastore. |
maxConnLifetimeKubernetes meta/v1.Duration |
(Optional)
MaxConnLifetime is the maximum time a connection can be alive |
taskScanPartitionsint |
(Optional)
TaskScanPartitions is the number of partitions to sequentially scan during ListTaskQueue operations. |
gcpServiceAccountstring |
(Optional)
GCPServiceAccount is the service account to use to authenticate with GCP CloudSQL. |
Schedule
(Appears on: TemporalScheduleSpec)
Schedule contains all fields related to a schedule.
| Field | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
actionScheduleAction |
|||||||||||||||||
specScheduleSpec |
|
||||||||||||||||
policySchedulePolicies |
|||||||||||||||||
stateScheduleState |
ScheduleAction
(Appears on: Schedule)
ScheduleAction contains the actions that the schedule should perform.
| Field | Description |
|---|---|
workflowScheduleWorkflowAction |
ScheduleCalendarSpec
(Appears on: ScheduleSpec)
ScheduleCalendarSpec is an event specification relative to the calendar, similar to a traditional cron specification. A timestamp matches if at least one range of each field matches the corresponding fields of the timestamp, except for year: if year is missing, that means all years match. For all fields besides year, at least one Range must be present to match anything.
| Field | Description |
|---|---|
second[]ScheduleSecondMinuteRange |
(Optional)
Second range to match (0-59). Defaults to 0. |
minute[]ScheduleSecondMinuteRange |
(Optional)
Minute range to match (0-59). Defaults to 0. |
hour[]ScheduleHourRange |
(Optional)
Hour range to match (0-23). Defaults to 0. |
dayOfMonth[]ScheduleDayOfMonthRange |
(Optional)
DayOfMonth range to match (1-31) Defaults to match all days. |
month[]ScheduleMonthRange |
(Optional)
Month range to match (1-12). Defaults to match all months. |
year[]ScheduleYearRange |
(Optional)
Year range to match. Defaults to match all years. |
dayOfWeek[]ScheduleDayOfWeekRange |
(Optional)
DayOfWeek range to match (0-6; 0 is Sunday) Defaults to match all days of the week. |
commentstring |
(Optional)
Comment describes the intention of this schedule. |
ScheduleDayOfMonthRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). Defaults to 1. |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
ScheduleDayOfWeekRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). Defaults to 0. |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
ScheduleHourRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). Defaults to 0. |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
ScheduleIntervalSpec
(Appears on: ScheduleSpec)
ScheduleIntervalSpec matches times that can be expressed as:
Epoch + (n * every) + offset
where n is all integers ≥ 0.
For example, an every of 1 hour with offset of zero would match every hour, on the hour. The same every but an offset
of 19 minutes would match every xx:19:00. An every of 28 days with offset zero would match 2022-02-17T00:00:00Z
(among other times). The same every with offset of 3 days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z
instead.
| Field | Description |
|---|---|
everyKubernetes meta/v1.Duration |
Every describes the period to repeat the interval. |
offsetKubernetes meta/v1.Duration |
(Optional)
Offset is a fixed offset added to the intervals period. Defaults to 0. |
ScheduleMonthRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). Defaults to 1. |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
ScheduleOverlapPolicy
(string alias)
(Appears on: SchedulePolicies)
Overlap controls what happens when an Action would be started by a Schedule at the same time that an older Action is still running.
Supported values:
“skip” - Default. Nothing happens; the Workflow Execution is not started.
“bufferOne” - Starts the Workflow Execution as soon as the current one completes. The buffer is limited to one. If another Workflow Execution is supposed to start, but one is already in the buffer, only the one in the buffer eventually starts.
“bufferAll” - Allows an unlimited number of Workflows to buffer. They are started sequentially.
“cancelOther” - Cancels the running Workflow Execution, and then starts the new one after the old one completes cancellation.
“terminateOther” - Terminates the running Workflow Execution and starts the new one immediately.
“allowAll” - Starts any number of concurrent Workflow Executions. With this policy (and only this policy), more than one Workflow Execution, started by the Schedule, can run simultaneously.
SchedulePolicies
(Appears on: Schedule)
SchedulePolicies represent policies for overlaps, catchups, pause on failure, and workflow ID.
| Field | Description |
|---|---|
overlapScheduleOverlapPolicy |
(Optional) |
catchupWindowKubernetes meta/v1.Duration |
(Optional)
CatchupWindow The Temporal Server might be down or unavailable at the time when a Schedule should take an Action. When the Server comes back up, CatchupWindow controls which missed Actions should be taken at that point. |
pauseOnFailurebool |
(Optional)
PauseOnFailure if true, and a workflow run fails or times out, turn on “paused”. This applies after retry policies: the full chain of retries must fail to trigger a pause here. |
ScheduleSecondMinuteRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). Defaults to 0. |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
ScheduleSpec
(Appears on: Schedule)
ScheduleSpec is a complete description of a set of absolute timestamps.
| Field | Description |
|---|---|
calendars[]ScheduleCalendarSpec |
(Optional)
Calendars represents calendar-based specifications of times. |
intervals[]ScheduleIntervalSpec |
(Optional)
Intervals represents interval-based specifications of times. |
crons[]string |
(Optional)
Crons are cron based specifications of times. Crons is provided for easy migration from legacy Cron Workflows. For new use cases, we recommend using ScheduleSpec.Calendars or ScheduleSpec. Intervals for readability and maintainability. Once a schedule is created all expressions in Crons will be translated to ScheduleSpec.Calendars on the server. For example, The string can have 5, 6, or 7 fields, separated by spaces, and they are interpreted in the same way as a ScheduleCalendarSpec:
Notes:
- If Year is not given, it defaults to *.
- If Second is not given, it defaults to 0.
- Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also
accepted instead of the 5-7 time fields.
- @every |
excludeCalendars[]ScheduleCalendarSpec |
(Optional)
ExcludeCalendars defines any matching times that will be skipped. All fields of the ScheduleCalendarSpec including seconds must match a time for the time to be skipped. |
startAtKubernetes meta/v1.Time |
(Optional)
StartAt represents the start of the schedule. Any times before |
endAtKubernetes meta/v1.Time |
(Optional)
EndAt represents the end of the schedule. Any times after |
jitterKubernetes meta/v1.Duration |
(Optional)
Jitter represents a duration that is used to apply a jitter to scheduled times. All times will be incremented by a random value from 0 to this amount of jitter, capped by the time until the next schedule. Defaults to 0. |
timezoneNamestring |
(Optional)
TimeZoneName represents the IANA time zone name, for example The definition will be loaded by Temporal Server from the environment it runs in. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Note: No actions are taken on leap-seconds (e.g. 23:59:60 UTC). Defaults to UTC. |
ScheduleState
(Appears on: Schedule)
ScheduleState describes the current state of a schedule.
| Field | Description |
|---|---|
notesstring |
(Optional)
Note is an informative human-readable message with contextual notes, e.g. the reason a Schedule is paused. The system may overwrite this message on certain conditions, e.g. when pause-on-failure happens. |
pausedbool |
(Optional)
Paused is true if the schedule is paused. |
limitedActionsbool |
(Optional)
LimitedActions limits actions. While true RemainingActions will be decremented for each action taken. Skipped actions (due to overlap policy) do not count against remaining actions. |
remainingActionsint64 |
(Optional)
RemainingActions represents the Actions remaining in this Schedule. Once this number hits 0, no further Actions are taken. manual actions through backfill or ScheduleHandle.Trigger still run. |
ScheduleWorkflowAction
(Appears on: ScheduleAction)
ScheduleWorkflowAction describes a workflow to launch.
| Field | Description |
|---|---|
idstring |
(Optional)
WorkflowID represents the business identifier of the workflow execution. The WorkflowID of the started workflow may not match this exactly, it may have a timestamp appended for uniqueness. Defaults to a uuid. |
typestring |
WorkflowType represents the identifier used by a workflow author to define the workflow Workflow type name. |
taskQueuestring |
TaskQueue represents a workflow task queue. This is also the name of the activity task queue on which activities are scheduled. |
inputsk8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
Inputs contains arguments to pass to the workflow. |
executionTimeoutKubernetes meta/v1.Duration |
(Optional)
WorkflowExecutionTimeout is the timeout for duration of workflow execution. |
runTimeoutKubernetes meta/v1.Duration |
WorkflowRunTimeout is the timeout for duration of a single workflow run. |
taskTimeoutKubernetes meta/v1.Duration |
(Optional)
WorkflowTaskTimeout is The timeout for processing workflow task from the time the worker pulled this task. |
retryPolicyRetryPolicy |
(Optional)
RetryPolicy is the retry policy for the workflow. If a retry policy is specified, in case of workflow failure server will start new workflow execution if needed based on the retry policy. |
memok8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
Memo is optional non-indexed info that will be shown in list workflow. |
searchAttributesk8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
SearchAttributes is optional indexed info that can be used in query of List/Scan/Count workflow APIs. The key and value type must be registered on Temporal server side. For supported operations on different server versions see Visibility. |
ScheduleYearRange
(Appears on: ScheduleCalendarSpec)
If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset to represent a single value.
| Field | Description |
|---|---|
startint32 |
(Optional)
Start of the range (inclusive). |
endint32 |
(Optional)
End of the range (inclusive). Defaults to start. |
stepint32 |
(Optional)
Step to be take between each value. Defaults to 1. |
SecretKeyReference
(Appears on: DatastoreSpec, DatastoreTLSSpec)
SecretKeyReference contains enough information to locate the referenced Kubernetes Secret object in the same namespace.
| Field | Description |
|---|---|
namestring |
Name of the Secret. |
keystring |
(Optional)
Key in the Secret. |
ServiceSpec
(Appears on: InternalFrontendServiceSpec, ServicesSpec)
ServiceSpec contains a temporal service specifications.
| Field | Description |
|---|---|
portint |
(Optional)
Port defines a custom gRPC port for the service. Default values are: 7233 for Frontend service 7234 for History service 7235 for Matching service 7239 for Worker service |
membershipPortint |
(Optional)
MembershipPort defines a custom membership port for the service. Default values are: 6933 for Frontend service 6934 for History service 6935 for Matching service 6939 for Worker service |
httpPortint |
(Optional)
HTTPPort defines a custom http port for the service. Default values are: 7243 for Frontend service |
replicasint32 |
(Optional)
Number of desired replicas for the service. Default to 1. |
resourcesKubernetes core/v1.ResourceRequirements |
(Optional)
Compute Resources required by this service. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
overridesServiceSpecOverride |
(Optional)
Overrides adds some overrides to the resources deployed for the service. Those overrides takes precedence over spec.services.overrides. |
initContainers[]Kubernetes core/v1.Container |
(Optional)
InitContainers adds a list of init containers to the service’s deployment. |
ServiceSpecOverride
(Appears on: ServiceSpec, ServicesSpec, TemporalAdminToolsSpec, TemporalUISpec)
ServiceSpecOverride provides the ability to override the generated manifests of a temporal service.
| Field | Description |
|---|---|
deploymentDeploymentOverride |
Override configuration for the temporal service Deployment. |
ServiceStatus
(Appears on: TemporalClusterStatus)
ServiceStatus reports a service status.
| Field | Description |
|---|---|
namestring |
Name of the temporal service. |
versionstring |
Current observed version of the service. |
readybool |
Ready defines if the service is ready. |
ServicesSpec
(Appears on: TemporalClusterSpec)
ServicesSpec contains all temporal services specifications.
| Field | Description |
|---|---|
frontendServiceSpec |
(Optional)
Frontend service custom specifications. |
internalFrontendInternalFrontendServiceSpec |
(Optional)
Internal Frontend service custom specifications. Only compatible with temporal >= 1.20.0 |
historyServiceSpec |
(Optional)
History service custom specifications. |
matchingServiceSpec |
(Optional)
Matching service custom specifications. |
workerServiceSpec |
(Optional)
Worker service custom specifications. |
overridesServiceSpecOverride |
(Optional)
Overrides adds some overrides to the resources deployed for all temporal services services.
Those overrides can be customized per service using spec.services. |
TemporalAdminToolsSpec
(Appears on: TemporalClusterSpec)
TemporalAdminToolsSpec defines parameters for the temporal admin tools within a Temporal cluster deployment. Note that deployed admin tools version is the same as the cluster’s version.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the operator should deploy the admin tools alongside the cluster. |
imagestring |
(Optional)
Image defines the temporal admin tools docker image the instance should run. |
resourcesKubernetes core/v1.ResourceRequirements |
(Optional)
Compute Resources required by the ui. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
overridesServiceSpecOverride |
(Optional)
Overrides adds some overrides to the resources deployed for the ui. |
TemporalClusterClient
A TemporalClusterClient creates a new mTLS client in the targeted temporal cluster.
| Field | Description | ||
|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specTemporalClusterClientSpec |
|
||
statusTemporalClusterClientStatus |
TemporalClusterClientSpec
(Appears on: TemporalClusterClient)
TemporalClusterClientSpec defines the desired state of ClusterClient.
| Field | Description |
|---|---|
clusterRefObjectReference |
Reference to the temporal cluster the client will get access to. |
TemporalClusterClientStatus
(Appears on: TemporalClusterClient)
TemporalClusterClientStatus defines the observed state of ClusterClient.
| Field | Description |
|---|---|
serverNamestring |
ServerName is the hostname returned by the certificate. |
secretRefKubernetes core/v1.LocalObjectReference |
Reference to the Kubernetes Secret containing the certificate for the client. |
TemporalClusterSpec
(Appears on: TemporalCluster)
TemporalClusterSpec defines the desired state of Cluster.
| Field | Description |
|---|---|
imagestring |
(Optional)
Image defines the temporal server docker image the cluster should use for each services. |
versiongithub.com/alexandrevilain/temporal-operator/pkg/version.Version |
(Optional)
Version defines the temporal version the cluster to be deployed. This version impacts the underlying persistence schemas versions. |
logLogSpec |
(Optional)
Log defines temporal cluster’s logger configuration. |
jobTtlSecondsAfterFinishedint32 |
(Optional)
JobTTLSecondsAfterFinished is amount of time to keep job pods after jobs are completed. Defaults to 300 seconds. |
jobResourcesKubernetes core/v1.ResourceRequirements |
(Optional)
JobResources allows set resources for setup/update jobs. |
jobInitContainers[]Kubernetes core/v1.Container |
(Optional)
JobInitContainers adds a list of init containers to the setup’s jobs. |
numHistoryShardsint32 |
NumHistoryShards is the desired number of history shards. This field is immutable. |
servicesServicesSpec |
(Optional)
Services allows customizations for each temporal services deployment. |
persistenceTemporalPersistenceSpec |
Persistence defines temporal persistence configuration. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference |
(Optional)
An optional list of references to secrets in the same namespace to use for pulling temporal images from registries. |
uiTemporalUISpec |
(Optional)
UI allows configuration of the optional temporal web ui deployed alongside the cluster. |
admintoolsTemporalAdminToolsSpec |
(Optional)
AdminTools allows configuration of the optional admin tool pod deployed alongside the cluster. |
mTLSMTLSSpec |
(Optional)
MTLS allows configuration of the network traffic encryption for the cluster. |
metricsMetricsSpec |
(Optional)
Metrics allows configuration of scraping endpoints for stats. prometheus or m3. |
dynamicConfigDynamicConfigSpec |
(Optional)
DynamicConfig allows advanced configuration for the temporal cluster. |
archivalClusterArchivalSpec |
(Optional)
Archival allows Workflow Execution Event Histories and Visibility data backups for the temporal cluster. |
authorizationAuthorizationSpec |
(Optional)
Authorization allows authorization configuration for the temporal cluster. |
TemporalClusterStatus
(Appears on: TemporalCluster)
TemporalClusterStatus defines the observed state of Cluster.
| Field | Description |
|---|---|
versionstring |
Version holds the current temporal version. |
services[]ServiceStatus |
Services holds all services statuses. |
persistenceTemporalPersistenceStatus |
Persistence holds all datastores statuses. |
conditions[]Kubernetes meta/v1.Condition |
Conditions represent the latest available observations of the Cluster state. |
TemporalNamespace
A TemporalNamespace creates a namespace in the targeted temporal cluster.
| Field | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||
specTemporalNamespaceSpec |
|
||||||||||||||||||||||
statusTemporalNamespaceStatus |
TemporalNamespaceArchivalSpec
(Appears on: TemporalNamespaceSpec)
TemporalNamespaceArchivalSpec is a per-namespace archival configuration override.
| Field | Description |
|---|---|
historyArchivalSpec |
(Optional)
History is the config for this namespace history archival. |
visibilityArchivalSpec |
(Optional)
Visibility is the config for this namespace visibility archival. |
TemporalNamespaceSpec
(Appears on: TemporalNamespace)
TemporalNamespaceSpec defines the desired state of Namespace.
| Field | Description |
|---|---|
clusterRefObjectReference |
Reference to the temporal cluster the namespace will be created. |
descriptionstring |
(Optional)
Namespace description. |
ownerEmailstring |
(Optional)
Namespace owner email. |
retentionPeriodKubernetes meta/v1.Duration |
RetentionPeriod to apply on closed workflow executions. |
datamap[string]string |
(Optional)
Data is a key-value map for any customized purpose. |
securityTokenstring |
(Optional) |
isGlobalNamespacebool |
(Optional)
IsGlobalNamespace defines whether the namespace is a global namespace. |
clusters[]string |
(Optional)
List of clusters names to which the namespace can fail over. Only applicable if the namespace is a global namespace. |
activeClusterNamestring |
(Optional)
The name of active Temporal Cluster. Only applicable if the namespace is a global namespace. |
allowDeletionbool |
(Optional)
AllowDeletion makes the controller delete the Temporal namespace if the CRD is deleted. |
archivalTemporalNamespaceArchivalSpec |
(Optional)
Archival is a per-namespace archival configuration. If not set, the default cluster configuration is used. |
TemporalNamespaceStatus
(Appears on: TemporalNamespace)
TemporalNamespaceStatus defines the observed state of Namespace.
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition |
Conditions represent the latest available observations of the Namespace state. |
TemporalPersistenceSpec
(Appears on: TemporalClusterSpec)
TemporalPersistenceSpec contains temporal persistence specifications.
| Field | Description |
|---|---|
defaultStoreDatastoreSpec |
DefaultStore holds the default datastore specs. |
visibilityStoreDatastoreSpec |
VisibilityStore holds the visibility datastore specs. |
secondaryVisibilityStoreDatastoreSpec |
(Optional)
SecondaryVisibilityStore holds the secondary visibility datastore specs. Feature only available for clusters >= 1.21.0. |
advancedVisibilityStoreDatastoreSpec |
(Optional)
AdvancedVisibilityStore holds the advanced visibility datastore specs. |
TemporalPersistenceStatus
(Appears on: TemporalClusterStatus)
TemporalPersistenceStatus contains temporal persistence status.
| Field | Description |
|---|---|
defaultStoreDatastoreStatus |
DefaultStore holds the default datastore status. |
visibilityStoreDatastoreStatus |
VisibilityStore holds the visibility datastore status. |
secondaryVisibilityStoreDatastoreStatus |
(Optional)
SecondaryVisibilityStore holds the secondary visibility datastore status. |
advancedVisibilityStoreDatastoreStatus |
(Optional)
AdvancedVisibilityStore holds the advanced visibility datastore status. |
TemporalSchedule
A TemporalSchedule creates a schedule in the targeted temporal cluster.
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
specTemporalScheduleSpec |
|
||||||||||
statusTemporalScheduleStatus |
TemporalScheduleSpec
(Appears on: TemporalSchedule)
TemporalScheduleSpec defines the desired state of Schedule.
| Field | Description |
|---|---|
namespaceRefObjectReference |
Reference to the temporal namespace the schedule will be created in. |
scheduleSchedule |
|
memok8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
Memo is optional non-indexed info that will be shown in list workflow. |
searchAttributesk8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON |
(Optional)
SearchAttributes is optional indexed info that can be used in query of List/Scan/Count workflow APIs. The key and value type must be registered on Temporal server side. For supported operations on different server versions see Visibility. |
allowDeletionbool |
(Optional)
AllowDeletion makes the controller delete the Temporal schedule if the CRD is deleted. |
TemporalScheduleStatus
(Appears on: TemporalSchedule)
TemporalScheduleStatus defines the observed state of Schedule.
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition |
Conditions represent the latest available observations of the Schedule state. |
TemporalUIIngressSpec
(Appears on: TemporalUISpec)
TemporalUIIngressSpec contains all configurations options for the UI ingress.
| Field | Description |
|---|---|
annotationsmap[string]string |
Annotations allows custom annotations on the ingress resource. |
ingressClassNamestring |
IngressClassName is the name of the IngressClass the deployed ingress resource should use. |
hosts[]string |
Host is the list of host the ingress should use. |
tls[]Kubernetes networking/v1.IngressTLS |
TLS configuration. |
TemporalUISpec
(Appears on: TemporalClusterSpec)
TemporalUISpec defines parameters for the temporal UI within a Temporal cluster deployment.
| Field | Description |
|---|---|
enabledbool |
(Optional)
Enabled defines if the operator should deploy the web ui alongside the cluster. |
versionstring |
(Optional)
Version defines the temporal ui version the instance should run. |
imagestring |
(Optional)
Image defines the temporal ui docker image the instance should run. |
replicasint32 |
(Optional)
Number of desired replicas for the ui. Default to 1. |
resourcesKubernetes core/v1.ResourceRequirements |
(Optional)
Compute Resources required by the ui. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
overridesServiceSpecOverride |
(Optional)
Overrides adds some overrides to the resources deployed for the ui. |
ingressTemporalUIIngressSpec |
(Optional)
Ingress is an optional ingress configuration for the UI. If lived empty, no ingress configuration will be created and the UI will only by available trough ClusterIP service. |
serviceObjectMetaOverride |
(Optional)
Service is an optional service resource configuration for the UI. |
This page was automatically generated with gen-crd-api-reference-docs