argo-cd

by [riftbit]

Helm chartv2.0.1App 2.1.2Verified publisher

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]

Argo CD image parameters

NameDescriptionValue
image.registryArgo CD image registrydocker.io
image.repositoryArgo CD image repositorybitnami/argo-cd
image.tagArgo CD image tag (immutable tags are recommended)2.1.2-debian-10-r0
image.pullPolicyArgo CD image pull policyIfNotPresent
image.pullSecretsArgo CD image pull secrets[]

Argo CD application controller parameters

NameDescriptionValue
controller.replicaCountNumber of Argo CD replicas to deploy1
controller.livenessProbe.enabledEnable livenessProbe on Argo CD nodestrue
controller.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe10
controller.livenessProbe.periodSecondsPeriod seconds for livenessProbe10
controller.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
controller.livenessProbe.failureThresholdFailure threshold for livenessProbe3
controller.livenessProbe.successThresholdSuccess threshold for livenessProbe1
controller.readinessProbe.enabledEnable readinessProbe on Argo CD nodestrue
controller.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe10
controller.readinessProbe.periodSecondsPeriod seconds for readinessProbe10
controller.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
controller.readinessProbe.failureThresholdFailure threshold for readinessProbe3
controller.readinessProbe.successThresholdSuccess threshold for readinessProbe1
controller.customLivenessProbeCustom livenessProbe that overrides the default one{}
controller.customReadinessProbeCustom readinessProbe that overrides the default one{}
controller.resources.limitsThe resources limits for the Argo CD containers{}
controller.resources.requestsThe requested resources for the Argo CD containers{}
controller.podSecurityContext.enabledEnabled Argo CD pods' Security Contexttrue
controller.podSecurityContext.fsGroupSet Argo CD pod's Security Context fsGroup1001
controller.containerSecurityContext.enabledEnabled Argo CD containers' Security Contexttrue
controller.containerSecurityContext.runAsUserSet Argo CD containers' Security Context runAsUser1001
controller.serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
controller.serviceAccount.nameThe name of the ServiceAccount to use.""
controller.serviceAccount.automountServiceAccountTokenAutomount service account token for the application controller service accounttrue
controller.clusterAdminAccessEnable K8s cluster admin access for the application controllertrue
controller.clusterRoleRulesUse custom rules for the application controller's cluster role[]
controller.logFormatFormat for the Argo CD application controller logs. Options: [text, json]text
controller.logLevelLog level for the Argo CD application controllerinfo
controller.containerPorts.controllerArgo CD application controller port number8082
controller.containerPorts.metricsArgo CD application controller metrics port number8082
controller.service.typeArgo CD service typeClusterIP
controller.service.portArgo CD application controller service port8082
controller.service.nodePortNode port for Argo CD application controller service""
controller.service.loadBalancerIPArgo CD application controller service Load Balancer IP""
controller.service.loadBalancerSourceRangesArgo CD application controller service Load Balancer sources[]
controller.service.externalTrafficPolicyArgo CD application controller service external traffic policyCluster
controller.service.annotationsAdditional custom annotations for Argo CD application controller service{}
controller.metrics.enabledEnable Argo CD application controller metricsfalse
controller.metrics.service.typeArgo CD application controller service typeClusterIP
controller.metrics.service.portArgo CD application controller metrics service port8082
controller.metrics.service.nodePortNode port for the application controller service""
controller.metrics.service.loadBalancerIPArgo CD application controller service Load Balancer IP""
controller.metrics.service.loadBalancerSourceRangesArgo CD application controller service Load Balancer sources[]
controller.metrics.service.externalTrafficPolicyArgo CD application controller service external traffic policyCluster
controller.metrics.service.annotationsAdditional custom annotations for Argo CD application controller service{}
controller.metrics.serviceMonitor.enabledEnable service monirot for Argo CD application controllerfalse
controller.metrics.serviceMonitor.intervalInterval for the Argo CD application controller service monitor30s
controller.metrics.rules.enabledEnable render extra rules for PrometheusRule objectfalse
controller.metrics.rules.specRules to render into the PrometheusRule object[]
controller.metrics.rules.selectorSelector for the PrometheusRule object{}
controller.metrics.rules.namespaceNamespace where to create the PrometheusRule objectmonitoring
controller.metrics.rules.additionalLabelsAdditional lables to add to the PrometheusRule object{}
controller.commandOverride default container command (useful when using custom images)[]
controller.defaultArgs.statusProcessorsDefault status processors for Argo CD controller20
controller.defaultArgs.operationProcessorsDefault operation processors for Argo CD controller10
controller.defaultArgs.appResyncPeriodDefault application resync period for Argo CD controller180
controller.defaultArgs.selfHealTimeoutDefault 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartargo-cd is pinned at v2.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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