Questions about Kubernetes

This page summarizes the projects mentioned and recommended in the original post on /r/sysadmin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ansible-role-rke2

    Ansible Role to install RKE2 Kubernetes.

    I've implemented Kubernetes in my company during the last year. It's a great technology. I love it. By now I have 10Nodes, 3 masters and ~35 Namespaces for different applications. I use RKE2 as my kubernetes engine. I've setup the whole cluster via ansible and this module: GitHub - lablabs/ansible-role-rke2: Ansible Role to install RKE2 Kubernetes. My Servers get deployed via terraform. I host everything on hetzner.

  • autoscaler

    Autoscaling components for Kubernetes

    I use hetzner cloud servers, mostly CPX21, CX31 or CXP31. Depending on the workload and costs. Also, with my concept I can't dynamically add or remove nodes from my cluster. This is called autoscaling, cluster autoscaling or vertical autoscaling.But while I was writing this, I've found this: autoscaler/cluster-autoscaler at master · kubernetes/autoscaler · GitHub

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • tailscale

    The easiest, most secure way to use WireGuard and 2FA.

    Use a VPN, such as Tailscale

  • kube-state-metrics

    Add-on agent to generate and expose cluster-level metrics.

    Kubernetes itself will not notify you, the way I've seen people do this, is to use something like kube-state-metrics or node_exporter, export that to Prometheus (or preferrably VictoriaMetrics because Prometheus is terrible IMO), and then setup alarms on that with alertmanager or equivalent, or just look at dashboards regularly with Grafana. Realistically I recommend only setting alerts on disk usage and application/database latency. CPU and memory utilization isn't a great metric to alert on a lot of the time.

  • node_exporter

    Exporter for machine metrics

    Kubernetes itself will not notify you, the way I've seen people do this, is to use something like kube-state-metrics or node_exporter, export that to Prometheus (or preferrably VictoriaMetrics because Prometheus is terrible IMO), and then setup alarms on that with alertmanager or equivalent, or just look at dashboards regularly with Grafana. Realistically I recommend only setting alerts on disk usage and application/database latency. CPU and memory utilization isn't a great metric to alert on a lot of the time.

  • postgres-operator

    Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service. (by CrunchyData)

    On the topic of Postgres, you should look into an operator or Helm chart that can setup common things (like replication and auto-failover), such as Crunchy's Postgres operator, or consider using a "cloud-native" distributed database like CockroachDB (disclaimer: I am a Cockroach Labs employee) which has its own operator as well. Another word of warning, running stateful services, particularly mission critical databases, can require a lot of maintenance work (it's my full-time job), so unless this is for a hobby project, I would highly recommend you look into using a managed database offerring. Every major cloud provider and most database companies have one.

  • cockroach-operator

    k8s operator for CRDB

    On the topic of Postgres, you should look into an operator or Helm chart that can setup common things (like replication and auto-failover), such as Crunchy's Postgres operator, or consider using a "cloud-native" distributed database like CockroachDB (disclaimer: I am a Cockroach Labs employee) which has its own operator as well. Another word of warning, running stateful services, particularly mission critical databases, can require a lot of maintenance work (it's my full-time job), so unless this is for a hobby project, I would highly recommend you look into using a managed database offerring. Every major cloud provider and most database companies have one.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts