Decision Designer parameters

If a parameter is absent or has no value, then it means that the operator and Decision Intelligence Client Managed Software pattern refer to the default value. You can overwrite the default value by entering a new value in your custom resource.

Table 1. spec.decision_designer parameters
Parameters Description Default/Example values
affinity Optional. Kubernetes affinity rules for all Decision Designer services. It overrides spec.affinity. It must conform to Kubernetes core/v1.Affinity specification.

For more information, see Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses spec.affinity if it is set.)
enabled A flag to control whether Decision Designer is deployed or not.

The default value is false.

When the enabled parameter for Decision Designer is set to true, then the enabled parameter for the decision runtime is set to true by default.

If the enabled parameter for the decision runtime is false and the enabled parameter for Decision Designer is true, an error message is displayed.

admin_secret_name The name of the secret that contains all the Decision Designer sensitive data. <instance>-ads-designer-secret
deployment_profile_size

A flag to control the default CPU/memory resources and replica count to be applied to Decision Designer services and pods. Possible values are: small, medium, large, and extra-large.

Note: The horizontal pod autoscaler is configured with an extra-large profile size.
small
git_servers_certs The name of a ConfigMap that contains the Git server public certificates that Decision Intelligence must trust.

Each certificate is composed of a key name that ends with .crt and a value that is the PEM-encoded text of the certificate.

null (optional)
ml_providers_certs The name of a ConfigMap that contains the machine learning providers public certificates that Decision Intelligence must trust.

Each certificate is composed of a key name that ends with .crt and a value that is the PEM-encoded text of the certificate.

null (optional)
mount_pvc_for_logstore If set to false, the logs of the Decision Designer (including embedded runtime) are not stored in the PVC and only sent to stdout. false
other_trusted_certs The name of a ConfigMap that contains external public certificates that Decision Intelligence must trust.

Each certificate is composed of a key name that ends with .crt and a value that is the PEM-encoded text of the certificate.

null (optional)
tolerations Optional. Kubernetes tolerations for all Decision Designer services. It overrides spec.tolerations. It must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It usesspec.tolerations if it is set)
Table 2. spec.decision_designer parameters for database configuration
Parameters Description Default/Example values
database.use_embedded

A flag to control whether to use the embedded database or not.

false (It cannot be changed to true.)
database.current_schema

The name of the schema in the database for Decision Designer.

ads
database.hostname

Hostname of the remote PostgreSQL server.

 
database.name

The name of the database for Decision Designer in the PostgreSQL server.

adsdesigner
database.port

TCP port number of the remote PostgreSQL server.

5432
database.secret_name

The name of the secret with credentials for roles to connect to the PostgreSQL database.

 
database.ssl_mode

The level of TLS protection when Decision Designer is connecting to the remote PostgreSQL server. Valid modes are disable, allow, prefer, require, verify-ca and verify-full. These modes are defined in the PostgreSQL client documentation External link opens a new window or tab.

verify-full
database.ssl_secret_name

The name of the secret with TLS certificates for the administration role of the decision runtime.

 
database.jdbc_driver.driver_image.repository The registry and namespace where the custom JDBC container image is located. For example: myregistry/custom_jdbc_driver
database.jdbc_driver.driver_image.tag The tag of the custom JDBC container image. It must not be used when digest is used. For example: 0.0.1
database.jdbc_driver.driver_image.digest The digest of the custom JDBC container image. It must not be used when tag is used. For example: sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf
database.jdbc_driver.driver_name The name of the JDBC driver.

For example: software.amazon.jdbc.Driver

Default: org.postgresql.Driver

database.jdbc_driver.driver_protocol The protocol for the JDBC driver.

For example: jdbc:aws-wrapper:postgresql

Default: jdbc:postgresql

database.jdbc_driver.driver_path The path to the directory containing JDBC driver files. Default: /jdbc/postgresql
Table 3. Other spec.decision_designer parameters
Parameters Description Default/Example values
credentials_service.affinity Optional. Kubernetes affinity rules for credentials service pods. Overrides decision_designer.affinity and spec.affinity. Must conform to Kubernetes core/v1.Affinity specification.

For more information, see Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses decision_designer.affinity if it is set.)
credentials_service.image.repository The registry and namespace where the credentials container image is located. cp.icr.io/cp/cp4a/ads/ads-credentials
credentials_service.pod_disruption_budget.enabled Used to override if PDB has to be created for credentials_service. Defaults to the global spec.enable_pdb value. For more information, see Shared parameters by Decision Designer and the decision runtime.
credentials_service.pod_disruption_budget.maxUnavailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. No default as mutually exclusive with minAvailable.
credentials_service.pod_disruption_budget.minAvailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. Default:
  • 0 for 1 replica to allow pod disruption during maintenance.
  • 1 when replicas >= 2
credentials_service.pod_disruption_budget.unhealthyPodEvictionPolicy See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy. Default: AlwaysAllow
credentials_service.replica_count The number of desired replica of the credentials container. 2
credentials_service.resources.limits.memory The memory limit for the credentials container. 2048
credentials_service.resources.limits.cpu The CPU limit for the credentials container. 2000
credentials_service.resources.limits.ephemeral_storage The ephemeral storage limit for the credentials container. For details depending on profile size, see System requirements
credentials_service.resources.requests.memory The memory requested for the credentials container. 512
credentials_service.resources.requests.cpu The CPU requested for the credentials container. 500
credentials_service.resources.requests.ephemeral_storage The ephemeral storage requested for the credentials container. For details depending on profile size, see System requirements
credentials_service.tolerations Optional. Kubernetes tolerations for credentials service pods. It overrides decision_designer.tolerations and spec.tolerations. It must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It uses decision_designer.tolerations if it is set.)
git_service.affinity Optional. Kubernetes affinity rules for Git service pods. It overrides decision_designer.affinity and spec.affinity. It must conform to Kubernetes core/v1.Affinity specification.

For more information, see Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses decision_designer.affinity if it is set.)
git_service.image.repository The registry and namespace where the git container image is located. cp.icr.io/cp/cp4a/ads/ads-gitservice
git_service.pod_disruption_budget.enabled Used to override if PDB has to be created for git_service. Defaults to the global spec.enable_pdb value
git_service.pod_disruption_budget.maxUnavailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. No default as mutually exclusive with minAvailable.
git_service.pod_disruption_budget.minAvailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. Default:
  • 0 for 1 replica to allow pod disruption during maintenance.
  • 1 when replicas >= 2
git_service.pod_disruption_budget.unhealthyPodEvictionPolicy See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy. Default: AlwaysAllow
git_service.replica_count The number of desired replica of the git container. 2
git_service.resources.limits.memory The memory limit for the git container. 2048
git_service.resources.limits.cpu The CPU limit for the git container. 2000
git_service.resources.limits.ephemeral_storage The ephemeral storage limit for the git container. For details depending on profile size, see System requirements
git_service.resources.requests.memory The memory requested for the git container. 512
git_service.resources.requests.cpu The CPU requested for the git container. 500
git_service.resources.requests.ephemeral_storage The ephemeral storage requested for the git container. For details depending on profile size, see System requirements
git_service.tolerations Optional. Kubernetes tolerations for Git service pods. Overrides decision_designer.tolerations and spec.tolerations. Must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It uses decision_designer.tolerations if it is set.)
parsing_service.affinity Optional. Kubernetes affinity rules for parsing service pods. It overrides decision_designer.affinity and spec.affinity. It must conform to Kubernetes core/v1.Affinity specification.

See Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses decision_designer.affinity if it is set.)
parsing_service.autoscaling.enabled Specifies whether horizontal pod autoscaling is enabled or not. Default value is false, except in the case of an extra-large deployment profile size.
parsing_service.autoscaling.max_replicas Maximum number of replicas. 5
parsing_service.autoscaling.min_replicas Minimum number of replicas. 2
parsing_service.autoscaling.metrics Metrics specifications for scaling decisions. Automatically calculated based on resource limits.
parsing_service.autoscaling.behavior Extra parameters (tolerance, stabilization window, …) as defined in Configurable scaling behavior External link opens a new window or tab. Kubernetes defaults
(Deprecated) parsing_service.autoscaling.target_cpu_average_utilization Determines when a new pod is created, based on the value of resources.requests.cpu. From 26.0.0, use parsing_service.autoscaling.metrics instead. Default value is 160.
parsing_service.image.repository The registry and namespace where the parsing container image is located. cp.icr.io/cp/cp4a/ads/ads-parsing
parsing_service.pod_disruption_budget.enabled Used to override if PDB has to be created for parsing_service. Defaults to the global spec.enable_pdb value.
parsing_service.pod_disruption_budget.maxUnavailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. No default as mutually exclusive with minAvailable.
parsing_service.pod_disruption_budget.minAvailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. Default:
  • 0 for 1 replica to allow pod disruption during maintenance.
  • 1 when replicas >= 2
parsing_service.pod_disruption_budget.unhealthyPodEvictionPolicy See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy. Default: AlwaysAllow
parsing_service.replica_count The number of desired replica of the parsing container. 2
parsing_service.resources.limits.memory The memory limit for the parsing container. 2048
parsing_service.resources.limits.cpu The CPU limit for the parsing container. 2000
parsing_service.resources.limits.ephemeral_storage The ephemeral storage limit for the parsing container. For details depending on profile size, see System requirements
parsing_service.resources.requests.memory The memory requested for the parsing container. 512
parsing_service.resources.requests.cpu The CPU requested for the parsing container. 500
parsing_service.resources.requests.ephemeral_storage The ephemeral storage requested for the parsing container. For details depending on profile size, see System requirements
parsing_service.tolerations Optional. Kubernetes tolerations for parsing service pods. It overrides decision_designer.tolerations and spec.tolerations. It must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It uses decision_designer.tolerations if it is set.)
rest_api.affinity Optional. Kubernetes affinity rules for rest API pods. It overrides decision_designer.affinity and spec.affinity. It must conform to Kubernetes core/v1.Affinity specification.

For more information, see Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses decision_designer.affinity if it is set.)
rest_api.http_client_timeout Internal HTTP client timeout in milliseconds. (optional) Default value is 60000.
rest_api.image.repository The registry and namespace where the rest api container image is located. cp.icr.io/cp/cp4a/ads/ads-restapi
rest_api.pod_disruption_budget.enabled Used to override if PDB has to be created for rest_api. Defaults to the global spec.enable_pdb value.
rest_api.pod_disruption_budget.maxUnavailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. No default as mutually exclusive with minAvailable.
rest_api.pod_disruption_budget.minAvailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. Default:
  • 0 for 1 replica to allow pod disruption during maintenance.
  • 1 when replicas >= 2
rest_api.pod_disruption_budget.unhealthyPodEvictionPolicy See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy. Default: AlwaysAllow
rest_api.replica_count The number of desired replica of the rest api container. 2
rest_api.resources.limits.memory The memory limit for the rest api container. 2048
rest_api.resources.limits.cpu The CPU limit for the rest api container. 2000
rest_api.resources.limits.ephemeral_storage The ephemeral storage limit for the rest api container. For details depending on profile size, see System requirements
rest_api.resources.requests.memory The memory requested for the rest api container. 512
rest_api.resources.requests.cpu The CPU requested for the rest api container. 500
rest_api.resources.requests.ephemeral_storage The ephemeral storage requested for the rest api container. For details depending on profile size, see System requirements
rest_api.tolerations Optional. Kubernetes tolerations for rest API pods. It overrides decision_designer.tolerations and spec.tolerations. It must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It uses decision_designer.tolerations if it is set)
run_service.affinity Optional. Kubernetes affinity rules for run service pods. It overrides decision_designer.affinity and spec.affinity. It must conform to Kubernetes core/v1.Affinity specification.

For more information, see Kubernetes Affinity and Anti-Affinity External link opens a new window or tab.

null (It uses decision_designer.affinity if it is set.)
run_service.autoscaling.enabled Specifies whether horizontal pod autoscaling is enabled or not. Default value is false, except in the case of an extra-large deployment profile size.
run_service.autoscaling.max_replicas Maximum number of replicas. 5
run_service.autoscaling.min_replicas Minimum number of replicas. 2
run_service.autoscaling.metrics Metrics specifications for scaling decision. Automatically calculated based on resource limits.
run_service.autoscaling.behavior Extra parameters (tolerance, stabilization window, …) as defined in Configurable scaling behavior External link opens a new window or tab. Kubernetes defaults
(Deprecated) run_service.autoscaling.target_cpu_average_utilization Determines when a new pod is created, based on the value of resources.requests.cpu. From 26.0.0, use run_service.autoscaling.metrics instead. Default value is 160.
run_service.image.repository The registry and namespace where the run container image is located. cp.icr.io/cp/cp4a/ads/ads-run
run_service.pod_disruption_budget.enabled Used to override if PDB has to be created for run_service. Defaults to the global spec.enable_pdb value.
run_servic.pod_disruption_budget.maxUnavailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. No default as mutually exclusive with minAvailable.
run_service.pod_disruption_budget.minAvailable See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget. Default:
  • 0 for 1 replica to allow pod disruption during maintenance.
  • 1 when replicas >= 2
run_service.pod_disruption_budget.unhealthyPodEvictionPolicy See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy. Default: AlwaysAllow
run_service.replica_count The number of desired replica of the run container. 2
run_service.resources.limits.memory The memory limit for the run container. 2048
run_service.resources.limits.cpu The CPU requested for the run container. 2000
run_service.resources.limits.ephemeral_storage The ephemeral storage limit for the run container. For details depending on profile size, see System requirements
run_service.resources.requests.memory The memory requested for the run container. 512
run_service.resources.requests.cpu The CPU requested for the run container. 500
run_service.resources.requests.ephemeral_storage The ephemeral storage requested for the run container. For details depending on profile size, see System requirements
run_service.tolerations Optional. Kubernetes tolerations for run service pods. It overrides decision_designer.tolerations and spec.tolerations. It must be an array conforming to Kubernetes core/v1.Toleration specification.

For more information, see Kubernetes Taints and Tolerations External link opens a new window or tab.

null (It uses decision_designer.tolerations if it is set.)