Giter Site home page Giter Site logo

devops's Introduction

DevOps excercises

A prerequisite would be to know the basis for the

1. Local environment setup

Create a local Kind or MicroK8s cluster and install argocd in it some help can be found here

2. The following excercise main purpose is to develop practical kubernetes/git/gitops skills

Deploy app1 and app2 in namespace stage using argocd The application images are published under aandonov/app1:latest and aandonov/app2:latest in dockerhub. The applications are only nginx, so deploy them in scale=1 and as a regular deployment in namespace local

3. Promoting the image

  • Alter the github action (to be a PR/merge when ready) to build a semver tag of the image (app1 and app2 respectively) based on the commit sha in github stage-<vM.m.p>-<hash>
  • After every successful merge the build config will be reset so that the next person has the chance
  • in ArgoCD prepare a 2nd deployment in namespace stage of the 2 apps
  • create deployment based on the semver of the image above

4. Some networking fun

  • Deploy istio in the local cluster
  • mark namespace local for injection
  • define an ingressgateway/vsvc to both applications in local namespace

5. Networking not so fun

  • Using argocd rollout, prepare a canary deployment for app1

6. Argo workflows

To be done together

devops's People

Contributors

andonovaleksandar avatar theelasticband avatar vprocopan avatar

Watchers

 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.