Code Monkey home page Code Monkey logo

kube_manifest's Introduction

Setup pipeline using CircleCI, update GitHub Kubernetes manifest repo and push image on Docker Hub

✨This repository contains the code of the Kubernetes manifest files as part of Project 4 of our 10WeeksofCloudOps series! In this comprehensive hands-on project, we dive deep into the world of GitOps and ArgoCD, demonstrating how to implement these essential DevOps practices step by step by dockerizing the application and provisioning the infrastructure using Terraform.

💪Complete Hands-on video tutorial for this project. Click here 👇

GitOps , ArgoCD, Terraform

Architecture

Architecture Diagram

Synopsis

  • When CircleCI notices any changes in the application code, it executes the jobs we have set up. There are a total of four jobs:

Test:

  • This job tests the code. After the test job is completed, CircleCI proceeds to the next job.
  • Note: I didn't add this job to save time.

Build:

  • In the build job, CircleCI pulls the base Docker images and packages our application code inside the image.

Push:

  • The push job pushes the newly generated images to Docker Hub with a new tag.

Update Manifest:

  • After completing the push job, the last job is executed, which updates the Kubernetes manifest repository with the new tag. This enables ArgoCD to detect the change and apply it to the cluster.

Following this pipeline ensures that our application code is thoroughly tested, built into Docker images, and deployed with the updated manifest using the GitOps approach.

This project contains Three GitHub repositories

➡️ [App Code] (https://github.com/piyushsachdeva/AppCode)

➡️ [Terraform code] (https://github.com/piyushsachdeva/10weeksofcloudops-week4-tf)

➡️ [Manifest Repo] (https://github.com/piyushsachdeva/kube_manifest)

🙏 Thank you so much for reading.

kube_manifest's People

Contributors

chauhan-himani avatar piyushsachdeva avatar shrikantdandge665 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.