Deploy a Nest.js App With Docker + Kubernetes on Google Cloud

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Awesome ! So straight forward ! I was looking for a simple, quick and advanced tutorial of k8s, you made my day :)

Algo-Concept
Автор

Great tutorial, I think you should have a series regarding nestjs + microservices. Something a little bit more real world-like. Anyways, you are a good communicator and make things easy to understand, thanks!

felipechavesdeoliveira
Автор

This is crazy. Free tutorial. i’ve been looking for a tutorial like this. Thanks a ton 🙏

rohit-gupta
Автор

Everything worked perfectly for me till the end but When I am making the postman request, I get ECONNREFUSED error. How can i fix this?

avibhatnagar
Автор

Funny, I was just about to go looking at how to do this. Thanks for the instruction.

scottamolinari
Автор

I wish I could hit the like button more times. This a great tutorial thank you!

mariosfrixou
Автор

Awesome tutorial Michael. I'm a Docker/Kubernetes n00b and this video has taught me so much! I love the way you guide your audience through. One thing I'd love to learn about is how to update an already-deployed container. I'm not sure about the terminology here... hot reload? Is there a way to streamline that process? Thank you! 🙏🏻

titoffen
Автор

Thanks man, It's working perfectly :)

shalitha
Автор

Great video Nice please also teach us how to deploy database... And to store env file for

saurabhtalele
Автор

11:09 Hi here is where I am getting stuck with this error :

$ kubectl create -f deployment.yaml

"Unable to connect to the server: dial tcp: lookup kubernetes.docker.internal: no such host" please help

abc_cba
Автор

Even i have followed the same steps.
1) I will be able to run the application locally.
2) I will be able to create docker image with same configuration by multi stage
3) I have started through docker swarm an its working.
4) will be able to push to registry as well.
5) While i am trying to get the image to cluster and applying through deployment.yaml my containers are getting restart and going to crashback.
6) I fi use your image its working.
Can you please explain how and what is the change.
Below is the image which i have created and uploaded to registery.(docker pull suryarh/nestjs:2)

pfwyemr
Автор

Everything works for me as above procedure, but my real question is how can i map this static ip with my purchased domain in GCP?

jithinpg
Автор

I just wondering what your ram size is? 32GB or 64GB? My 2015 16GB mbp struggles with running k8s locally.

michaelyao
Автор

Do you think we should add node_modules folder in docker container regardless running npm run build ? I think we should add .dockerfile file for node_modules because we don't need them

sachinmishra
Автор

Thanks for your help!
I followed your tutorial except for one step, where I made my docker repo private. That cause authentication issues and I could figure out a way to make it work. Even after configuring my docker credential in kubectl.
Do you any recommendations on this issue?

tntg
Автор

Awesome video Michael. However, I was wondering if the multiple steps can be combined into a single step.
Can we rm -rf the node_modules then install --only=production?
Also, is the 2nd COPY . . necessary since all we need is /usr/src/app/dist?

kemekenneth
Автор

your video are great, i learned about nest.js microservices.

can you make a video on deploying multiple nest.js microservices to different ports (maybe using Docker)

monawwarabdullah
Автор

Great tutorial. Thanks! Which one do you think is cheaper Digital Ocean or Google Kubernetes Cloud for production?

ronsearch
Автор

2:40 I think it is better to run 'npm ci' instead of 'npm imstall' if you want to use package-lock. Otherwise why to copy it at all?

alexshubin
Автор

There is no need for the last COPY . ., Like why did we build it even ?

MrGenbu