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 |
---|---|---|
|
Static shared storage expected to be set in a parent chart. This value takes precedence over |
test-sdp-storage |
|
PST.CORE components |
|
|
RECV.CORE components. |
|
|
Port configurations used for communication with PST.LMC |
|
|
Port exposed to outside of the k8s pod |
18080 |
|
Protocol |
TCP |
|
Port exposed by a container in a k8s Pod |
18080 |
|
Port configurations used to receive UDP data stream. |
|
|
Port exposed to outside of the k8s pod |
32080 |
|
Protocol |
UDP |
|
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 |
---|---|---|
|
Command executed in the dsp container |
bash |
|
Arguments to the command |
["-c","ska_pst_dsp_disk -v -c ${DSP_DISK_MGMT_PORT}"] |
|
Command executed in the recv container |
bash |
|
Arguments to the command |
["-c","ska_pst_smrb_core -v -c ${SMRB_MGMT_PORT}"] |
|
Command executed in the smrb container |
bash |
|
Arguments to the command |
["-c","ska_pst_recv_udpdb ${POD_IP} -v -p ${RECV_DATASTREAM_PORT} -c ${RECV_MGMT_PORT}"] |
|
Command executed in the smrb container |
bash |
|
Arguments to the command |
["-c","ska_pst_stat_core -c ${STAT_MGMT_PORT}"] |
|
List of storage configurations mounted to the dsp container of ska-pst-core |
[] |
|
Used for reserving k8s nodes resources. |
|
|
Enable/Disable the prototype send component of PST. |
false |
|
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 |
---|---|---|
|
Port configuration for component devices |
|
|
Port configuration for SMRB component device |
|
|
Port configuration for SMRB component manager |
|
|
Port used by SMRB component manager |
18080 |
|
Port used by RECV component manager |
18081 |
|
Port used by DSP component manager |
18082 |
|
Port used by STAT component manager |
18083 |
|
The subsystem used in output path of files written by DSP and STAT. This should be pst-low or pst-mid. |
pst-low |
|
Run Beam logical device in simulation mode |
1 |
|
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 |
|
The pattern where to write the output scan configuration needed to send to SDP when scan completes. This will get prepedned with |
product/<eb_id>/<subsystem_id>/<scan_id> |
|
The time interval, in milliseconds, at which the PST.BEAM will publish scan monitoring values. |
5000 |