The ttoperator Chart

The ttoperator chart deploys the TimesTen Operator.

The following table describes the variables and default values for the ttoperator chart. Indentation and case sensitivity must be correct for each variable.

Table 18-1 Variables for the ttoperator Chart

Variable Description Example

affinity

Variable to define Kubernetes nodeAffinity, podAffinity, and podAntiAffinity parameters.

There is no default.

affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: topology.kubernetes.io/zone
          operator: In
          values:
          - antarctica-east1
          - antarctica-west1

annotations

A list of annotations to be applied to a TimesTen Operator Deployment and the Pods that the TimesTen Operator manages.

There is no default.

annotations:
  x: y

image

Parameters that affect container images.

Default:
  • repository: Location of the container image. For example, container-registry.oracle.com/timesten/timesten.

  • tag: TimesTen release number that contains the relevant Helm charts. For example, "22.1.1.19.0".

  • pullPolicy: Pull policy for the container image. For example, Always.

image: 
  repository: phx.ocir.io/youraccount/tt2211190image
  tag: "1"
  pullPolicy: Always

imagePullSecrets

A list of pull Secrets required to pull container images.

Default: There is no default.

imagePullSecrets: sekret

labels

A list of labels applied to a TimesTen Operator Deployment and the Pods that the TimesTen Operator manages.

Default: There is no default.

labels:
  x: y

livenessFailureThreshold

Variable that sets the FailureThreshold attribute for the TimesTen Operator's liveness probe.

Default: 3

livenessFailureThreshold: 2

livenessInitialDelaySeconds

Variable that sets the InitialDelaySeconds attribute for the TimesTen Operator's liveness probe.

Default: 10

livenessInitialDelaySeconds: 15

livenessPeriodSeconds

Variable that sets the PeriodSeconds attribute for the TimesTen Operator's liveness probe.

Default: 30

livenessPeriodSeconds: 20

livenessSuccessThreshold

Variable that sets the SuccessThreshold attribute for the TimesTen Operator's liveness probe.

Default: 1

livenessSuccessThreshold: 2

livenessTimeoutSeconds

Variable that sets the TimeoutSeconds attribute for the TimesTen Operator's liveness probe.

Default: 10

livenessTimeoutSeconds: 15

metrics

Variable to determine if and how TimesTen Operator metrics are exposed.

Valid values are as follows:
  • expose: 1 or expose: 0: If you specify expose: 1 (or do not specify it), TimesTen Operator metrics are exposed. If you specify expose: 0, TimesTen Operator metrics are not exposed.

  • scheme: https or scheme: http: If you specify scheme: https (or do not specify it), TimesTen Operator metrics are available by using https/Transport Layer Security (mutual TLS). If you specify scheme: http, TimesTen Operator metrics are available by using http.

  • createServiceMonitor: 1 or createServiceMonitor: 0: If you specify createServiceMonitor: 1 (or do not specify it), the TimesTen Operator attempts to create a ServiceMonitor object. If you specify createServiceMonitor: 0, the TimesTen Operator does not create a ServiceMonitor object.

Default:
  expose: 1
  scheme: https
  createServiceMonitor: 1

See Expose Metrics from the TimesTen Kubernetes Operator.

metrics:
  expose: 0
  scheme: http
  createServiceMonitor: 0

name

Name of the TimesTen Operator Deployment.

Default: timesten-operator

name: timesten-operator2

podDisruptionBudget

Variable that determines if a podDisruptionBudget is created . If created, uses the provided values.

Default: create: false

A podDisruptionBudget is not created by default.

podDisruptionBudget:
  create: true
  pdbName: samplepdb
  maxUnvailable: 1
  minAvailable: 1
  matchLabels:
    "x": "y"

probes

Variable to determine if TimesTen Operator probes are exposed.

If you specify expose: 1 (or do not specify it), TimesTen Operator probes are exposed. If you specify expose: 0, TimesTen Operator probes are not exposed.

Default:
  expose: 1

See About Readiness and Liveness Probes.

probes:
  expose: 0

readinessFailureThreshold

Variable that sets the FailureThreshold attribute for the TimesTen Operator's readiness probe.

Default: 1

readinessFailureThreshold: 2

readinessInitialDelaySeconds

Variable that sets the InitialDelaySeconds attribute for the TimesTen Operator's readiness probe.

Default: 10

readinessInitialDelaySeconds: 15

readinessPeriodSeconds

Variable that sets the PeriodSeconds attribute for the TimesTen Operator's readiness probe.

Default: 10

readinessPeriodSeconds: 15

readinessSuccessThreshold

Variable that sets the SuccessThreshold attribute for the TimesTen Operator's readiness probe.

Default: 1

readinessSuccessThreshold: 2

readinessTimeoutSeconds

Variable that sets the TimeoutSeconds attribute for the TimesTen Operator's readiness probe.

Default: 10

readinessTimeoutSeconds: 15

replicas

Number of replica Pods in a TimesTen Operator Deployment.

Default: 1

replicas: 3

resources

Variable used to define resource requests and limits.

Default:
  requests:
    cpu: "250m" 
    memory: "1G"
  limits:
    cpu: "250m"
    memory: "1G"
resources:
  requests:
    cpu: "300m" 
    memory: "1G"
  limits:
    cpu: "300m"
    memory: "1G"

serviceAccount

Variable to determine if a service account is created and what annotations to apply (if any).

Default: create: true

By default or if you specify create: true, the chart creates a Kubernetes ServiceAccount called timesten-operator as well as a Kubernetes Role object and a Kubernetes RoleBinding object. The Role and RoleBinding objects grant the ServiceAccount the privileges needed to run the TimesTen Operator.

If you specify create: false, the chart does not create the ServiceAccount, Role, and RoleBinding objects. You must create these objects by running the kubectl create service_account.yaml command. The service_account.yaml YAML manifest file is included in the TimesTen Operator distribution. See Create the Service Account and the TimesTen Custom Resource Definitions (CRDs).

serviceAccount:
  create: false

testAffinity

Variable to define Kubernetes nodeAffinity, podAffinity, and podAntiAffinity parameters. These affinity configurations are only applied to the Helm test Pod.

There is no default.

testAffinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: topology.kubernetes.io/zone
          operator: In
          values:
          - antarctica-east1
          - antarctica-west1

testAnnotations

A list of annotations to be applied to a Helm test Pod. This Pod is created when you run the helm test command.

Default:
helm.sh/hook-delete-policy: hook-succeeded
testAnnotations:
  x: y

testLabels

A list of labels to be applied to a Helm test Pod. This Pod is created when you run the helm test command.

Default: There is no default.

testLabels:
  x: y