After setting up kubectl
and connecting to a running kubernetes cluster, run the following commands in the
correct order:
kubectl apply -f deployment/cassandra-deployment.yaml
kubectl apply -f deployment/elasticsearch-deployment.yaml
kubectl apply -f deployment/rabbitmq-deployment.yaml
kubectl apply -f deployment/mongo-deployment.yaml
kubectl apply -f deployment/keycloak-deployment.yaml
kubectl apply -f deployment/rest-deployment.yaml
kubectl apply -f deployment/james-deployment.yaml
To restart:
kubectl rollout restart deployment cassandra-deployment
kubectl rollout restart deployment elasticsearch-deployment
kubectl rollout restart deployment rabbitmq-deployment
kubectl rollout restart deployment mongo-deployment
kubectl rollout restart deployment keycloak-deployment
kubectl rollout restart deployment dsp-eml-prj-rest-app-deployment
kubectl rollout restart deployment james-deployment
To delete:
kubectl delete pods <pod> --grace-period=0 --force