prepare articles

This commit is contained in:
2023-08-06 19:15:18 +02:00
parent 9f9042707f
commit 5ba1730a7e
8 changed files with 72 additions and 94 deletions

View File

@@ -10,11 +10,27 @@ draft: true
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
## Terraform
## K3s cluster building with Terraform
## K3s usage
Begin with 1 master and 3 workers node with LB...
## Hetzner CSI drivers
## K3s configuration and usage
* Local SSH + Kube apiserver access to the cluster
* Usage of salt
* K3s S3 backup
## Automatic upgrades
* OS reboot
* K3s upgrade
## HTTP access
* Traefik + cert-manager
* DNS configuration
* Dashboard traefik access
* Middlewares IP and auth
## 1st check ✅

View File

@@ -1,5 +1,5 @@
---
title: "Setup a HA Kubernetes cluster Part III - Ingress & HA storage"
title: "Setup a HA Kubernetes cluster Part III - HA storage & DB"
date: 2023-06-10
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "traefik", "cert-manager", "longhorn"]
@@ -10,9 +10,19 @@ draft: true
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. Traefik & cert-manager
2. Resilient Storage with Longhorn
3. Test with PgAdmin (valid both ingress and storage)
## Resilient Storage with Longhorn
## PostgreSQL with replication
## Redis cluster
## Test with PgAdmin (valid both ingress and storage)
## Test some nocode tools
n8n + nocodb
## Backups (dumps + longhorn snapshots)
## 2nd check ✅

View File

@@ -1,5 +1,5 @@
---
title: "Setup a HA Kubernetes cluster Part IV - Databases with HA & backups"
title: "Setup a HA Kubernetes cluster Part IV - CI/CD tools"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "postgresql", "longhorn"]
@@ -10,13 +10,24 @@ draft: true
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. Add data-01 node
2. PostgreSQL
3. Access through PgAdmin
4. Job backups
5. S3 Backup with longhorn
6. Clustering with additional data-02 and postgreSQL cluster
Dev Only - skippable
Add runner-01
## Gitea
* Validate DB & redis access
* Enable SSH access
* First commit test with basic DotNet sample app
## Concourse CI
* Automatic build on commit
* Push to Gitea Container Registry
## Flux
* Automatic deployment on commit
## 3rd check ✅
Databases are ready to be consumed by any apps ! Go [next part]({{< ref "/posts/14-build-your-kubernetes-cluster-part-5" >}}) to finally use our cluster with some real apps, including some well known low-code tools !
We have everything we need for app building with automatic deployment ! Go [next part]({{< ref "/posts/14-build-your-kubernetes-cluster-part-5" >}}) to add complete monitoring stack !

View File

@@ -1,8 +1,8 @@
---
title: "Setup a HA Kubernetes cluster Part V - Installing some apps & NoCode tools"
title: "Setup a HA Kubernetes cluster Part V - Monitoring Stack"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "nocode", "nocodb", "n8n", "analytics", "umami"]
tags: ["kubernetes", "prometheus", "loki", "grafana"]
draft: true
---
@@ -10,11 +10,12 @@ draft: true
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. Build and deploy simple blog
2. Analytics with Umami
3. NocoDB
4. n8n
1. Add monitor-01
2. Prometheus Stack
3. Loki / Promtail
4. Grafana
5. Services Monitor & Dashboards
## 5th check ✅
## 4th check ✅
We now have testing proper app deployment in a GitOps way. In real world situation, we should have a full monitoring suite, see [next part]({{< ref "/posts/15-build-your-kubernetes-cluster-part-6" >}}) for complete monitoring and logging stack.
We now have a full monitoring suite ! Go [next part]({{< ref "/posts/15-build-your-kubernetes-cluster-part-6" >}}) for advanced tracing / load testing.

View File

@@ -1,8 +1,8 @@
---
title: "Setup a HA Kubernetes cluster Part V - Monitoring Stack"
title: "Setup a HA Kubernetes cluster Part VIII - Load testing & tracing"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "prometheus", "loki", "grafana"]
tags: ["kubernetes", "k6", "jaeger"]
draft: true
---
@@ -10,12 +10,14 @@ draft: true
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. Add monitor-01
2. Prometheus Stack
3. Loki / Promtail
4. Grafana
5. Services Monitor & Dashboards
1. K6
2. InfluxDB
3. Load balancing sample app (database clustering case)
4. Tempo
5. Tracing test inside app / OpenTelemetry
## 4th check
## Final check 🎊🏁🎊
We now have a full monitoring suite ! Go [next part]({{< ref "/posts/16-build-your-kubernetes-cluster-part-7" >}}) if you want a complete CI suite for apps building.
Congratulation if you're getting that far !!!
You have a complete CI/CD flexible solution, HA ready and not that expensive.

View File

@@ -1,21 +0,0 @@
---
title: "Setup a HA Kubernetes cluster Part VI - VCS & CI"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "ci", "gitea", "concourse"]
draft: true
---
{{< lead >}}
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. Add runner-01
2. Gitea
3. Docker registry
4. Concourse
5. Testing with app push
## 6th check ✅
We have everything we need for app building, it's now time to deploy them automatically (Continuous Delivery) with GitOps way on [next part]({{< ref "/posts/17-build-your-kubernetes-cluster-part-8" >}}).

View File

@@ -1,19 +0,0 @@
---
title: "Setup a HA Kubernetes cluster Part VII - CD, GitOps way"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "cd", "fluxcd", "gitops"]
draft: true
---
{{< lead >}}
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. FluxCD
2. Kubeseal
3. Testing with previous app
## 7th check ✅
You now have a GitOps ready cluster for any apps deployment, let's go further with load testing and tracing on [next part]({{< ref "/posts/18-build-your-kubernetes-cluster-part-9" >}}).

View File

@@ -1,22 +0,0 @@
---
title: "Setup a HA Kubernetes cluster Part VIII - Load testing & tracing"
date: 2023-06-11
description: "Follow this opinionated guide as starter-kit for your own Kubernetes platform..."
tags: ["kubernetes", "k6", "jaeger"]
draft: true
---
{{< lead >}}
Build your self-hosted Kubernetes cluster and be free from any SaaS solutions by following this opinionated guide 🎉
{{< /lead >}}
1. K6
2. Load balancing sample app (database clustering case)
3. Jaeger & Elasticsearch (traefik sample)
4. Tracing test inside app
## Final check 🎊🏁🎊
Congratulation if you're getting that far !!!
You have a complete CI/CD flexible solution, HA ready and not that expensive.