flyte-devbox

by EngHabu

Helm chartv0.1.0App 1.16.1

A Helm chart for the Flyte local demo cluster

About this chart

flyte-devbox

A Helm chart for the Flyte local demo cluster

Requirements

RepositoryNameVersion
file://../flyte-binaryflyte-binaryv0.2.0
https://deeploy-knative-serving-charts.storage.googleapis.com/knative-serving1.18.3
https://rustfs.github.io/helmrustfs0.0.94
https://twuni.github.io/docker-registry.helmdocker-registry2.2.2

Values

KeyTypeDefaultDescription
docker-registry.containerSecurityContext.runAsUserint0
docker-registry.enabledbooltrue
docker-registry.fullnameOverridestring"docker-registry"
docker-registry.image.pullPolicystring"Never"
docker-registry.image.tagstring"sandbox"
docker-registry.persistence.enabledbooltrue
docker-registry.persistence.existingClaimstring"flyte-devbox-registry-storage"
docker-registry.secrets.haSharedSecretstring"flytesandboxsecret"
docker-registry.securityContext.runAsUserint0
docker-registry.service.nodePortint30000
docker-registry.service.typestring"NodePort"
flyte-binary.clusterResourceTemplates.inlineConfigMapstring"{{ include \"flyte-devbox.clusterResourceTemplates.inlineConfigMap\" . }}"
flyte-binary.configuration.co-pilot.image.repositorystring"flyte-binary-v2"
flyte-binary.configuration.co-pilot.image.tagstring"sandbox"
flyte-binary.configuration.database.postgres.hoststring"postgresql"
flyte-binary.configuration.database.postgres.passwordstring"postgres"
flyte-binary.configuration.inline.internalApps.baseDomainstring"localhost"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[0].FLYTE_AWS_ENDPOINTstring"http://rustfs-svc.{{ .Release.Namespace }}:9000"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[1].FLYTE_AWS_ACCESS_KEY_IDstring"rustfs"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[2].FLYTE_AWS_SECRET_ACCESS_KEYstring"rustfsstorage"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[3]._U_EP_OVERRIDEstring"flyte-binary-http.{{ .Release.Namespace }}:8090"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[4]._U_INSECUREstring"true"
flyte-binary.configuration.inline.internalApps.defaultEnvVars[5]._U_USE_ACTIONSstring"1"
flyte-binary.configuration.inline.internalApps.enabledbooltrue
flyte-binary.configuration.inline.internalApps.ingressAppsPortint30081
flyte-binary.configuration.inline.internalApps.schemestring"http"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[0].FLYTE_AWS_ENDPOINTstring"http://rustfs-svc.{{ .Release.Namespace }}:9000"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[1].FLYTE_AWS_ACCESS_KEY_IDstring"rustfs"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[2].FLYTE_AWS_SECRET_ACCESS_KEYstring"rustfsstorage"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[3]._U_EP_OVERRIDEstring"flyte-binary-http.{{ .Release.Namespace }}:8090"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[4]._U_INSECUREstring"true"
flyte-binary.configuration.inline.plugins.k8s.default-env-vars[5]._U_USE_ACTIONSstring"1"
flyte-binary.configuration.inline.runs.database.postgres.dbNamestring"runs"
flyte-binary.configuration.inline.runs.database.postgres.hoststring"postgresql.{{ .Release.Namespace }}"
flyte-binary.configuration.inline.runs.database.postgres.portint5432
flyte-binary.configuration.inline.runs.database.postgres.userstring"postgres"
flyte-binary.configuration.inline.storage.signedURL.stowConfigOverride.endpointstring"http://localhost:30002"
flyte-binary.configuration.inline.task_resources.defaults.cpustring"500m"
flyte-binary.configuration.inline.task_resources.defaults.ephemeralStorageint0
flyte-binary.configuration.inline.task_resources.defaults.gpuint0
flyte-binary.configuration.inline.task_resources.defaults.memorystring"1Gi"
flyte-binary.configuration.inline.task_resources.limits.cpuint0
flyte-binary.configuration.inline.task_resources.limits.ephemeralStorageint0
flyte-binary.configuration.inline.task_resources.limits.gpuint0
flyte-binary.configuration.inline.task_resources.limits.memoryint0
flyte-binary.configuration.inline.webhook.embeddedSecretManagerConfig.k8sConfig.namespacestring"{{ .Release.Namespace }}"
flyte-binary.configuration.inline.webhook.embeddedSecretManagerConfig.typestring"K8s"
flyte-binary.configuration.inline.webhook.secretManagerTypes[0]string"Embedded"
flyte-binary.configuration.inlineConfigMapstring"{{ include \"flyte-devbox.configuration.inlineConfigMap\" . }}"
flyte-binary.configuration.logging.levelint5
flyte-binary.configuration.storage.metadataContainerstring"flyte-data"
flyte-binary.configuration.storage.providerstring"s3"
flyte-binary.configuration.storage.providerConfig.s3.accessKeystring"rustfs"
flyte-binary.configuration.storage.providerConfig.s3.authTypestring"accesskey"
flyte-binary.configuration.storage.providerConfig.s3.disableSSLbooltrue
flyte-binary.configuration.storage.providerConfig.s3.endpointstring"http://rustfs-svc.{{ .Release.Namespace }}:9000"
flyte-binary.configuration.storage.providerConfig.s3.secretKeystring"rustfsstorage"
flyte-binary.configuration.storage.providerConfig.s3.v2Signingbooltrue
flyte-binary.console.image.pullPolicystring"Never"
flyte-binary.console.image.repositorystring"docker.io/unionai-oss/flyteconsole-v2"
flyte-binary.console.image.tagstring"sandbox"
flyte-binary.deployment.image.pullPolicystring"Never"
flyte-binary.deployment.image.repositorystring"flyte-binary-v2"
flyte-binary.deployment.image.tagstring"sandbox"
flyte-binary.deployment.livenessProbe.httpGet.pathstring"/healthz"
flyte-binary.deployment.livenessProbe.httpGet.portstring"http"
flyte-binary.deployment.readinessProbe.httpGet.pathstring"/readyz"
flyte-binary.deployment.readinessProbe.httpGet.portstring"http"
flyte-binary.deployment.readinessProbe.periodSecondsint1
flyte-binary.deployment.startupProbe.failureThresholdint30
flyte-binary.deployment.startupProbe.httpGet.pathstring"/healthz"
flyte-binary.deployment.startupProbe.httpGet.portstring"http"
flyte-binary.deployment.startupProbe.periodSecondsint1
flyte-binary.deployment.waitForDB.image.pullPolicystring"Never"
flyte-binary.deployment.waitForDB.image.repositorystring"bitnami/postgresql"
flyte-binary.deployment.waitForDB.image.tagstring"sandbox"
flyte-binary.enabledbooltrue
flyte-binary.fullnameOverridestring"flyte-binary"
flyte-binary.rbac.extraRules[0].apiGroups[0]string"*"
flyte-binary.rbac.extraRules[0].resources[0]string"*"
flyte-binary.rbac.extraRules[0].verbs[0]string"*"
postgresql.auth.postgresPasswordstring"postgres"
postgresql.enabledbooltrue
postgresql.fullnameOverridestring"postgresql"
postgresql.image.pullPolicystring"Never"
postgresql.image.tagstring"sandbox"
postgresql.primary.persistence.enabledbooltrue
postgresql.primary.persistence.existingClaimstring"{{ include \"flyte-devbox.persistence.dbVolumeName\" . }}"
postgresql.primary.service.nodePorts.postgresqlint30001
postgresql.primary.service.typestring"NodePort"
postgresql.shmVolume.enabledboolfalse
postgresql.volumePermissions.enabledbooltrue
postgresql.volumePermissions.image.pullPolicystring"Never"
postgresql.volumePermissions.image.tagstring"sandbox"
rustfs.enabledbooltrue
rustfs.fullnameOverridestring"rustfs"
rustfs.image.repositorystring"rustfs/rustfs"
rustfs.image.tagstring"sandbox"
rustfs.ingress.enabledboolfalse
rustfs.mode.distributed.enabledboolfalse
rustfs.mode.standalone.enabledbooltrue
rustfs.mode.standalone.existingClaim.dataClaimstring"flyte-devbox-rustfs-storage"
rustfs.secret.rustfs.access_keystring"rustfs"
rustfs.secret.rustfs.secret_keystring"rustfsstorage"
rustfs.service.endpoint.nodePortint30002
rustfs.service.typestring"NodePort"
sandbox.console.basePathstring"/v2"
sandbox.console.containerPortint8080
sandbox.console.enabledbooltrue
sandbox.console.image.pullPolicystring"Never"
sandbox.console.image.repositorystring"docker.io/unionai-oss/flyteconsole-v2"
sandbox.console.image.tagstring"sandbox"
sandbox.console.service.portint80
sandbox.devboolfalse

Deploy flyte-devbox with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flyte-devbox 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 chartflyte-devbox is pinned at v0.1.0 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