Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericbutera/k8s-static-site
example to show how to run a static site
https://github.com/ericbutera/k8s-static-site
Last synced: 8 days ago
JSON representation
example to show how to run a static site
- Host: GitHub
- URL: https://github.com/ericbutera/k8s-static-site
- Owner: ericbutera
- Created: 2022-11-13T12:33:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T11:29:22.000Z (about 1 year ago)
- Last Synced: 2024-11-13T03:18:12.582Z (2 months ago)
- Language: Makefile
- Size: 8.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Static Site
A template for hosting a static website on kubernetes.
## CI
Github Actions has a workflow to build & publish the image when using a semvar tag.
```sh
git tag v0.0.1
git push origin v0.0.1
```## Container Image
It's possible to build and publish the image from your dev machine.
```sh
make help # shows all commands
make image-build
make image-push
```## Deploy
```sh
kubectl apply -f kubernetes/homepage.yml
```