pipekit-agent
by Pipekit
A Helm chart for pipekit-agent. Pipekit is the control plane for Argo Workflows. Platform teams use Pipekit to manage data & CI pipelines at scale, while giving developers self-serve access to Argo. Pipekit's unified logging view, enterprise-grade RBAC, and multi-cluster management capabilities lower maintenance costs for platform teams while delivering a superior devex for Argo users. Sign up for a 30-day free trial at pipekit.io/signup.
About this chart
Pipekit Agent Helm Chart
Installation
The Pipekit Agent must be installed onto each cluster where your Argo Workflow controller runs.
Since v7.1.0, this chart installs the Pipekit Agent Operator and a single Installation custom resource rather than templating the Agent Deployment directly.
The operator reconciles that Installation resource into the Agent Deployment, RBAC, ConfigMap, Service, metrics collector, and Vector log-shipping DaemonSet.
The helm upgrade/helm install commands below are unchanged — this only affects what the chart deploys under the hood.
Helm Install
When you choose to connect a cluster in Pipekit, you will be provided with a Secret Access Key for the cluster and a unique Cluster ID. These need to be passed to the helm chart when installing the Pipekit Agent. You should store the Secret Access Key securely in a password manager or similar.
kubectl create ns argo
helm repo add pipekit https://helm.pipekit.io
helm upgrade -i -n argo \
pipekit-agent pipekit/pipekit-agent \
--set secrets.pipekitSecretAccessKey="[provided Secret Access Key]" \
--set secrets.pipekitClusterId="[provided Cluster ID]"
Argo CD
If you are using Argo CD, you can install the Pipekit Agent using the following steps:
- Create and push a secret to your cluster containing your pipekitSecretAccessKey and pipekitClusterId
- Create a new Argo CD Application Manifest, referencing that secret:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pipekit-agent
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argo
server: 'https://kubernetes.default.svc'
source:
repoURL: 'https://helm.pipekit.io'
chart: pipekit-agent
targetRevision: HEAD
helm:
parameters:
- name: secrets.existingSecret
value: "pipekit-agent"
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- PrunePropagationPolicy=background
- CreateNamespace=true
Argo CD offers other secrets management alternatives to ensure that your secrets are not stored in plaintext in your git repository. You can read more about them in the Argo CD documentation.
Release Notes
Release notes are published on the Pipekit Releases site.
Pipekit Agent Helm Chart Values
There are other optional, configurable options within the Helm Chart. These are listed below.
| Key | Type | Default | Description |
|---|---|---|---|
| configMap.additionalConfig | object | {} | Add any additional configMap entries to the Pipekit Agent ConfigMap. |
| configMap.allowExternalWorkflows | bool | false | Allow Pipekit Agent to monitor workflows created without Pipekit. This is disabled by default. |
| configMap.annotations | object | {} | Add any additional annotations to the Pipekit Agent ConfigMap. |
| configMap.enableTelemetryUsersHTTPClient | bool | false | Should telemetry be enabled for users http client. |
| configMap.enableTelemetryUsersHTTPClientEndpointInfo | bool | false | Should endpoint info be included in the telemetry for users http client. |
| configMap.enableTelemetryWorkqueue | bool | false | Should telemetry be enabled for workqueue. |
| configMap.externalWorkflowsMaxWorkers | int | 10 | The maximum number of workers that the Pipekit Agent can use to execute external workflows. |
| configMap.logLevel | string | "INFO" | Set the logLevel for the Pipekit Agent. |
| configMap.logSendWorkers | int | 64 | The number of workers that the Pipekit Agent can use to send logs. |
| configMap.maxLogBatchSize | int | 1024 | The maximum number of logs to send in a single batch. |
| configMap.messengerBaseUri | string | https://api.pipekit.io | Set the base URI for the Pipekit Messenger Service. Only set this if you are running a self-hosted Pipekit instance. |
| configMap.podInformerWorkers | int | 8 | The number of workers that the Pipekit Agent can use to process pod consuming queue. |
| configMap.sendLogsToPipekit | bool | true | Send Workflow logs to Pipekit. Pipekit will store and index logs for you to view at pipekit.io Refer to the Vector section to enable performant log collection when running at massive scale. |
| configMap.shouldDeleteExternalWorkflows | bool | false | Should the Pipekit Agent delete external workflows after execution. This is set to false by default. |
| configMap.telemetryProtocols | string | "prometheus" | set to 'none' to disable all telemetry |
| configMap.usersBaseUri | string | https://api.pipekit.io | Set the base URI for the Pipekit Users Service. Only set this if you are running a self-hosted Pipekit instance. |
| configMap.workflowInformerWorkers | int | 8 | The number of workers that the Pipekit Agent can use to process workflow consuming queue. |
| crds.applyJob.affinity | object | {} | The CRD apply Job's affinity rules. Replaces scheduling.affinity for this Job. Empty means the Job uses scheduling.affinity. |
| crds.applyJob.enabled | bool | true | Run a Job before install and upgrade that applies the Installation CRD. Argo CD applies the CRD on every sync and skips this Job. |
| crds.applyJob.image.pullPolicy | string | the Pipekit Agent Operator image pull policy | The imagePullPolicy for the CRD apply Job. |
| crds.applyJob.image.repository | string | the Pipekit Agent Operator image repository | The image for the CRD apply Job. Set this if you host the container yourself. |
| crds.applyJob.image.tag | string | the chart appVersion | The image tag for the CRD apply Job. Set this if your registry does not hold the chart appVersion, for example when you mirror only the tags you deploy. The tag you choose must accept the --apply-crds flag. |
| crds.applyJob.nodeSelector | object | {} | The CRD apply Job's node selector. Replaces scheduling.nodeSelector for this Job. Empty means the Job uses scheduling.nodeSelector. |
| crds.applyJob.resources | object | {"limits":{"cpu":"200m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"64Mi"}} | Set the CRD apply Job's resource requests and limits. |
| crds.applyJob.tolerations | list | [] | The CRD apply Job's tolerations. Replaces scheduling.tolerations for this Job. Empty means the Job uses scheduling.tolerations. |
| customCABundle.configMapKey | string | "root-ca.pem" | Key in the ConfigMap that contains the CA certificate. |
| customCABundle.configMapName | string | "" | Name of the ConfigMap containing the CA certificate. |
| customCABundle.enabled | bool | false | Enable mounting a custom CA certificate bundle. |
| customCABundle.mountPath | string | "/etc/ssl/certs/root-ca.pem" | Path where the CA certificate will be mounted. |
| deployment.affinity | object | {} | The Pipekit Agent pod's affinity rules. Replaces scheduling.affinity for this pod. Empty means the pod uses scheduling.affinity. The operator pod and the CRD apply Job read it under the same fallback as deployment.nodeSelector. |
| deployment.extraEnvFrom | list | [] | Extra envFrom sources (ConfigMap / Secret references) appended to the Pipekit Agent container. Useful for injecting environment from secrets managed outside the chart. |
| deployment.image.imagePullSecrets | list | [] | Allows you to define the name of existing imagePullSecrets to use for pulling the Pipekit Agent image. |
| deployment.image.pullPolicy | string | "IfNotPresent" | The imagePullPolicy for the Pipekit Agent image. |
| deployment.image.repository | string | "pipekit13/pipekit-agent" | The Pipekit Agent image name and repository. Change this if you wish to host the container yourself. |
| deployment.image.tag | string | "" | Allows you to pin to a specific image tag. The Chart.yaml contains a default value. |
| deployment.nodeSelector | object | {} | The Pipekit Agent pod's node selector. Replaces scheduling.nodeSelector for this pod. Empty means the pod uses scheduling.nodeSelector. The operator pod and the CRD apply Job also read this key while both their own section and scheduling are empty, so values files written before scheduling existed keep working. Set operator.nodeSelector or crds.applyJob.nodeSelector to place those two pods on their own. |
| deployment.podAnnotations | object | {} | Add any additional annotations to the Pipekit Agent pod. |
| deployment.podLabels | object | {} | Add any additional labels to the Pipekit Agent pod. |
| deployment.podSecurityContext | object | {} | The Pipekit Agent pod's security context. Empty means the operator default: runAsUser, runAsGroup and fsGroup 65532, runAsNonRoot: true. A value here replaces that default as a whole, so set every field you need. Keep runAsUser set: the image names its user, so Kubernetes cannot check runAsNonRoot without a numeric UID. |
| deployment.resources | object | {} | Set the Pipekit Agent pod's resource requests and limits. We suggest a minimal amount of resources below, but you should increase these if needed as actual resource usage will depend on usage. |
| deployment.securityContext | object | {} | The Pipekit Agent container's security context. Empty means the operator default: runAsUser and runAsGroup 65532, runAsNonRoot: true, allowPrivilegeEscalation: false. A value here replaces that default as a whole. |
| deployment.tolerations | list | [] | The Pipekit Agent pod's tolerations. Replaces scheduling.tolerations for this pod. Empty means the pod uses scheduling.tolerations. The operator pod and the CRD apply Job read it under the same fallback as deployment.nodeSelector. |
| features | object | {"metrics":{"argoWfControllerLabels":{},"argoWfMetricsPath":"/metrics","argoWfMetricsPort":9090,"argoWfNamespace":"argo","collectorAffinity":{},"collectorLogLevel":"info","collectorNodeSelector":{},"collectorPodSecurityContext":{},"collectorResources":{"requests":{"cpu":"80m","memory":"256Mi"}},"collectorTolerations":[],"deployment":{"image":{"imagePullSecrets":[],"pullPolicy":"IfNotPresent","repository":"pipekit13/agent","tag":""},"replicas":1,"resources":{"limits":{"cpu":"200m","memory":"250Mi"},"requests":{"cpu":"10m","memory":"50Mi"}}},"insecureK8s":false,"k8sAuthType":"","metricsCollectorUrl":"","otelCollectorImage":"","otelCollectorTag":"","pipekitApiUrl":"","scrapeCluster":true},"workflows":{"argoServerUrl":"","enabled":true,"namespace":"","nodeOffloading":{"argoDB":{"archiveTableName":"argo_archived_workflows","database":"","driver":"postgres","host":"","maxConnectionLifetime":5,"maxIdleConnections":15,"maxOpenConnections":30,"maxRetries":3,"offloadedNodesTableName":"argo_workflows","port":5432,"secret":{"annotations":{},"argoDBPassword":"","argoDBUsername":"","existingSecret":"","name":""},"sslMode":"disable"},"enabled":false},"stepPodsDelete":{"enabled":true}}} | Enable and Disable features of the Pipekit Agent. |
| features.metrics.argoWfControllerLabels | object | {} | the labels we should use to select the workflow controller. Defaults to app: workflow-controller if not set (suitable for the official Workflows release manifest) |
| features.metrics.argoWfMetricsPath | string | "/metrics" | The path where your Argo Workflows controller exposes metrics. |
| features.metrics.argoWfMetricsPort | int | 9090 | The port number of your Argo Workflows controller that exposes metrics. |
| features.metrics.argoWfNamespace | string | "argo" | The namespace where your Argo Workflows controller is running. This tells Pipekit Agent where to find the Workflow metrics. |
| features.metrics.collectorAffinity | object | {} | Affinity rules for the opentelemetry collector. Replaces scheduling.affinity for this pod. Empty means the pod uses scheduling.affinity. |
| features.metrics.collectorLogLevel | string | "info" | The Pipekit Agent Metrics Collector will log at this level. |
| features.metrics.collectorNodeSelector | object | {} | A nodeselector for the opentelemetry collector. Replaces scheduling.nodeSelector for this pod. Empty means the pod uses scheduling.nodeSelector. |
| features.metrics.collectorPodSecurityContext | object | {} | The opentelemetry collector pod's security context. Empty means the pod has none. |
| features.metrics.collectorResources | object | {"requests":{"cpu":"80m","memory":"256Mi"}} | Resource requests and limits for the collector |
| features.metrics.collectorTolerations | list | [] | Tolerations for the opentelemetry collector. Replaces scheduling.tolerations for this pod. Empty means the pod uses scheduling.tolerations. |
| features.metrics.deployment.image.imagePullSecrets | list | [] | Allows you to define the name of existing imagePullSecrets to use for pulling the Pipekit Agent Operator image. |
| features.metrics.deployment.image.pullPolicy | string | "IfNotPresent" | The imagePullPolicy for the Pipekit Agent Operator image. |
| features.metrics.deployment.image.repository | string | "pipekit13/agent" | The Pipekit Agent Operator image name and repository. Change this if you wish to host the container yourself. |
| features.metrics.deployment.image.tag | string | "" | Allows you to pin to a specific image tag. The Chart.yaml contains a default value. |
| features.metrics.deployment.replicas | int | 1 | The number of replicas for the Pipekit Agent Metrics Collector. |
| features.metrics.deployment.resources | object | {"limits":{"cpu":"200m","memory":"250Mi"},"requests":{"cpu":"10m","memory":"50Mi"}} | Set the Pipekit Agent Controller Manager pod's resource requests and limits. We suggest a minimal amount of resources below, but you should increase these if needed as actu |
Deploy pipekit-agent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pipekit-agent 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 chartpipekit-agent is pinned at v8.7.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