Automate Kubernetes deployments on Amazon EKS

September 27, 2018 | Last updated: September 21, 2020

Automate Kubernetes deployments on Amazon EKS

This week brings good news for developers orchestrating containers on AWS clusters: Buddy now officialy supports Amazon EKS!

In other words, if Jeff Bezos is your man and you often run kubectl apply or kubectl set image, you can finally benefit from the blessings of Buddy's automation.

Cluster selectionCluster selection

How it all works

A typical Kubernetes workflow looks like this:

  1. Edit code or config YML
  2. Push changes to your Git repository
  3. Build a new Docker image with the updated files
  4. Authenticate in your EKS cluster
  5. Run kubectl apply or kubectl set image
Buddy lets you automate all these steps with a single push to Git.

Amazon EKS pipeline exampleAmazon EKS pipeline example

All you need to do is configure a delivery pipeline and integrate Buddy with your AWS account. There are five actions that you can use to automate Kubernetes tasks:

Kubernetes actionsKubernetes actions

  1. Run K8s Pod
    • runs a single process (pod) on your EKS cluster
  2. Run K8s Job
    • runs a series of pods and ensures that a specified number of them successfully terminate
  3. Apply K8s Deployment
    • transforms the containers to the desired state described in the config file
  4. Set K8s Image
    • updates the image of containers with the selected Docker image
  5. Kubernetes CLI – runs commands with kubectl in your EKS clusters

You can also build Docker images from a dockerfile, push it to Amazon ECR, and use it to update your cluster:

Docker buildDocker build

You can see how each action works in detail in our guide covering Kubernetes wokflow automation.
Buddy is 100% customer driven. If there’s a feature or integration you miss, let us know in the comments below or directly at support@buddy.works.

Share:

Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.