From 5e61263cf63e66fbd264c42cc2533cb7c3cd5150 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Thu, 8 Aug 2024 21:37:16 +0200 Subject: [PATCH] post: keep it simple, stupid --- .gitignore | 6 ++---- content/blog/2024/08/08/keep-it-simple-stupid.md | 16 ++++++++++++++++ hugo.toml | 2 ++ themes/fmartingr/layouts/404.html | 11 +++++++++++ 4 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 content/blog/2024/08/08/keep-it-simple-stupid.md create mode 100644 themes/fmartingr/layouts/404.html diff --git a/.gitignore b/.gitignore index 6d465ce..3ef0a24 100644 --- a/.gitignore +++ b/.gitignore @@ -15,10 +15,8 @@ tests/venv # Build public -# Lektor -.lektor - -packages/**/*.egg-info +# Hugo +resources/_gen # macOS .DS_Store diff --git a/content/blog/2024/08/08/keep-it-simple-stupid.md b/content/blog/2024/08/08/keep-it-simple-stupid.md new file mode 100644 index 0000000..957eb10 --- /dev/null +++ b/content/blog/2024/08/08/keep-it-simple-stupid.md @@ -0,0 +1,16 @@ ++++ +title = "Keep it simple, stupid." +date = 2024-08-08 +tags = ["homelab", "life", "productivity"] ++++ + +There's a moment to play, there's a moment to read, to rest, to listen to music... we need to choose how, when and how much of our time we spend on each area we like. As someone with multiples hobbies, it's very difficult to find balance between them. + +These past few ~~days~~ ~~weeks~~ months, after writting a few blog posts about my k3s infra and having some headaches around stuff I kept thinking... is this worth it? I'm doing it to fiddle around with it and learn, and that's a good thing. The problem is there are a lot of other areas I want to learn from and I need to schedule my time accordingly. + +Learn about k3s is an objective of mine? Yes. +Do I need k3s to deploy a few services for my friends and family? Probably not. + +My docker single node setup has been working for years now without much issues and mostly automated with ansible. Now, I have a three node k3s cluster that yes, it's working, but requires a lot more time when I want to deploy a service (generating helm charts, testing the service, checking if it works natively in k8s, hoping the storage layer works properly, ...), investigating when something breaks and more. So I found myself thinking... is this the right choice for this objective? + +The answer is clear: no. I don't need a k3s cluster for this. I need a simple, reliable and easy to maintain setup. So I'm going to move back to my docker single node setup, I have already setup some services using portainer with docker-compose, and it works like a charm. I'll keep the k3s cluster for testing and learning, but I won't use it for my production services for the time being. diff --git a/hugo.toml b/hugo.toml index 927827e..50343a3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -15,6 +15,8 @@ modern_format = "jpeg" [imaging] quality = 100 +resampleFilter = "Lanczos" + [imaging.exif] disableDate = true disableLatLong = true diff --git a/themes/fmartingr/layouts/404.html b/themes/fmartingr/layouts/404.html new file mode 100644 index 0000000..bb3057b --- /dev/null +++ b/themes/fmartingr/layouts/404.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+

404 Not Found

+

The page you requested cannot be found.

+

+ + Return to the home page + +

+
+{{ end }}