EDA Deployment

The EDA deployment consist of Configuration Manger Tango Device, Event Subscriber Tango Device,Archwizard, Archviewer and EDA configurator tool.

The Deployment requires TimescaleDB credentials to connect with and some variables for other tools in deployment.
Below table shows mandatory values required by EDA chart while deployment.
These values are present in charts/ska-tango-archiver/values.yaml or can be added in values.yaml.
Values Required

Key

description

type

default

hostname

IP address or DNS of timescaleDB server.

str

None

dbname

Database name for archiving.Will be created if does not exists.

str

default_archiver_db

dbuser

Database user name

str

None

port

Port of timescaleDB server.

int

None

dbpassword

Password of user specified.

str

None

telescope

This variable helps to specify deployment type Low/Mid.

str

SKA-mid

telescope_environment

This variable is used by EDA Configurator tool to display environment in which tool is deployed.

str

MID-STFC

archwizard_config

This variable is required by archwizard tool for administration purpose.

str

“MyHDB=tango://tango-databaseds.ska-tango-archiver.svc.cluster.local:10000/mid-eda/cm/01”

  • To deploy the archiver enter following command:

make k8s-install-chart

or can directly provide values to make command as shown below

make k8s-install-chart TELESCOPE=<SKA-low/mid>
ARCHIVER_DBNAME=<dbname>
ARCHIVER_TIMESCALE_HOST_NAME=<hostname>
ARCHIVER_TIMESCALE_PORT=<port>
ARCHIVER_TIMESCALE_DB_USER=<dbuser>
ARCHIVER_TIMESCALE_DB_PWD=<dbpassword>
TELESCOPE_ENVIRONMENT=<environment name>
ARCHWIZARD_CONFIG=<full FQDN of configuration Manager>
  • The archiver gets deployed in namespace ska-tango-archiver

  • On gitlab ci-cd Masked Environment variables are created ARCHIVER_TIMESCALE_DB_PWD , ARCHIVER_TIMESCALE_DB_USER , ARCHIVER_TIMESCALE_HOST_NAME, ARCHIVER_TIMESCALE_PORT which contains archiver database connection details.

  • To delete the deployment enter following command:

make k8s-uninstall-chart