Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tejakummarikuntla/nodeapp-kube-deployable
https://github.com/tejakummarikuntla/nodeapp-kube-deployable
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tejakummarikuntla/nodeapp-kube-deployable
- Owner: tejakummarikuntla
- Created: 2024-01-23T10:33:36.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-31T07:04:28.000Z (12 months ago)
- Last Synced: 2024-02-01T07:24:32.706Z (12 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Run
`npm start`### Test
`npm run test`### Start Minikube
1. `minikube status`
2. `minikube start`### Docker:
https://hub.docker.com/repository/docker/tejakummarikuntla/nodeapp1. `docker build tejakummarikuntla/nodeapp`
2. `docker run -d -p 3000:3000 tejakummarikuntla/nodeapp`
3. `Vist localhost:3000`
### Kubernetes
Handy commands:
1. `kubectl get deployments - gets deployments`
2. `kubectl get pods - gets pods`
3. `kubectl get svc - gets services`
1. `kubectl delete deployment `
2. `kubectl delete pod `
3. `kubectl delete svs `### Create deployment and service
`kubectl apply -f deployments.yml`
`kubectl apply -f service.yml`### List services
1. `kubectl get svc`
2. `minikube service `