Code Monkey home page Code Monkey logo

argocd-demo's Introduction

ArgoCD on Local K8s Cluster

This is a simple guide to setup ArgoCD on a local K8s cluster.

Prerequisites

Setup

  1. kubectl create namespace argocd

  2. kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

  3. Check the status of the pods

kubectl get pods -n argocd

  1. kubectl port-forward svc/argocd-server -n argocd 8080:443
  2. kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
  3. https://argo-cd.readthedocs.io/en/stable/cli_installation/ - Install ArgoCD CLI .\argocd admin initial-password -n argocd = command to get one time password in case of windows for ARGOCD Getting Started with ArgoCD
  4. kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'
  5. kubectl get svc argocd-server -n argocd
  6. argocd login localhost - Login to ArgoCD CLI
  7. argocd account update-password
  8. argocd cluster add docker-desktop
  9. argocd app list
  10. kubectl config set-context --current --namespace=argocd
  11. Add app from CLI - argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
  12. argocd app list

References

argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default

some random changes to check ArgoCD pipeline

argocd-demo's People

Contributors

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