Code Monkey home page Code Monkey logo

argocd-demo's Introduction

ArgoCD Demo with Kind Cluster

Kind Cluster

Provision the cluster:

kind create cluster --config argocd/environments/kind/scripts/kind-cluster-config.yaml

Use any one of the CNI modules listed below.

Setup Cilium in Kind

Download Cilium container image and load it to all Kind nodes:

docker pull cilium/cilium:v1.15.0 && kind load docker-image cilium/cilium:v1.15.0 --name kind

Install Cilium:

pushd argocd/apps/cilium/ && helm dependency build && popd
helm template cilium argocd/apps/cilium/ --namespace kube-system -f argocd/apps/cilium/environments/kind/values.yaml | kubectl -n kube-system apply -f -

ArgoCD Initial Setup on Kind

Add private key for ArgoCD repo:

kubectl create namespace argoproj && kubectl -n argoproj create secret generic argocd-repo-creds-ssh-creds [email protected]:NIXKnight/ArgoCD-Demo.git --from-file=sshPrivateKey=$HOME/.ssh/id_rsa -o json --dry-run=client | jq '.metadata.labels |= {"argocd.argoproj.io/secret-type": "repo-creds"}' | kubectl apply -f -

Install ArgoCD:

pushd argocd/apps/argoproj/ && helm dependency build && popd
helm template argoproj argocd/apps/argoproj/ --namespace argoproj -f argocd/apps/argoproj/environments/kind/values.yaml | kubectl -n argoproj apply -f -

Deploy apps with ArgoCD:

kustomize build argocd/environments/kind/ | kubectl apply -f -

argocd-demo's People

Contributors

nixknight 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.