Updated README

This commit is contained in:
ahmza
2024-06-05 13:13:24 +01:00
parent 7a8159f698
commit b8c28ee81d
+6 -11
View File
@@ -1,37 +1,32 @@
# Blog # Blog
## What ## What
This repository is where the blog is stored. Repository for the blog
Features of using gitlab: Features of using gitlab:
- version control - version control
- CI/CD pipelines - CI/CD pipelines
- gitlab container image repository - gitlab container image repository
Github Repo simply becasue TINA !!
The CI/CD pipeline builds the blog into both arm64 so I can host the site on my [Pi cluster](https://blog.ahmza.com/posts/building-a-docker-swarm-with-pis/) as well as amd64 to host on other platforms i.e eks The CI/CD pipeline builds the blog into both arm64 so I can host the site on my [Pi cluster](https://blog.ahmza.com/posts/building-a-docker-swarm-with-pis/) as well as amd64 to host on other platforms i.e eks
## Why ## Why
# Pros of static sites # Pros of static sites
* Security * Security
* Reliability * Reliability
* Speed * Speed
* Scalability * Scalability
* Low Resource requirement * Low Resource overhead
I had rack mounted servers running my website and decided that the power hungry machines were consuming way too much power I had rack mounted servers running my website and decided that the power hungry machines were consuming way too much power
so I decided to migrate to a cluster of raspberry pis which you can find a post on my site. A static site made the most sense so I decided to migrate to a cluster of raspberry pis which you can find a post on my site. A static site made the most sense
for reasons mentioned above for reasons mentioned above
## How ## How
* Hugo compiles markdown into static files.
Simply put * Gitlab CI/CD builds the docker image.
* Hugo * Kubernetes Cluster serves static files.
* Gitlab CI/CD to build the image
* Kubernetes Cluster to host
## Do list ## Do list
[] ...
## Notes ## Notes