Code Monkey home page Code Monkey logo

argocd-simpleapp's Introduction

Installing

get the latest version or change to a specific version

VERSION=$(curl --silent "https://api.github.com/repos/argoproj-labs/argocd-autopilot/releases/latest" | grep '"tag_name"' | sed -E 's/."([^"]+)"./\1/')

download and extract the binary

curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/$VERSION/argocd-autopilot-linux-amd64.tar.gz | tar zx

move the binary to your $PATH

mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot

check the installation

argocd-autopilot version

forward ports from kubernetes

kubectl port-forward -n argocd svc/argocd-server 8080:80

Creating an Argo project from scratch with

All of the commands need your git token with the --git-token flag,

or the GIT_TOKEN env variable:

export GIT_TOKEN=<YOUR_TOKEN>

The commands will also need your repo clone URL with the --repo flag,

or the GIT_REPO env variable:

export GIT_REPO=<REPO_URL>

1. Run the bootstrap installation on your current kubernetes context.

This will install argo-cd as well as the application-set controller.

argocd-autopilot repo bootstrap

Please note that this will automatically attempt to create a private repository,

if the clone URL references a non-existing one. If the repository already exists,

the command will just clone it.

2. Create your first project

argocd-autopilot project create simpleapp

3. Install your first application on your project

argocd-autopilot app create prod --app github.com/jhoelzel/simpleapp/kube-manifests/kustomize/overlays/prod -p simpleapp
argocd-autopilot app create dev --app github.com/jhoelzel/simpleapp/kube-manifests/kustomize/overlays/dev -p simpleapp

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.