Code Monkey home page Code Monkey logo

kubernetescode's Introduction

What this does?

This repo along with https://github.com/saha-rajdeep/kubernetesmanifest creates a Jenkins pipeline with GitOps to deploy code into a Kubernetes cluster. CI part is done via Jenkins and CD part via ArgoCD (GitOps).

Jenkins installation

Jenkins is installed on EC2. Follow the instructions on https://www.jenkins.io/doc/tutorials/tutorial-for-installing-jenkins-on-AWS/ . You can skip "Configure a Cloud" part for this demo. Please note some commands from this link might give errors, below are the workarounds:

  1. If you get daemonize error while running the command sudo yum install jenkins java-1.8.0-openjdk-devel -y then , run the commands from the answer of https://stackoverflow.com/questions/68806741/how-to-fix-yum-update-of-jenkins

  2. Install Docker on the EC2 after Jenkins is installed by following the instructions on https://serverfault.com/questions/836198/how-to-install-docker-on-aws-ec2-instance-with-ami-ce-ee-update

  3. Run sudo chmod 666 /var/run/docker.sock on the EC2 after Docker is installed.

  4. Install Git on the EC2 by running sudo yum install git

Jenkins plugins

Install the following plugins for the demo.

  • Amazon EC2 plugin (No need to set up Configure Cloud after)
  • Docker plugin
  • Docker Pipeline
  • GitHub Integration Plugin
  • Parameterized trigger Plugin

ArgoCD installation

Install ArgoCD in your Kubernetes cluster following this link - https://argo-cd.readthedocs.io/en/stable/getting_started/

How to run!

Follow along with my Udemy Kubernetes course lectures (GitOps Chapter) to understand how it works, detailed setup instructions, with step by step demo. My highest rated Kubernetes EKS discounted Udemy course link in www.cloudwithraj.com

kubernetescode's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kubernetescode's Issues

Documentation Modification

As a user of this repository, I would like to suggest some modifications to the detailed documentation to enhance clarity and improve the overall user experience. The current documentation provides a good foundation, but there are certain areas where additional details or corrections would be beneficial.

  • Provide a clearer explanation of the purpose and benefits of using Jenkins and ArgoCD for GitOps-based deployments in the introduction section.
  • Update the Jenkins installation instructions to include specific versions of the required packages (e.g., Jenkins, Java, Docker) for better compatibility and to avoid potential conflicts.
  • Address the known issues mentioned in the documentation related to installing Jenkins and provide alternative solutions or workarounds.
  • Add a troubleshooting section to the documentation that covers common errors or issues encountered during the installation process and provides step-by-step resolutions or references to relevant resources.
  • Provide more detailed instructions for installing and configuring the required Jenkins plugins, including any specific settings or considerations.
  • Include additional information on the setup and configuration of ArgoCD in the Kubernetes cluster, including recommended best practices and potential customization options.
  • Clarify the steps required to execute the Jenkins pipeline and trigger the GitOps-based deployment using ArgoCD.
  • Update the "How to Run" section to include specific lecture references and outline the key concepts covered in the GitOps chapter of the instructor's Udemy Kubernetes course.

I believe that these modifications will greatly improve the usability of the documentation and help users successfully implement the Jenkins pipeline with GitOps for Kubernetes deployment.

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.