https://github.com/chees/kubernetes-nodejs-example
https://github.com/chees/kubernetes-nodejs-example
example kubernetes nodejs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chees/kubernetes-nodejs-example
- Owner: chees
- Created: 2017-06-27T14:43:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T14:44:05.000Z (almost 9 years ago)
- Last Synced: 2025-04-14T20:46:41.005Z (about 1 year ago)
- Topics: example, kubernetes, nodejs
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal Node.js Kubernetes example
## Dev
npm start
open http://localhost:8080
## Deploy
Edit the version of the `image` in `k8s/deployment.yaml`. Then run this:
docker build -t gcr.io/qubernetes/nodejs:0.1 .
gcloud docker -- push gcr.io/qubernetes/nodejs:0.1
kubectl apply -f k8s