The ungleich kubernetes infrastructure » History » Version 4
Nico Schottelius, 07/01/2021 03:51 PM
1 | 1 | Nico Schottelius | h1. The ungleich kubernetes infrastructure |
---|---|---|---|
2 | |||
3 | 3 | Nico Schottelius | {{toc}} |
4 | |||
5 | 1 | Nico Schottelius | h2. Status |
6 | |||
7 | This document is **pre-production** |
||
8 | |||
9 | h2. General architecture and components overview |
||
10 | |||
11 | * All k8s clusters are IPv6 only |
||
12 | * We use BGP peering to propagate podcidr and serviceCidr networks to our infrastructure |
||
13 | 2 | Nico Schottelius | * The main / public repository is "ungleich-k8s":https://code.ungleich.ch/ungleich-public/ungleich-k8s |
14 | 1 | Nico Schottelius | |
15 | |||
16 | h2. ungleich kubernetes infrastructure v1 |
||
17 | |||
18 | We are using the following components: |
||
19 | |||
20 | * Calico as a CNI + BGP |
||
21 | * "kubernetes-secret-generator":https://github.com/mittwald/kubernetes-secret-generator for creating secrets |
||
22 | * "ungleich-certbot":https://hub.docker.com/repository/docker/ungleich/ungleich-certbot to get certificates |
||
23 | 2 | Nico Schottelius | * "rook with ceph rbd + cephfs":https://rook.io/ for storage |
24 | ** rbd for almost everything, *ReadWriteOnce* |
||
25 | ** cephfs for smaller things, multi access *ReadWriteMany* |
||
26 | 3 | Nico Schottelius | |
27 | h2. Open Issues / To be discussed |
||
28 | |||
29 | * "Maybe add Autoscaling support?":https://github.com/kubernetes-sigs/metrics-server |
||
30 | ** https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
||
31 | ** https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/ |
||
32 | * Certainly deploy in-cluster monitoring |
||
33 | ** "prometheus-operator":https://github.com/prometheus-operator/prometheus-operator CR |
||
34 | ** "kube-prometheus":https://github.com/prometheus-operator/kube-prometheus complete example, based on prometheus-operator |
||
35 | 4 | Nico Schottelius | ** "kubernetes dashboard":https://github.com/kubernetes/dashboard generic cluster overview, basically kubectl for a broswer + graphs |