https://github.com/vikramtiwari/static-node-server
a sample static node server
https://github.com/vikramtiwari/static-node-server
expressjs googlecloud https kubernetes letsencrypt nodejs static-site
Last synced: about 2 months ago
JSON representation
a sample static node server
- Host: GitHub
- URL: https://github.com/vikramtiwari/static-node-server
- Owner: VikramTiwari
- Created: 2017-04-01T19:18:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-15T01:42:26.000Z (about 9 years ago)
- Last Synced: 2025-07-26T22:18:32.521Z (10 months ago)
- Topics: expressjs, googlecloud, https, kubernetes, letsencrypt, nodejs, static-site
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Static Node Server
## Kubernetes Deployment
From project's root directory run following commands:
- setup kube-lego for auto HTTPs cert (recommended)
``` bash
kubectl apply -f scripts/lego/00-namespace.yaml
kubectl apply -f scripts/lego/configmap.yaml
kubectl apply -f scripts/lego/deployment.yaml
```
- deploy
``` bash
kubectl apply -f scripts/server/00-namespace.yaml
kubectl apply -f scripts/server/service.yaml
kubectl apply -f scripts/server/deployment.yaml
kubectl apply -f scripts/server/ingress.yaml
```