https://github.com/achanandhi-m/simple-nodejs-app-in-k8s
Deploying our custom NodeJSApplication inside k8s using k8s object "deployment" and "service"
https://github.com/achanandhi-m/simple-nodejs-app-in-k8s
Last synced: 3 months ago
JSON representation
Deploying our custom NodeJSApplication inside k8s using k8s object "deployment" and "service"
- Host: GitHub
- URL: https://github.com/achanandhi-m/simple-nodejs-app-in-k8s
- Owner: Achanandhi-M
- Created: 2023-08-31T10:44:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T17:52:19.000Z (7 months ago)
- Last Synced: 2025-02-15T16:51:42.301Z (5 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple-NodeJS-App-in-K8s
Commands to be usedkubectl get pods (To List the pods inside the k8s Cluster)
kubectl get deploy (To List the deployments inside the k8s Cluster)
kubectl get svc (To List the Service inside the k8s Cluster)
minikube start (Used to Start a minikube cluster)
minikube status (Used to Check the Status of the cluster)
minikube service (Used to access service in the minikube)
kubectl create -f (Used to create k8s object in the Declarative manner
kubectl apply -f (Used whenever any changes in the k8s object)
Deploying our custom NodeJSApplication inside k8s using k8s object "deployment" and "service"
Step 1: Start your Minikube cluster (Recommended way to get started with k8s)
Step 2: After Starting Minkube Deploy your K8s object(Deployments, Service, etc........) inside the Minikube cluster (if you want configuration code for deployment and service you can use this repo)
Step 3: Accessing our Application through the Service object
Step 4: Access the application
