argo-cd | Declarative continuous deployment for Kubernetes | Continuous Deployment library

 by   argoproj Go Version: v2.7.4 License: Apache-2.0

kandi X-RAY | argo-cd Summary

kandi X-RAY | argo-cd Summary

argo-cd is a Go library typically used in Devops, Continuous Deployment applications. argo-cd has no bugs, it has a Permissive License and it has medium support. However argo-cd has 14 vulnerabilities. You can download it from GitHub.

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              argo-cd has a medium active ecosystem.
              It has 13313 star(s) with 3928 fork(s). There are 187 watchers for this library.
              There were 9 major release(s) in the last 12 months.
              There are 2394 open issues and 3774 have been closed. On average issues are closed in 58 days. There are 296 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of argo-cd is v2.7.4

            kandi-Quality Quality

              argo-cd has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              argo-cd has 14 vulnerability issues reported (2 critical, 5 high, 7 medium, 0 low).
              argo-cd code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              argo-cd is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              argo-cd releases are available to install and integrate.
              It has 159753 lines of code, 7544 functions and 666 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of argo-cd
            Get all kandi verified functions for this library.

            argo-cd Key Features

            No Key Features are available at this moment for argo-cd.

            argo-cd Examples and Code Snippets

            No Code Snippets are available at this moment for argo-cd.

            Community Discussions

            QUESTION

            ArgoCD & Traefik 2.x: How to configure argocd-server Deployment to run with TLS disabled (where to put --insecure flag)
            Asked 2022-Mar-31 at 13:16

            We have a setup with Traefik as the Ingress Controller / CRD and ArgoCD. We installed ArgoCD into our EKS setup as described in the Argo getting stared guide:

            ...

            ANSWER

            Answered 2022-Mar-31 at 13:16
            0. Why a declarative ArgoCD setup with Kustomize is a great way to configure custom parameters

            There are multiple options on how to configure ArgoCD. A great way is to use a declarative approach, which should be the default Kubernetes-style. Skimming the ArgoCD docs there's a additional configuration section where the possible flags of the ConfigMap argocd-cmd-params-cm can be found. The flags are described in argocd-cmd-params-cm.yaml. One of them is the flag server.insecure

            Source https://stackoverflow.com/questions/71692891

            QUESTION

            Why would fetching specific git commits use more disk space than fetching all?
            Asked 2022-Mar-25 at 19:12

            If I run git fetch origin and then git checkout on a series of consecutive commits, I get a relatively small repo directory.

            But if I run git fetch origin and then git checkout FETCH_HEAD on the same series of commits, the directory is relatively bloated. Specifically, there seem to be a bunch of large packfiles.

            The behavior appears the same whether the commits are all in place at the time of the first fetch or if they are committed immediately before each fetch.

            The following examples use a public repo, so you can reproduce the behavior.

            Why is the directory size of example 2 so much larger?

            Example 1 (small):

            ...

            ANSWER

            Answered 2022-Mar-25 at 19:08

            Because each fetch produces its own packfile and one packfile is more efficient than multiple packfiles. A lot more efficient. How?

            First, the checkouts are a red herring. They don't affect the size of the .git/ directory.

            Second, in the first example only the first git fetch origin does anything. The rest will fetch nothing (unless something changed on origin).

            Why are multiple packfiles less efficient?

            Compression works by finding common long sequences within the data and reducing them to very short sequences. If

            long block of legal mumbo jumbo appears dozens of times it could be replaced with a few bytes. But the original long string must still be stored. If there's a single packfile it must only be stored once. If there's multiple packfiles it must be stored multiple times. You are, effectively, storing the whole history of changes up to that point in each packfile.

            We can see in the example below that the first packfile is 113M, the second is 161M, the third is 177M, and the final fetch is 209M. The size of the final packfile is roughly equal to the size of the single garbage compacted packfile.

            Why do multiple fetches result in multiple packfiles?

            git fetch is very efficient. It will only fetch objects you not already have. Sending individual object files is inefficient. A smart Git server will send them as a single packfile.

            When you do a single git fetch on a fresh repository, Git asks the server for every object. The remote sends it a packfile of every object.

            When you do git fetch ABC and then git fetch DEFs, Git tells the server "I already have everything up to ABC, give me all the objects up to DEF", so the server makes a new packfile of everything from ABC to DEF and sends it.

            Eventually your repository will do an automatic garbage collection and repack these into a single packfile.

            We can reduce the examples. I'm going to use Rails to illustrate because it has clearly defined tags to fetch.

            Source https://stackoverflow.com/questions/71618307

            QUESTION

            ArgoCD bootstrapping with terraform in Azure Pipeline
            Asked 2022-Mar-07 at 12:25

            I am trying to deploy ArgoCD and applications located in subfolders through Terraform in an AKS cluster.

            This is my Folder structure tree:

            I'm using app of apps approach, so first I will deploy ArgoCD (this will manage itself as well) and later ArgoCD will let me SYNC the cluster-addons and application manually once installed.

            ...

            ANSWER

            Answered 2022-Mar-07 at 12:25

            The issue was with the values identation in TF code.

            The issue was resolved when I resolve that:

            Source https://stackoverflow.com/questions/71361062

            QUESTION

            How to login to ArgoCD CLI non-interactive in CI like GitHub Actions?
            Asked 2022-Feb-24 at 11:47

            We have a full-blown setup using AWS EKS with Tekton installed and want to use ArgoCD for application deployment.

            As the docs state we installed ArgoCD on EKS in GitHub Actions with:

            ...

            ANSWER

            Answered 2022-Feb-24 at 11:47

            QUESTION

            Argocd application resource stuck at deletion
            Asked 2022-Feb-21 at 03:06

            I've started experimenting with Argocd as part of my cluster setup and set it up to watch a test repo containing some yaml files for a small application I wanted to use for the experiment. While getting to know the system a bit, I broke the repo connection and instead of fixing it I decided that I had what I wanted, and decided to do a clean install with the intention of configuring it towards my actual project.

            I pressed the button in the web UI for deleting the application, which got stuck. After which I read that adding spec.syncPolicy.allowEmpty: true and removing the metadata.finalizers declaration from the application yaml file. This did not allow me to remove the application resource.

            I then ran an uninstall command with the official manifests/install.yaml as an argument, which cleaned up most resources installed, but left the application resource and the namespace. Command: kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

            Have tried to use the kubectl delete application NAME --force flag and the --cascade=orphans flag on the application resource as well as on the argocd namespace itself. Now I have both of them stuck at terminating without getting any further.

            Now I'm proper stuck as I can't reinstall the argocd in any way I know due to the resources and namespace being marked for deletion, and I'm at my wits end as to what else I can try in order to get rid of the dangling application resource.

            Any and all suggestions as to what to look into is much appreciated.

            ...

            ANSWER

            Answered 2022-Feb-21 at 03:06

            If your problem is that the namespace cannot be deleted, the following two solutions may help you:

            1. Check what resources are stuck in the deletion process, delete these resources, and then delete ns
            2. Edit the namespace of argocd, check if there is a finalizer field in the spec, delete that field and the content of the field

            Hopefully it helped you.

            Source https://stackoverflow.com/questions/71164538

            QUESTION

            AWS EKS, I encountered a tolerations error in all ArgoCD pods
            Asked 2022-Feb-14 at 05:10

            I used the following command to install the Argo CD in the EKS fargate cluster.

            ...

            ANSWER

            Answered 2022-Feb-14 at 05:10

            Your Fargate was created to run deployment to "dev-cluster" namespace:

            Source https://stackoverflow.com/questions/71100703

            QUESTION

            argocd app create in CI pipeline (GitHub Actions, Tekton, ...) throws "PermissionDenied desc = permission denied: applications, create, default/myapp"
            Asked 2022-Feb-10 at 15:01

            From our Tekton pipeline we want to use ArgoCD CLI to do a argocd app create and argocd app sync dynamically based on the app that is build. We created a new user as described in the docs by adding a accounts.tekton: apiKey to the argocd-cm ConfigMap:

            ...

            ANSWER

            Answered 2022-Feb-10 at 15:01

            The problem is mentioned in Argo's useraccounts docs:

            When you create local users, each of those users will need additional RBAC rules set up, otherwise they will fall back to the default policy specified by policy.default field of the argocd-rbac-cm ConfigMap.

            But these additional RBAC rules could be setup the simplest using ArgoCD Projects. And with such a AppProject you don't even need to create a user like tekton in the ConfigMap argocd-cm. ArgoCD projects have the ability to define Project roles:

            Projects include a feature called roles that enable automated access to a project's applications. These can be used to give a CI pipeline a restricted set of permissions. For example, a CI system may only be able to sync a single app (but not change its source or destination).

            There are 2 solutions how to configure the AppProject, role & permissions incl. role token:

            1. using argocd CLI
            2. using a manifest YAML file
            1.) Use argocd CLI to create AppProject, role & permissions incl. role token

            So let's get our hands dirty and create a ArgoCD AppProject using the argocd CLI called apps2deploy:

            Source https://stackoverflow.com/questions/71052421

            QUESTION

            HELM chart for Apache degraded in argocd
            Asked 2022-Jan-31 at 09:39

            I have tried using a HELM chart repo for Apache via ArgoCD but it shows up degraded in the console but is in sync. I am using the Kubernetes cluster on docker desktop for Mac (M1 chip). Not quite sure what the issue is.

            The helm chart details are:

            ...

            ANSWER

            Answered 2022-Jan-28 at 08:45

            Posting comment as the community wiki answer for better visibility:

            That does appear like an incorrect architecture issue. Please refer to GitHub Issue

            Source https://stackoverflow.com/questions/70856953

            QUESTION

            Argo CD CLI error when installing on Windows 10 via powershell
            Asked 2022-Jan-23 at 14:44

            I'm trying to install ArgoCD CLI on my windows 10 PC by following the command from the website substituting the version but receive the below error. It does not seem to like the + operator? Can anybody assist?

            PS C:\Users\dell.docker> $url = "https://github.com/argoproj/argo-cd/releases/download/" + v2.2.3 + "/argocd-windows-amd64.exe"

            ...

            ANSWER

            Answered 2022-Jan-23 at 14:44

            You must quote the version number:

            Source https://stackoverflow.com/questions/70822276

            QUESTION

            How to uninstall ArgoCD from Kubernetes cluster?
            Asked 2022-Jan-11 at 04:41

            I've installed ArgoCD on my kubernetes cluster using

            ...

            ANSWER

            Answered 2022-Jan-11 at 04:41

            You can delete the entire installation using this - kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

            Reference

            Source https://stackoverflow.com/questions/70661683

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install argo-cd

            You can download it from GitHub.

            Support

            To learn more about Argo CD go to the complete documentation. Check live demo at https://cd.apps.argoproj.io/.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/argoproj/argo-cd.git

          • CLI

            gh repo clone argoproj/argo-cd

          • sshUrl

            git@github.com:argoproj/argo-cd.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link