argo-cd | Declarative continuous deployment for Kubernetes | Continuous Deployment library
kandi X-RAY | argo-cd Summary
kandi X-RAY | argo-cd Summary
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of argo-cd
argo-cd Key Features
argo-cd Examples and Code Snippets
Community Discussions
Trending Discussions on argo-cd
QUESTION
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:16There 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
QUESTION
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:08Because 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).
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 DEF
s, 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.
QUESTION
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:25The issue was with the values identation in TF code.
The issue was resolved when I resolve that:
QUESTION
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:47QUESTION
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:06If your problem is that the namespace cannot be deleted, the following two solutions may help you:
- Check what resources are stuck in the deletion process, delete these resources, and then delete ns
- 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.
QUESTION
I used the following command to install the Argo CD in the EKS fargate cluster.
...ANSWER
Answered 2022-Feb-14 at 05:10Your Fargate was created to run deployment to "dev-cluster" namespace:
QUESTION
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:01The 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:
- using
argocd
CLI - using a manifest YAML file
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
:
QUESTION
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:45Posting comment as the community wiki answer for better visibility:
That does appear like an incorrect architecture issue. Please refer to GitHub Issue
QUESTION
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:44You must quote the version number:
QUESTION
I've installed ArgoCD on my kubernetes cluster using
...ANSWER
Answered 2022-Jan-11 at 04:41You can delete the entire installation using this - kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install argo-cd
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page