Giter VIP home page Giter VIP logo

cluster-manifest's Introduction

Cluster Manifest Repository

This repository contains the configuration files for a Kubernetes cluster that manages microservices that interact with on-premise networking devices. This repository is monitored by ArgoCD, which pulls the latest changes and applies them to the cluster. When a new version of the Docker image or Helm chart is available, ArgoCD automatically updates the deployment. Both the docker image and helm chart repositories are hosted on Docker Hub.

Prerequisites

  • Jenkins Server
  • Docker registry account
  • Git repository for the chart
  • Kubernetes Cluster with ArgoCD deployed

Component Repositories

Jenkins Pipeline

Each microservice repository has a Jenkinsfile that falicitates how each microservice is built and packaged to be deployed on the cluster. When a repository has a commit pushed into a branch a webhook is sent to a Jenkins server that pulls the repository and begins the build proccess. The pipeline has the following stages:

Pipeline Stages

Test

This stage runs the unit tests for the application.

Build Image/Chart

This stage builds the Docker image and pushes it to Docker Hub with a tag containing the commit that triggered the build webhook. This repository is then cloned into the build enviroment. The the new docker image tag is updated in the values.yaml file. If the chart version has changed, the pipeline updates the chart version in the Chart.yaml file and pushes the chart to the registry. The changes made to this repository are then commited and pushed.

Post Actions

A post-action that cleans the workspace and removes any generated artifacts.

cluster-manifest's People

Contributors

drecom-jenkins avatar steffensenchyna avatar

Watchers

 avatar

cluster-manifest's Issues

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.