Rails app deploying with unicorn and Nginx can't load static resources on Kubernetes infraestructure

6/28/2019

I'm trying to deploy a Rails application using Kubernetes ... the main container of my application is built using ruby ​​2.5.5 + unicorn ... I used Mongo as DB ... the container works well because I tested the orchestration using docker-compose .... so ... I have a Deployment file and a Service file (Cluster-IP type) for my services and an Ingress file to access the application ... but when the service is ready, The web application can not load statistical resources ... I'm trying many variants to solve this problem, but nothing work ... the alternatives that I test are:

Configuration files:

-- Alejandro Roble Gutiérrez
kubernetes
kubernetes-ingress
nginx
ruby-on-rails
unicorn

0 Answers