ruby-on-rails

by Massdriver

Helm chartv0.2.6MIT LicenseVerified publisher

A getting started helm chart for running a ruby-on-rails application. This chart runs a kubernetes deployment, service and migration job.

About this chart

Ruby on Rails Starter Helm Chart

A getting started helm chart for running a ruby-on-rails application.

Kubernetes Resources

This chart runs creates a number of Kubernetes resources:

deployment

This runs your application and controls the rollout strategy on deployment.

horizontal pod autoscaler

Controls horizontal scaling of your application based on resource requirements.

service & ingress

Exposes application over network and configures load balancer traffic ingress.

secret

All environment variables are mounted as a secret

serviceaccount

A Kubernetes service account for your application.

database migration job

Database migrations are run alongside your deployment and should be backwards compatible since both versions of your application (old & new) may be running at the same time.

Sponsor

Massdriver charts can be installed as both normal Helm Charts or as Apps on Massdriver Cloud.

For more information about running your app on AKS, EKS, and GKE, please check the docs.

This chart is not maintained by the upstream project and any issues with the chart should be raised on our issues page.

Massdriver is the easiest way for platform engineering teams to enable self-service with governance and guardrails for Ruby on Rails applications.

All Rights Reserved - Massdriver, Inc.

Deploy ruby-on-rails with OpenTenant

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