Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 699 Bytes

README.md

File metadata and controls

52 lines (34 loc) · 699 Bytes

Description

Deploy web service (nestjs, nextjs) using k8s and helm.

Requirement

Make sure to install :

docker, kubernetes, minikube, kubectl, kubens, helm

Build images

cd server && docker build . -t nest-next-server
cd client && docker build . -t nest-next-client

Deploy

in root folder run this command

helm install ./k8s --generate-name

Hosting

Local machine

Get IP :

minikube ip
192.168.39.11

Add hosts

sudo vim /etc/hosts

Add this in hosts file and save it.

192.168.39.11 server.devops.local
192.168.39.11 client.devops.local

enjoy 😉🔥🚀, add stars for this repo if you like it