Create your FREE Codefresh account and start making pipelines fast. Create Account

Tools for Deploying Docker to Kubernetes, Swarm, ECS and more…

2 min read

One of the unique aspects of Codefresh’s pipelines is that each step runs in it’s own container. This means adding a custom step is as easy as calling in a Docker image. We’ve created a number of images to make it easy to deploy.

Kubernetes Deploy Tools

If you’re using Codefresh, the Kubernetes deployment step can be configured through the UI and will generate a YAML pipeline step that looks similar to this:

We’ve done this to simply interactions with deployment. If you want to work directly with the image, either on your own local machine, or in another tool you can snag the image from Docker hub.

Swarm Deploy Tools

Docker Swarm is defined using the docker-composeΒ  format and is beloved for it’s ease of use, especially for local development. Codefresh provides a helper image for deploying to Swarm as well as a built-in environment for testing applications.

The YAML step for calling the Swarm deploy image looks like this

Where the ${{}}Β refer to variables defined for a pipeline.

You can read more about using this image in our documentation.

ECS Deploy Tools

Amazon Elastic Container Service is one of the most popular ways containers are deployed into production today. If you’re using Codefresh to deploy your containers, you can select the ECS deploy image in the UI. It will add a step that looks like this to your YAML

To use this image yourself, or learn more about how it works, check out our documentation.

Helm Deploy Tools

Helm is a Kubernetes package manager. It’s much more powerful that something like Docker-compose. This image offers a few advantages over just runningΒ  helm install <chart name>. In addition to automatically installing Tiller it also has some tooling for parsing json which really valuable if you want to parse secrets and copy them to other namespaces.

Here’s the documentation.

New to Codefresh? Get started with Codefresh by signing up for an account today!

Dan Garfield

Dan Garfield

Dan is the Chief Open Source Officer at Codefresh, GitOps Working Group Co-chair, Google Developer Expert, Forbes Technology Council. You can follow him at

See how Codefresh helps you
deploy more and fail less!