Kubernetes Multi Container Deployment | React | Node.js | Postgres | Ingress Nginx | step by step

preview_player
Показать описание
In this tutorial we are going to deploy our multicontainer application on Kubernetes that we've created in my previous tutorial. Here we are going to use Ingress Nginx controller as load balancer, we will use React for front-end which is served by an Nginx as HTTP server, an Express Node.Js as back-end, postgres database system.

Final code can be found here:

00:00 - Intro
00:57 - Architecture
02:31 - Client configuration + it's service
06:41 - Postgres + it's service and persitent volume claim configuration
13:32 - Server configuration + it's service
16:55 - Ingress Nginx controller installation and configuration
22:24 - Run application which is deployed on Kubernetes
24:23 - Undeploy application from Kubernetes
24:55 - Summary

------------------------------
My name is László Leber
Рекомендации по теме
Комментарии
Автор

Thank you !! You save my day about exposing react app with nginx in my k8s cluster

Ben-ndje
Автор

Nagyszerű bemutató, Lengyelországi üdvözlet
Lengyel, Magyar – két jó barát

SuperJimCarrey
Автор

Great and practical video. Thanks. I was really looking for this kind of tutorial. You're the best!

rauldeandrade
Автор

since we are running this in local, can we set the clusterIP to localhost ?

drhollow_on_hogwarts
Автор

if we congifure nginx ingress controller on K8s . Then why do we need Nginx+conf file in the react image ?

dudiavraham
Автор

How i can deploy my local multiple containers of Dockers to Kubernetes?

afshaarahmed
Автор

Thank You for this Nice video. I have a requirements that I need not to expose the backend URL from the browser(ingress) and only it can accept the request from the frontend. Because by calling the URL/api it is directly calling the backend. Please help on this.

himansusekharmishra
Автор

how about using ingress like ingress-nginx. i have an issue that it can not found /static and i can find any solution

ifocjln
Автор

Thanks for the video, but after deploying all the yml file, it is not opening in localhost
and I also check pod, service, ingress running also check the log, unable to find solution

sou
Автор

you can zoom it a bit so that the we can clearly see the codes

genos
Автор

I get ERR_EMPTY_RESPONSE when im entering localhost

AmftamnkaPvP
Автор

Thank you, you've got another subscriber, but next time try to zoom in for more visibilty

herbertk
Автор

Amazing video! It would be more helpful for beginners like me if you could mention which key-value pairs in the yamls (especially postgres) can be customized and which were kubernetes specific terms.

abhiramsatpute
Автор

Great and thanks. I can run docker-compose successfully but not the k8s. I got an error of "503 Service Temporarily Unavailable" when running with the k8s.

khachornchit
Автор

Thank you for your awesome job.
How can have react hot reload on nginx for development purpose?

mib
Автор

Thanks a lot for your video. Should we build a docker image for client and server then pushed it into dockerhub before cnfiguring the kubernetes yml files?

mdalimran
Автор

Hello, I have a question. When the frontend calls /api/... is the Ingress the one who dispatches the request to the appropriate service?

alessior
Автор

Final code doesn't have nginx folder but is referenced in docker-compose file ? any reason for removing ? is it because you are using Ingress Nginx for k8's ?

dhruvkhullar
Автор

Don't we need a Persistent Volume somewhere to be able to do PVC for it? We request 1GB of space but space from where exactly? Did I miss something?

alierbay
Автор

I follow everythings right, but After deployments my browser cant Open localhost:3000

wesleypacavira