Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

- Swaraj Singh


LinkedIn
Gmail

feel free to contact me!