Useful information and commands
This section provides a quick reference for managing your Axiomatics Services Manager (ASM) deployment on Docker or Kubernetes (K8s) environments.
Data persistence using volumes in Docker deployments
ASM implements volumes for externalizing the data state, that is, ensuring the persistence of data generated and used by Docker containers.
No further configuration is necessary. If more information is required, read the Use volumesOpens in a new tab topic of the Docker documentation.
Volumes do not create a folder on the host machine, but are managed by Docker commands. See the Backup, restore, or migrate data volumesOpens in a new tab topic of the Docker documentation for more information about all the possible user actions like deletion, backups, restore, migration, etc.
Restart ASM
ASM's restart process varies depending on the environment. Refer to the steps specific to your deployment type below.
Docker
- Dashboard enabled
- Dashboard disabled
From the docker
directory:
Stop your application.
docker-compose -f docker-compose.yml -f docker-compose.dashboard.yml stop
Restart your application.
docker-compose -f docker-compose.yml -f docker-compose.dashboard.yml up
From the docker
directory:
Stop your application.
docker-compose stop
Restart your application.
docker-compose up
Kubernetes
Restart all pods.
kubectl rollout restart deployment/adm -n axiomatics-asm
kubectl rollout restart deployment/asm -n axiomatics-asm
kubectl rollout restart deployment/db -n axiomatics-asm
kubectl rollout restart deployment/gateway -n axiomatics-asm
kubectl rollout restart deployment/keycloak -n axiomatics-asm
kubectl rollout restart deployment/pd-api -n axiomatics-asm
kubectl rollout restart deployment/pd-ui -n axiomatics-asm
kubectl rollout restart deployment/service-aggregator -n axiomatics-asmIf you are using the Dashboard functionality, restart the InfluxDB pod as well.
kubectl rollout restart deployment/influxdb -n axiomatics-asm