Helm Chart Parameters

This is a summary of the Helm chart parameters that can be used to customise PST deployment, configuration, and integration. The defaults values can be located in the chart’s values file.

SKA PST

Global values

Global values are used to propagate configuration to ska-pst-core and ska-pst-lmc.

Parameter

Description

Default

global.data-product-pvc-name

Static shared storage expected to be set in a parent chart. This value takes precedence over ska-pst-core.send.dataProductPVC. Involved PersistentVolumeClaim is expected to exist.

test-sdp-storage

global.ports

PST.CORE components

dsp, recv, stat, and smrb

global.ports.recv

RECV.CORE components.

recv-mgmt, and recv-datastream

global.ports.recv.recv-mgmt

Port configurations used for communication with PST.LMC

port, protocol, and targetport

global.ports.recv.recv-mgmt.port

Port exposed to outside of the k8s pod

18080

global.ports.recv.recv-mgmt.protocol

Protocol

TCP

global.ports.recv.recv-mgmt.targetport

Port exposed by a container in a k8s Pod

18080

global.ports.recv.recv-datastream

Port configurations used to receive UDP data stream.

port, protocol, and targetport

global.ports.recv.recv-datastream.port

Port exposed to outside of the k8s pod

32080

global.ports.recv.recv-datastream.protocol

Protocol

UDP

global.ports.recv.recv-datastream.targetport

Port exposed by a container in a k8s Pod

32080

Override example:

# Override ports used for communication between ska-pst-core and ska-pst-lmc
# Shared storage in the form of PersistentVolumeClaim with the name of test is expected to exist
global:
    tango_host: databaseds-tango-base-test:10000
    data-product-pvc-name: test
    sub-system:
        ska-tango-base:
            enabled: false
    ports:
        recv:
            recv-mgmt:
                port:       28080
        smrb:
            smrb-mgmt:
                port:       28081
        dsp_disk:
            dsp-disk-mgmt:
                port:       28082
        stat:
            stat-mgmt:
                port:       28083
        send:
          enabled: true

SKA PST CORE Parameters

Parameter

Description

Default

ska-pst-core.dsp.command

Command executed in the dsp container

bash

ska-pst-core.dsp.args

Arguments to the command

["-c","ska_pst_dsp_disk -v -c ${DSP_DISK_MGMT_PORT}"]

ska-pst-core.recv.command

Command executed in the recv container

bash

ska-pst-core.recv.args

Arguments to the command

["-c","ska_pst_smrb_core -v -c ${SMRB_MGMT_PORT}"]

ska-pst-core.smrb.command

Command executed in the smrb container

bash

ska-pst-core.smrb.args

Arguments to the command

["-c","ska_pst_recv_udpdb ${POD_IP} -v -p ${RECV_DATASTREAM_PORT} -c ${RECV_MGMT_PORT}"]

ska-pst-core.stat.command

Command executed in the smrb container

bash

ska-pst-core.stat.args

Arguments to the command

["-c","ska_pst_stat_core -c ${STAT_MGMT_PORT}"]

ska-pst-core.volumeMounts

List of storage configurations mounted to the dsp container of ska-pst-core

[]

ska-pst-core.resources

Used for reserving k8s nodes resources. WARNING: supporting k8s infrastructure processes could be evicted as a result of resource starvation.

{}

ska-pst-core.send.enabled

Enable/Disable the prototype send component of PST.

false

ska-pst-core.send.dataProductPVC

Simulated sdp shared storage. Involved PersistentVolumeClaim gets created as part of the chart deployment.

test-pst-storage

Override example:

ska-pst-core:
    enabled: true
    # Override commands + args to bash to all containers in ska-pst-core
    recv:
        command: ["bash"]
        args: []
    smrb:
        command: ["bash"]
        args: []
    dsp:
        command: ["bash"]
        args: []
    # Enable the send prototype where a simulated shared storage is created with the storage size of 5Gi
    send:
      enabled: true
      dataProductPVC:
        name: test-pst-storage
        size: 5Gi

    # Use all available storage types in SKAO infrastructure
    # https://developer.skao.int/en/latest/tools/containers/orchestration-guidelines.html#storage-in-kubernetes-clusters-managed-by-the-systems-team
    volumeMounts:
        - containerPath: /tmp/
          name: default
          size: 50Gi
          type: emptyDir
        - containerPath: /mnt/hostPath
          hostPath: /tmp/
          name: mnt-hostPath
          type: hostPath
        - containerPath: /mnt/block
          name: mnt-block
          type: block # renders to k8s templates required for utilising storage class bds1
          size: 50Gi
        - containerPath: /mnt/nfs
          name: mnt-nfs
          type: nfs # renders to k8s templates required for utilising storage class nfss1
          size: 50Gi

    # Deploy to specific host. i.e. psi-pst1 in PSI LOW
    nodeSelector:
        kubernetes.io/hostname: psi-pst1

    # Request for specific k8s node resources
    limits:
      cpu: 1000m
      memory: 16Gi
    requests:
      cpu: 500m
      memory: 8Gi

SKA PST LMC Parameters

The ska-pst-lmc chart deploys the latest release of PST.LMC from the artefact.skao.int registry. By default, PST.LMC is deployed in simulation mode. The current default Helm chart parameters can be viewed in the ska-pst LMC values file.

Parameter

Description

Default

global.ports

Port configuration for component devices

smrb, recv, dsp_disk, and stat

global.ports.smrb

Port configuration for SMRB component device

smrb-mgmt

global.ports.smrb.smrb-mgmt

Port configuration for SMRB component manager

port, protocol

global.ports.smrb.smrb-mgmt.port

Port used by SMRB component manager

18080

global.ports.recv.recv-mgmt.port

Port used by RECV component manager

18081

global.ports.dsp_disk.dsp-disk-mgmt.port

Port used by DSP component manager

18082

global.ports.stat.stat-mgmt.port

Port used by STAT component manager

18083

subsystem_id

The subsystem used in output path of files written by DSP and STAT. This should be pst-low or pst-mid.

pst-low

beam.simulationMode

Run Beam logical device in simulation mode

1

beam.mountPath

The local file system mount path. This is used to define where the mounting of the PST server’s local file system within the LMC container.

/mnt/lfs

beam.scanOutputDirPattern

The pattern where to write the output scan configuration needed to send to SDP when scan completes. This will get prepedned with `mountPath

product/<eb_id>/<subsystem_id>/<scan_id>

beam.monitor_polling_rate

The time interval, in milliseconds, at which the PST.BEAM will publish scan monitoring values.

5000