https://github.com/philips/node-kube
https://github.com/philips/node-kube
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/philips/node-kube
- Owner: philips
- Created: 2018-08-14T16:59:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T05:12:58.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T20:31:35.658Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-kube
Quick presentation of a node.js workflow with Kubernetes.
[Slides](https://speakerdeck.com/philips/node-dot-js-workflow-with-minikube-and-skaffold)
## Pre-reqs
- [minikube](https://github.com/kubernetes/minikube#what-is-minikube)
- [skaffold](https://github.com/GoogleContainerTools/skaffold#installation)
- docker client (e.g. `brew install docker`)
## Simple Example
Download the repo
```
git clone https://github.com/philips/skaffold-nodejs-example
```
Manually build the container
```
eval $(minikube docker-env)
docker build .
```
Start the workflow
```
skaffold dev
```
View in browser
```
minikube service node-app
```
Hack
```
vim index.js
```
## Fancy Vue.js Example
```
git clone https://github.com/philips/vue-starter
```
Start the workflow
```
skaffold dev
```
View in browser
```
minikube service vue-app
```
Hack
```
vim src/server/routes/CounterRoutes.ts
```