How to automate Kubernetes deployments

Buddy
Buddy
Nov 29, 2017 · 2 min read

Kubernetes lets you manage containerized applications on a cluster of nodes. If you need to deploy and scale your application on the fly without consuming more resources that required, that’s a solution for you.

Buddy lets you automate the whole delivery process to one git push to your repo. And these are the benefits:

  • you don’t have to enter the commands manually every time
  • you get precise feedback in case there’s an error in .yml files
  • you don’t need a DevOps specialist around to update your application
  • you can expand your delivery pipeline with builds and tests before the deployment

The main objective of this article is to tell you how to do that in a series of a few simple steps.

Set up a project with Buddy

  1. Sign up to Buddy with GitHub/Bitbucket or email
  2. Create a new project, select your Git provider, and choose your WP project:

Configure Pipeline #1: Apply K8s deployment

The first pipeline will automatically apply configuration changes to your K8s volumes and WordPress instance on a push to branch:

  1. Click Add a new pipeline and set the trigger mode to ‘On every push’
  2. Select the branch that will trigger the execution
  3. Click Add a new pipeline

Like what you read? Check out the full guide here!

HackerNoon.com

how hackers start their afternoons.

    Buddy

    Written by

    Buddy

    CI/CD made easy • https://buddy.works/

    HackerNoon.com

    how hackers start their afternoons.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade