[Server 4.x] How to restart deployments

Overview

In CircleCI Server, the services are managed as Kubernetes deployments.
This article shows you how you can re-deploy these services via Kubernetes.

 

Check deployments

We can list all deployments and their statuses via:

kubectl -n <namespace> get deployment

 

Restart a specific deployment

You can restart a specific deployment like this:

kubectl -n <namespace> rollout restart deployment/cron-service

 

Alternatively, if you wish to restart ALL deployments:

kubectl -n <namespace> rollout restart deployment

 

Outcome

You can verify by inspecting the age of the pods:

kubectl -n <namespace> get pods

 

Additional Resources: 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.