Procedures¶
Intended audience: Anyone who is administering the service.
Deployment¶
Deployment is with Phalanx and ArgoCD.
Maintenance¶
The production hours are during observing. Maintenance can be performed during the day and should be announced in the lsstcam-prompt-processing Slack channel. For development announce on the dm-prompt-processing Slack channel if performing maintenance.
Backup¶
No Kafka backups are taken. Snapshots are done at the Weka storage level.
Cold Startup¶
Validate that both the controllers and brokers are running. Depending on when nodes are started controllers and brokers may need to be restarted.
Cold Shutdown¶
No specific procedures are needed to cleanly shutdown.
Reproduce Service¶
Create another values file to deploy a new environment.
View Messages¶
Topics and messages can be viewed in Kafdrop at:
Create New Kafka Topics¶
Kafka topics are created with Helm subcharts. To create a new Kafka topic perform the following.
Create a new folder in the Phalanx repo under
prompt-kafka/charts. An existing folder likebutler-writerorprompt-publicationcould be reviewed for an example and copied.Configure the topic and users Kubernetes manifests
Add a dependency to the
strimzi-kafkachart. Add in template. Replace with name of subchart.- name: <name of subchart> condition: <name of subchart>.enabled version: 1.0.0
Enable for the environment. Add in template. Replace with name of subchart.
- <name of subchart>: enabled: true
Restarting Kafka¶
See Restart Kafka
Upgrading Kafka¶
See Upgrading Kafka