flyteagent

by EngHabu

Helm chartv1.15.3

A Helm chart for Flyte agent

About this chart

flyteagent

A Helm chart for Flyte agent

Values

KeyTypeDefaultDescription
additionalContainerslist[]Appends additional containers to the deployment spec. May include template values.
additionalVolumeMountslist[]Appends additional volume mounts to the main container's spec. May include template values.
additionalVolumeslist[]Appends additional volumes to the deployment spec. May include template values.
affinityobject{}affinity for flyteagent deployment
agentSecret.secretDataobject{"data":{"username":"User"}}Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data).
commonAnnotationsobject{}
commonLabelsobject{}
configPathstring"/etc/flyteagent/config/*.yaml"Default regex string for searching configuration files
extraArgsobject{}Appends extra command line arguments to the main command
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"Docker image pull policy
image.repositorystring"cr.flyte.org/flyteorg/flyteagent"Docker image for flyteagent deployment
image.tagstring"1.15.3"Docker image tag
nameOverridestring""
nodeSelectorobject{}nodeSelector for flyteagent deployment
podAnnotationsobject{}Annotations for flyteagent pods
podEnvobject{}Additional flyteagent pod container environment variables
podLabelsobject{}Labels for flyteagent pods
podSecurityContextobject{}Security context for pod
ports.containerPortint8000
ports.namestring"agent-grpc"
priorityClassNamestring""Sets priorityClassName for datacatalog pod(s).
readinessProbeobject{"grpc":{"port":8000},"initialDelaySeconds":1,"periodSeconds":3}https://kubernetes.io/blog/2022/05/13/grpc-probes-now-in-beta/#trying-the-feature-out
replicaCountint1Replicas count for flyteagent deployment
resourcesobject{"limits":{"cpu":"500m","ephemeral-storage":"200Mi","memory":"300Mi"},"requests":{"cpu":"500m","ephemeral-storage":"200Mi","memory":"200Mi"}}Default resources requests and limits for flyteagent deployment
securityContextobject{"allowPrivilegeEscalation":false}Security context for container
serviceobject{"annotations":{"projectcontour.io/upstream-protocol.h2c":"grpc"},"type":"ClusterIP"}Service settings for flyteagent
serviceAccountobject{"annotations":{},"create":true,"imagePullSecrets":[]}Configuration for service accounts for flyteagent
serviceAccount.annotationsobject{}Annotations for ServiceAccount attached to flyteagent pods
serviceAccount.createbooltrueShould a service account be created for flyteagent
serviceAccount.imagePullSecretslist[]ImagePullSecrets to automatically assign to the service account
tolerationslist[]tolerations for flyteagent deployment

Deploy flyteagent with OpenTenant

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