Before you go, check out these stories!

Hackernoon logoBuilding deployment pipelines with GCP and Kubernetes by@FedakV

Building deployment pipelines with GCP and Kubernetes

Author profile picture

@FedakVVladimir Fedak

We think Kubernetes might be one of the major tools in daily operations of any DevOps specialist, so knowing of the latest Kubernetes features and general approaches is quite useful.

One of the Kubernetes maintainers, Kelsey Hightower, has recently published a tutorial on building end-to-end software deployment pipeline using GCP Container Builder, GitHub and numerous Kubernetes clusters. We will not copy it here, just list the main steps for your convenience.

  1. Description of the deployment pipeline.
  2. The list of prerequisites, which include creating a new GitHub project, enabling Google Cloud APIs for it and installing several tools like git, hub and kubectl.
  3. Provisioning the Kubernetes clusters for the job.
  4. Creation of a Hub config file.
  5. Setting up the GitHub repositories.
  6. Assignment of Build Triggers for Google Container builder.
  7. Testing of the newly-created build and deployment pipeline.
  8. Final cleaning up.

As a result, there will be several clusters and repos, each having a dedicated Kubernetes manifest file for a particular environment. Leveraging numerous Kubernetes clusters and GitHub repositories ensures fine-grained RBAC to each environment along with streamlined automated build pipeline for the DevOps team leisure.

This common guideline on how to implement such pipeline will definitely help DevOps specialists to stay on top of the latest Kubernetes features along with the general comprehension on the right approach to building such systems. Neat solutions like this are yet more proof that when choosing between GCP or AWS, Google Cloud Platform has quite a pack of aces in their deck!

Previously posted this hint on my company’s blog.


The Noonification banner

Subscribe to get your daily round-up of top tech stories!