https://github.com/ahm3tcelik/nodejs-docker-k8s-demo
https://github.com/ahm3tcelik/nodejs-docker-k8s-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahm3tcelik/nodejs-docker-k8s-demo
- Owner: ahm3tcelik
- Created: 2023-07-26T08:12:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T15:15:06.000Z (8 months ago)
- Last Synced: 2025-02-15T10:13:43.107Z (4 months ago)
- Language: Dockerfile
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1-
docker build -t [username]/[container-name]:[tag] .
docker build -t amad101588/nodejs-docker-k8s-demo:latest .2-
docker push amad101588/nodejs-docker-k8s-demo:latest .3- kubectl create namespace dev
3- kubectl apply -f configmap.yml -n dev
4- kubectl apply -f deployment.yml -n dev
4- kubectl apply -f service.yml -n dev5-
minikube service nodejs-docker-k8s-demo --url -n devResult:
ahmetcelik@Ahmets-MacBook-Pro nodejs-docker-k8s-demo % minikube service nodejs-docker-k8s-demo --url -n dev
http://127.0.0.1:50837
❗ Because you are using a Docker driver on darwin, the terminal needs to be open to run it.