mahmoudhossam / k8s-rails

Taking a rails app to production with docker and kubernetes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Taking a rails app to production with docker and kubernetes.


Languages

Language:Ruby 78.3%Language:HTML 14.6%Language:CSS 2.1%Language:JavaScript 2.0%Language:Shell 1.6%Language:Dockerfile 1.4%