argo-rollouts

by Argo Project

Helm chartv2.43.12App v1.10.2Verified publisher

A Helm chart for Argo Rollouts

About this chart

Argo Rollouts Chart

A Helm chart for Argo Rollouts, progressive delivery for Kubernetes.

Source code can be found here

Additional Information

This is a community maintained chart. This chart installs argo-rollouts, progressive delivery for Kubernetes.

The default installation is intended to be similar to the provided Argo Rollouts releases.

Prerequisites

  • Kubernetes 1.7+
  • Helm v3.0.0+

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add argo https://argoproj.github.io/argo-helm
$ helm install my-release argo/argo-rollouts

UI Dashboard

If dashboard is installed by --set dashboard.enabled=true, checkout the argo-rollouts dashboard by kubectl port-forward service/argo-rollouts-dashboard 31000:3100 and pointing the browser to localhost:31000

:warning: WARNING when the Service type is set to LoadBalancer or NodePort
The chart provides an option to change the service type (dashboard.service.type). Also it provides the ability to expose the dashboard via Ingress. Dashboard was never intended to be exposed as an administrative console -- it started out as a local view available via CLI. It should be protected by something (e.g. network access or even better an oauth proxy).

Changelog

For full list of changes please check ArtifactHub [changelog].

Chart Values

General parameters

KeyTypeDefaultDescription
apiVersionOverrides.ingressstring""String to override apiVersion of ingresses rendered by this helm chart
clusterInstallbooltruefalse runs controller in namespaced mode (does not require cluster RBAC)
crdAnnotationsobject{}Annotations to be added to all CRDs
createClusterAggregateRolesbooltrueflag to enable creation of cluster aggregate roles (requires cluster RBAC)
extraObjectslist[]Additional manifests to deploy within the chart. A list of objects.
fullnameOverridestringnilString to fully override "argo-rollouts.fullname" template
global.deploymentAnnotationsobject{}Annotations for all deployed Deployments
global.deploymentLabelsobject{}Labels for all deployed Deployments
global.dnsConfigobject{}Specifies the deployment DNS configuration for controller and dashboard.
global.revisionHistoryLimitint10Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
imagePullSecretslist[]Secrets with credentials to pull images from a private registry. Registry secret names as an array.
installCRDsbooltrueInstall and upgrade CRDs
keepCRDsbooltrueKeep CRD's on helm uninstall
kubeVersionOverridestring""Override the Kubernetes version, which is used to evaluate certain manifests
nameOverridestringnilString to partially override "argo-rollouts.fullname" template
namespaceOverridestring.Release.NamespaceOverride the namespace
notifications.configmap.createbooltrueWhether to create notifications configmap
notifications.notifiersobject{}Configures notification services
notifications.secret.annotationsobject{}Annotations to be added to the notifications secret
notifications.secret.createboolfalseWhether to create notifications secret.
notifications.secret.itemsobject{}Generic key:value pairs to be inserted into the notifications secret
notifications.subscriptionslist[]The subscriptions define the subscriptions to the triggers in a general way for all rollouts
notifications.templatesobject{}Notification templates
notifications.triggersobject{}The trigger defines the condition when the notification should be sent
providerRBAC.additionalRuleslist[]Additional RBAC rules for others providers
providerRBAC.enabledbooltrueToggles addition of provider-specific RBAC rules to the controller Role and ClusterRole
providerRBAC.providers.ambassadorbooltrueAdds RBAC rules for the Ambassador provider
providerRBAC.providers.apisixbooltrueAdds RBAC rules for the Apisix provider
providerRBAC.providers.awsAppMeshbooltrueAdds RBAC rules for the AWS App Mesh provider
providerRBAC.providers.awsLoadBalancerControllerbooltrueAdds RBAC rules for the AWS Load Balancer Controller provider
providerRBAC.providers.contourbooltrueAdds RBAC rules for the Contour provider, see https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-contour/blob/main/README.md
providerRBAC.providers.gatewayAPIbooltrueAdds RBAC rules for the Gateway API provider
providerRBAC.providers.glooPlatformbooltrueAdds RBAC rules for the Gloo Platform provider, see https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-glooplatform/blob/main/README.md
providerRBAC.providers.istiobooltrueAdds RBAC rules for the Istio provider
providerRBAC.providers.smibooltrueAdds RBAC rules for the SMI provider
providerRBAC.providers.traefikbooltrueAdds RBAC rules for the Traefik provider

Controller

KeyTypeDefaultDescription
containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"seccompProfile":{"type":"RuntimeDefault"}}Security Context to set on container level
controller.affinityobject{}Assign custom [affinity] rules to the deployment
controller.albTagKeyResourceIDstring""Set the ALB tag key for resource ID (e.g. ingress.k8s.aws/resource for standard EKS, ingress.eks.amazonaws.com for EKS Auto Mode)
controller.awsTargetGroupBindingAPIVersionstring""Set the AWS TargetGroupBinding apiVersion (e.g. elbv2.k8s.aws/v1beta1 for standard EKS, eks.amazonaws.com/v1 for EKS Auto Mode)
controller.awsVerifyTargetGroupboolfalseEnable AWS target group verification before progressing through steps (requires AWS privileges)
controller.componentstring"rollouts-controller"Value of label app.kubernetes.io/component
controller.containerPorts.healthzint8080Healthz container port
controller.containerPorts.metricsint8090Metrics container port
controller.createClusterRolebooltrueflag to enable creation of cluster controller role (requires cluster RBAC)
controller.createConfigmapbooltrueWhether to create the argo-rollouts-config ConfigMap. Set to false when running multiple controller instances in the same namespace (e.g. with different --instance-id values) to avoid Helm ownership conflicts; each secondary instance will read the ConfigMap created by the primary release.
controller.deploymentAnnotationsobject{}Annotations to be added to the controller deployment
controller.deploymentLabelsobject{}Labels to be added to the controller deployment
controller.extraArgslist[]Additional command line arguments to pass to rollouts-controller. A list of flags.
controller.extraContainerslist[]Literal yaml for extra containers to be added to controller deployment.
controller.extraEnvlist[]Additional environment variables for rollouts-controller. A list of name/value maps.
controller.image.pullPolicystring"IfNotPresent"Image pull policy
controller.image.registrystring"quay.io"Registry to use
controller.image.repositorystring"argoproj/argo-rollouts"Repository to use
controller.image.tagstring""Overrides the image tag (default is the chart appVersion)
controller.initContainerslist[]Init containers to add to the rollouts controller pod
controller.lifecycleobject{}Specify lifecycle hooks for the controller
controller.livenessProbeobjectSee [values.yaml]Configure liveness [probe] for the controller
controller.logging.formatstring"text"Set the logging format (one of: text, json)
controller.logging.kloglevelstring"0"Set the klog logging level
controller.logging.levelstring"info"Set the logging level (one of: debug, info, warn, error)
controller.metricProviderPluginslist[]Configures 3rd party metric providers for controller
controller.metrics.enabledboolfalseDeploy metrics service
controller.metrics.service.annotationsobject{}Service annotations
controller.metrics.service.portint8090Metrics service port
controller.metrics.service.portNamestring"metrics"Metrics service port name
controller.metrics.serviceMonitor.additionalAnnotationsobject{}Annotations to be added to the ServiceMonitor
controller.metrics.serviceMonitor.additionalLabelsobject{}Labels to be added to the ServiceMonitor
controller.metrics.serviceMonitor.enabledboolfalseEnable a prometheus ServiceMonitor
controller.metrics.serviceMonitor.intervalstring""Prometheus ServiceMonitor interval; empty uses Prometheus's global one
controller.metrics.serviceMonitor.metricRelabelingslist[]MetricRelabelConfigs to apply to samples before ingestion
controller.metrics.serviceMonitor.namespacestring""Namespace to be used for the ServiceMonitor
controller.metrics.serviceMonitor.relabelingslist[]RelabelConfigs to apply to samples before scraping
controller.metrics.serviceMonitor.scrapeTimeoutstring""Prometheus ServiceMonitor scrapeTimeout; empty uses Prometheus's global one
controller.metrics.serviceMonitor.tlsConfigobject{}TLS configuration for the ServiceMonitor. When set, scheme will be https
controller.nodeSelectorobject{}[Node selector]
controller.pdb.annotationsobject{}Annotations to be added to controller [Pod Disruption Budget]
controller.pdb.enabledboolfalseDeploy a [Pod Disruption Budget] for the controller
controller.pdb.labelsobject{}Labels to be added to controller [Pod Disruption Budget]
controller.pdb.maxUnavailablestringnilMaximum number / percentage of pods that may be made unavailable
controller.pdb.minAvailablestringnilMinimum number / percentage of pods that should remain scheduled
controller.podAnnotationsobject{}Annotations to be added to application controller pods
controller.podLabelsobject{}Labels to be added to the application controller pods
controller.pprofAddressstring""Enable pprof profiling on the controller by specifying a listen address (e.g. :6060 or localhost:6060)
controller.priorityClassNamestring""[priorityClassName] for the controller
controller.readinessProbeobject{}Configure readiness [probe] for the controller
controller.replicasint2The number of controller pods to run
controller.resourcesobject{}Resource limits and requests for the controller pods.
controller.selfServiceNotificationboolfalseEnable self-service notification support, allowing the controller to pull notification config from the rollout's namespace
controller.stepPluginslist[]Configures 3rd party stepPlugins for controller
controller.terminationGracePeriodSecondsint30terminationGracePeriodSeconds for container lifecycle hook
controller.tolerationslist[][Tolerations] for use with node taints
controller.topologySpreadConstraintslist[]Assign custom [TopologySpreadConstraints] rules to the controller
controller.trafficRouterPluginslist[]Configures 3rd party traffic router plugins for controller
controller.volumeMountslist[]Additional volumeMounts to add to the controller container
controller.volumeslist[]Additional volumes to add to the controller pod
podAnnotationsobject{}Annotations for the all deployed pods
podLabelsobject{}Labels to be added to the Rollout pods
podSecurityContextobject{"runAsNonRoot":true}Security Context to set on pod level
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
serviceAnnotationsobject{}Annotations to be added to the Rollout service

Dashboard

KeyTypeDefaultDescription
dashboard.addressstring"0.0.0.0"Address the dashboard listens on. Since v1.10.1 the dashboard binds to 127.0.0.1 unless told otherwise, which the Service cannot reach. Set to "" to omit the flag for images older than v1.8.5, v1.9.2 or v1.10.1.
dashboard.affinityobject{}Assign custom [affinity] rules to the deployment
dashboard.componentstring"rollouts-dashboard"Value of label app.kubernetes.io/component
dashboard.containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"seccompProfile":{"type":"RuntimeDefault"}}Security Context to set on container level
dashboard.createClusterRolebooltrue

Deploy argo-rollouts with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has argo-rollouts 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-rollouts is pinned at v2.43.12 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