Deploy TeamCity build agents to your Kubernetes cluster for a robust and scalable CI/CD solution, in the cloud or bare metal.
Kubernetes allows teams to “abstract” themselves from using and being dependent on bare metal servers. With the help of Kubernetes, users get a consistent, continuous service: IT teams can stop using any server at any time, take it away for maintenance, and then put it back.
Kubernetes also allows you to optimize resources by launching several tasks on the same server.
With TeamCity and Kubernetes integration, operations teams don’t need to choose between over-provisioning and risking a reduced server availability when contention for resources increases.
Choose your TeamCity format:
Hosted by JetBrains
Are you looking for a CI/CD solution with Kubernetes integration that you won’t have to manage yourself? Check out TeamCity Cloud, our managed service.
Hosted by you
Do you want to run your projects on a local CI/CD server? Start with TeamCity Professional – it’s free for small projects!
Thanks to the Kubernetes Support plugin, TeamCity can run build agents in your Kubernetes cluster. The plugin is bundled with TeamCity, so you don’t have to download or install it separately.
TeamCity’s native support for Docker enables a fully containerized continuous integration and deployment process.
Create new container images and publish them to your container registry with the Docker build runner, ready to deploy to your Kubernetes-managed pre-production environments.
Configure testing and staging environments that closely match production and let Kubernetes roll out your latest builds, which are ready for automated integration and end-to-end tests, and manual verification.
TeamCity provides detailed reporting for automated testing, with results reported on the fly, complete with links to the relevant logs and stack traces so you can investigate failures immediately.
Use the Helm build runner (available as a plugin) to configure Kubernetes workloads and ensure that your pre-production deployments mirror your live environment.
For a fully scalable, highly resilient continuous integration and deployment pipeline, configure a Kubernetes cluster to handle your CI build jobs and deploy your containerized application to Kubernetes-hosted testing and staging environments that accurately replicate your production system.
To configure TeamCity to use Kubernetes cluster resources:
Each time a new job is added to the build queue, TeamCity identifies a compatible build agent image and then passes the request to Kubernetes. The container orchestrator either identifies an existing pod with the correct build agent or spins up a new pod to meet the demand. Multiple containerized build jobs can run on the same virtual machine, without any risk of interference.
With TeamCity’s support for Kubernetes, you can leverage the full benefits of highly scalable, resilient infrastructure for both your build jobs and automated tests. Find out more about the benefits of CI/CD, the purpose of a CI/CD pipeline, and considerations for building a cloud-hosted CI/CD pipeline from our CI/CD Guide.
Ready to get started? Integrate TeamCity with your Kubernetes clusters and run your first build in a Kubernetes continuous integration and deployment pipeline.
Powerful CI/CD for teams that use Kubernetes