Managing the Microservice Containers
After you deploy the microservices, you can manage the
containers with the deploy_micro_services.sh script.
Deleting and Restarting New Pods
To restart all pods:
- Log in to the installer VM as root.
- Execute the following command to delete and recreate the
containers.
root@host:~/# run "DEPLOYMENT_ENV=central ./deploy_micro_services.sh - -restart_containers"root@host:~/# run "DEPLOYMENT_ENV=regional ./deploy_micro_services.sh - -restart_containers"
Clearing the Databases
To clear the Kubernetes databases:
- Log in to the installer VM as root.
- Execute the following command to clear the contents of
the databases:
root@host:~/# run "DEPLOYMENT_ENV=central ./deploy_micro_services.sh - -reset_databases"root@host:~/# run "DEPLOYMENT_ENV=regional ./deploy_micro_services.sh - -reset_databases"
Clearing the Kubernetes Cluster
To clear the entire Kubernetes cluster:
- Log in to the installer VM as root.
- Execute the following command to reset
root@host:~/# run "DEPLOYMENT_ENV=central ./deploy_micro_services.sh - -reset_cluster"root@host:~/# run "DEPLOYMENT_ENV=regional ./deploy_micro_services.sh - -reset_cluster"
