obico

by gabe565

Helm chartv0.6.0App latestVerified publisher

Obico is a community-built, open-source smart 3D printing platform used by makers, enthusiasts, and tinkerers around the world.

About this chart

Obico

Obico is a community-built, open-source smart 3D printing platform used by makers, enthusiasts, and tinkerers around the world.

Homepage: https://charts.gabe565.com/charts/obico/

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.22.0-0

Dependencies

RepositoryNameVersion
https://bjw-s.github.io/helm-chartscommon1.5.1
https://charts.bitnami.com/bitnamiredis20.7.0

Installing the Chart

To install the chart with the release name obico

OCI (Recommended)

helm install obico oci://ghcr.io/gabe565/charts/obico

Traditional

helm repo add gabe565 https://charts.gabe565.com
helm repo update
helm install obico gabe565/obico

Uninstalling the Chart

To uninstall the obico deployment

helm uninstall obico

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the bjw-s common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install obico \
  --set env.TZ="America/New York" \
    gabe565/obico

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install obico gabe565/obico -f values.yaml

Custom configuration

N/A

Values

Important: When deploying an application Helm chart you can add more values from the bjw-s common library chart here

KeyTypeDefaultDescription
ml-api.commandlistSee values.yamlCommand to run ML API.
ml-api.controller.strategystring"RollingUpdate"Set the ML API upgrade strategy
ml-api.env.DEBUGstring"True"Enables debug logging
ml-api.image.pullPolicystring"IfNotPresent"ML API image pull policy
ml-api.image.repositorystring"ghcr.io/gabe565/obico/ml-api"ML API image repository
ml-api.image.tagstringchart.appVersionML API image tag
ml-api.serviceobjectSee values.yamlConfigures service settings for the ML API.
podSecurityContext.fsGroupint65534Volume binds will be granted to nobody group
podSecurityContext.runAsGroupint65534Run as nobody group
podSecurityContext.runAsUserint65534Run as nobody user
redisobjectSee values.yamlEnable and configure redis subchart under this key. [ref]
server.additionalContainers.tasks.commandlistSee values.yamlTask command.
server.commandlistSee values.yamlCommand to run Obico server.
server.envstringSee values.yamlServer environment variables. [ref]
server.image.pullPolicystring"IfNotPresent"Server image pull policy
server.image.repositorystring"ghcr.io/gabe565/obico/web"Server image repository
server.image.tagstringchart.appVersionServer image tag
server.ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
server.initContainers.collectstatic.commandlistSee values.yamlStatic asset generation command.
server.initContainers.migrate.commandlistSee values.yamlDatabase migration command.
server.persistence.dataobjectSee values.yamlData persistence config.
server.persistence.mediaobjectSee values.yamlMedia persistence config.
server.persistence.staticobjectSee values.yamlStatic asset persistence config.
server.serviceobjectSee values.yamlConfigures service settings for the ML API.

Autogenerated from chart metadata using helm-docs

Deploy obico with OpenTenant

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