Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swarajkumarsingh/demo-k8
Demo of using Kubernetes with Nodejs and minkube
https://github.com/swarajkumarsingh/demo-k8
demo k8 minikube nodjes
Last synced: 11 days ago
JSON representation
Demo of using Kubernetes with Nodejs and minkube
- Host: GitHub
- URL: https://github.com/swarajkumarsingh/demo-k8
- Owner: swarajkumarsingh
- Created: 2024-01-27T11:56:54.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-30T19:36:11.000Z (10 months ago)
- Last Synced: 2024-01-30T20:48:17.962Z (10 months ago)
- Topics: demo, k8, minikube, nodjes
- Language: JavaScript
- Homepage: https://github.com/swarajkumarsingh/Demo-K8
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Demo-k8
This repo shows a basic boilerplate code of NodeJS to test k8 with minikube(local env)## Get started
```
# Start minkube(docker)
minikube start --driver=docker# Set alias for k8
alias k8=kubectl# k8 apply -f .yaml
```## Get k8 status
```
k8 get pods
k8 get deploy
k8 get svc
```## K8 Dashboard
```
minikube dashboard
```## Expose k8 deployment
```
minikube service
```## Stop minkube
```
k8 delete all -all
minkube stop # optional
minkube delete
```## Contact
feel free to contact me!