Customizing application connector configuration

Configure the application connector deployment for Workflow components in the main ICP4ACluster CR under connectivity_pack_configuration.

Enabling Application Connectors

While running the prerequisites script in property mode, use:

./cp4a-prerequisites.sh -m property

When prompted for your pattern's deployment type, select the optional components:

Pattern "Deployment Type": Select optional components:
1) Application Connectors

The script will automatically:

  • Add application_connector to sc_optional_components in the generated CR
  • Set up connectivity_pack_configuration with default settings

You can then customize the configuration by using the following parameters.

Configuration Parameters

enable (Required)

Type: Boolean

Description: Controls whether ConnectivityPack is deployed

Example:

connectivity_pack_configuration:
  enable: true
action_connector_resources (Optional)

Type: Object

Description: CPU, memory, and storage resource configuration

Fields:

  • limits.cpu - Maximum CPU (for example, "2", "1000m")
  • limits.memory - Maximum memory (for example, "2Gi", "512Mi")
  • requests.cpu - Minimum CPU required
  • requests.memory - Minimum memory required

Example:

action_connector_resources:
  limits:
    cpu: "2"
    memory: "2Gi"
  requests:
    cpu: "500m"
    memory: "512Mi"
bunyan_log_config (Optional)

Type: Object

Description: Logging configuration

Fields:

  • log_level - Logging verbosity: "fatal", "error", "warn", "info" (default), "debug", "trace"
  • log_src - Enable source file logging (default: false, use only for debugging)

Example:

bunyan_log_config:
  log_level: "info"
  log_src: false
auto_scaling (Optional)

Type: Object

Description: Horizontal Pod Autoscaler configuration

Fields:

  • enable - Enable autoscaling: "true" or "false"
  • min_replicas - Minimum pod count (≥1)
  • max_replicas - Maximum pod count (>min_replicas)
  • cpu_utilization - Target CPU % (1-100)
  • memory_utilization - Target memory % (1-100)

Example:

auto_scaling:
  enable: "true"
  min_replicas: "2"
  max_replicas: "10"
  cpu_utilization: "70"
  memory_utilization: "80"

Complete Example

connectivity_pack_configuration:
  enable: true
  action_connector_resources:
    limits:
      cpu: "2"
      memory: "2Gi"
    requests:
      cpu: "500m"
      memory: "512Mi"
  bunyan_log_config:
    log_level: "info"
    log_src: false
  auto_scaling:
    enable: "true"
    min_replicas: "2"
    max_replicas: "10"
    cpu_utilization: "70"

Minimal Example

connectivity_pack_configuration:
  enable: true
Note: The ibm-entitlement-key secret must exist in the deployment namespace before the application connectors are enabled.