argo-cd
by [riftbit]
Declarative, GitOps continuous delivery tool for Kubernetes.
About this chart
Argo CD
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/argo-cd
Introduction
This chart bootstraps an Argo CD deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
helm install my-release bitnami/argo-cd
The command deploys argo-cd on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
Argo CD image parameters
| Name | Description | Value |
|---|---|---|
image.registry | Argo CD image registry | docker.io |
image.repository | Argo CD image repository | bitnami/argo-cd |
image.tag | Argo CD image tag (immutable tags are recommended) | 2.1.2-debian-10-r0 |
image.pullPolicy | Argo CD image pull policy | IfNotPresent |
image.pullSecrets | Argo CD image pull secrets | [] |
Argo CD application controller parameters
| Name | Description | Value |
|---|---|---|
controller.replicaCount | Number of Argo CD replicas to deploy | 1 |
controller.livenessProbe.enabled | Enable livenessProbe on Argo CD nodes | true |
controller.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 10 |
controller.livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
controller.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 1 |
controller.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 3 |
controller.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
controller.readinessProbe.enabled | Enable readinessProbe on Argo CD nodes | true |
controller.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 10 |
controller.readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
controller.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 1 |
controller.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 3 |
controller.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
controller.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
controller.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
controller.resources.limits | The resources limits for the Argo CD containers | {} |
controller.resources.requests | The requested resources for the Argo CD containers | {} |
controller.podSecurityContext.enabled | Enabled Argo CD pods' Security Context | true |
controller.podSecurityContext.fsGroup | Set Argo CD pod's Security Context fsGroup | 1001 |
controller.containerSecurityContext.enabled | Enabled Argo CD containers' Security Context | true |
controller.containerSecurityContext.runAsUser | Set Argo CD containers' Security Context runAsUser | 1001 |
controller.serviceAccount.create | Specifies whether a ServiceAccount should be created | true |
controller.serviceAccount.name | The name of the ServiceAccount to use. | "" |
controller.serviceAccount.automountServiceAccountToken | Automount service account token for the application controller service account | true |
controller.clusterAdminAccess | Enable K8s cluster admin access for the application controller | true |
controller.clusterRoleRules | Use custom rules for the application controller's cluster role | [] |
controller.logFormat | Format for the Argo CD application controller logs. Options: [text, json] | text |
controller.logLevel | Log level for the Argo CD application controller | info |
controller.containerPorts.controller | Argo CD application controller port number | 8082 |
controller.containerPorts.metrics | Argo CD application controller metrics port number | 8082 |
controller.service.type | Argo CD service type | ClusterIP |
controller.service.port | Argo CD application controller service port | 8082 |
controller.service.nodePort | Node port for Argo CD application controller service | "" |
controller.service.loadBalancerIP | Argo CD application controller service Load Balancer IP | "" |
controller.service.loadBalancerSourceRanges | Argo CD application controller service Load Balancer sources | [] |
controller.service.externalTrafficPolicy | Argo CD application controller service external traffic policy | Cluster |
controller.service.annotations | Additional custom annotations for Argo CD application controller service | {} |
controller.metrics.enabled | Enable Argo CD application controller metrics | false |
controller.metrics.service.type | Argo CD application controller service type | ClusterIP |
controller.metrics.service.port | Argo CD application controller metrics service port | 8082 |
controller.metrics.service.nodePort | Node port for the application controller service | "" |
controller.metrics.service.loadBalancerIP | Argo CD application controller service Load Balancer IP | "" |
controller.metrics.service.loadBalancerSourceRanges | Argo CD application controller service Load Balancer sources | [] |
controller.metrics.service.externalTrafficPolicy | Argo CD application controller service external traffic policy | Cluster |
controller.metrics.service.annotations | Additional custom annotations for Argo CD application controller service | {} |
controller.metrics.serviceMonitor.enabled | Enable service monirot for Argo CD application controller | false |
controller.metrics.serviceMonitor.interval | Interval for the Argo CD application controller service monitor | 30s |
controller.metrics.rules.enabled | Enable render extra rules for PrometheusRule object | false |
controller.metrics.rules.spec | Rules to render into the PrometheusRule object | [] |
controller.metrics.rules.selector | Selector for the PrometheusRule object | {} |
controller.metrics.rules.namespace | Namespace where to create the PrometheusRule object | monitoring |
controller.metrics.rules.additionalLabels | Additional lables to add to the PrometheusRule object | {} |
controller.command | Override default container command (useful when using custom images) | [] |
controller.defaultArgs.statusProcessors | Default status processors for Argo CD controller | 20 |
controller.defaultArgs.operationProcessors | Default operation processors for Argo CD controller | 10 |
controller.defaultArgs.appResyncPeriod | Default application resync period for Argo CD controller | 180 |
controller.defaultArgs.selfHealTimeout | Default self heal timeout |
Deploy argo-cd with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has argo-cd on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartargo-cd is pinned at v2.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply