Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (10 loc) · 687 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 687 Bytes

k8s-rails

This is an attempt at dockerizing and k8s-ifiying a rails app.

To run this example, you'll need to have a kubernetes cluster up.

One way is by using minikube:

First, start the cluster by running minikube start.

Then, run the k8s/up.sh script to bring up the application.

Finally, use your browser or HTTP client of choice to access the application on the IP address returned from the minikube ip command.

Hint: use minikube delete to stop the cluster and destroy the minikube VM.

Hint 2: use minikube addons enable ingress to enable ingress support in minikube. You can check whether it's enabled by running minikube addons list | grep ingress.