ZeroDownTime Kubernetes platform - https://kubezero.com
Go to file
2023-05-11 17:10:09 +01:00
.ci Merge commit '5aaf6c7537b6e813aaeea51a9fe6aea4dc781094' into v1.25 2023-05-04 09:12:43 +00:00
admin Fix for snapshot controller, other tweaks 2023-05-04 17:00:09 +00:00
charts Add some docs for verdaccio auth 2023-05-11 17:10:09 +01:00
docs Some version bumps 2023-05-02 10:07:08 +00:00
scripts First draft of v1.25.8 2023-04-12 11:14:31 +00:00
.gitattributes Initial commit 2020-05-01 14:57:31 +01:00
.gitignore chore: some cleanup, new tools script to check cgroup memory limits 2021-04-14 16:06:29 +02:00
.helmdocsignore CI/CD tools update 2021-01-21 10:53:53 +00:00
.versionrc chore: checkin diffs to sync desktop 2021-05-12 16:32:33 +02:00
CHANGELOG.md More documentation updates 2021-01-26 14:04:47 +00:00
cliff.toml fix: various minor tweaks and updates 2021-08-25 16:02:21 +02:00
Dockerfile Spec alpine image fully 2023-04-25 11:57:31 +01:00
LICENSE.md Initial commit 2020-05-01 14:57:31 +01:00
Makefile Fix storage tests, add taint handling to CA, first docs draft 2023-04-26 10:26:30 +00:00
README.md feat: latest aws-nth and auth, latest 1.24 upgrad flow 2022-12-06 15:56:25 +00:00

KubeZero - Zero Down Time Kubernetes platform

KubeZero is a Kubernetes distribution providing an integrated container platform so you can focus on your applications.

Design philosophy

  • Cloud provider agnostic, bare-metal/self-hosted
  • Focus on security and simplicity over feature creep
  • No vendor lock in, most components are optional and could be easily exchanged
  • Organic Open Source / open and permissive licenses over closed-source solutions
  • No premium services / subscriptions required
  • Staying up to date and contributing back to upstream projects, like alpine-cloud-images and others
  • Corgi approved 🐶

Architecture

aws_architecture

Version / Support Matrix

KubeZero releases track the same minor version of Kubernetes.
Any 1.24.X-Y release of Kubezero supports any Kubernetes cluster 1.24.X.

KubeZero is distributed as a collection of versioned Helm charts, allowing custom upgrade schedules and module versions as needed.

%%{init: {'theme':'dark'}}%%
gantt
    title KubeZero Support Timeline
    dateFormat  YYYY-MM-DD
    section 1.23
    beta     :123b, 2022-08-01, 2022-09-01
    release  :after 123b, 2023-02-01
    section 1.24
    beta     :124b, 2022-11-14, 2022-12-31
    release  :after 124b, 2023-06-01
    section 1.25
    beta     :125b, 2023-03-01, 2023-03-31
    release  :after 125b, 2023-08-01

Upstream release policy

Components

OS

  • all nodes are based on Alpine V3.16
  • 2 GB encrypted root filesystem
  • no 3rd party dependencies at boot ( other than container registries )
  • minimal attack surface
  • extremely small memory footprint / overhead

Container runtime

  • cri-o rather than Docker for improved security and performance

Control plane

  • all Kubernetes components compiled against Alpine OS using buildmode=pie
  • support for single node control plane for small clusters / test environments to reduce costs
  • access to control plane from within the VPC only by default ( VPN access required for Admin tasks )
  • controller nodes are used for various platform admin controllers / operators to reduce costs and noise on worker nodes

GitOps

  • cli / cmd line install
  • optional full ArgoCD support and integration
  • fuse device plugin support to build containers as part of a CI pipeline leveraging rootless podman build agents

AWS integrations

  • IAM roles for service accounts allowing each pod to assume individual IAM roles
  • access to meta-data services is blocked all workload containers on all nodes
  • all IAM roles are maintained via CloudBender automation
  • aws-node-termination handler integrated
  • support for spot instances per worker group incl. early draining etc.
  • support for Inf1 instances part of AWS Neuron.

Network

  • Multus support for multiple network interfaces per pod, eg. additional AWS CNI
  • Calico using VxLAN incl. increased MTU
    allows flexible / more containers per worker node compared to eg. AWS VPC CNI
  • isolates container traffic from VPC by using VxLAN overlay
  • no restrictions on IP space / sizing from the underlying VPC architecture

Storage

  • flexible EBS support incl. zone awareness
  • EFS support via automated EFS provisioning for worker groups via CloudBender automation
  • local storage provider (OpenEBS LVM) for latency sensitive high performance workloads
  • CSI Snapshot controller and Gemini snapshot groups and retention

Ingress

  • AWS Network Loadbalancer and Istio Ingress controllers
  • no additional costs per exposed service
  • real client source IP available to workloads via HTTP header and access logs
  • ACME SSL Certificate handling via cert-manager incl. renewal etc.
  • support for TCP services
  • optional rate limiting support
  • optional full service mesh

Metrics

  • Prometheus support for all components
  • automated service discovery allowing instant access to common workload metrics
  • pre-configured Grafana dashboards and alerts
  • Alertmanager events via SNSAlertHub to Slack, Google, Matrix, etc.

Logging

  • all container logs are enhanced with Kubernetes and AWS metadata to provide context for each message
  • flexible ElasticSearch setup, leveraging the ECK operator, for easy maintenance & minimal admin knowledge required, incl. automated backups to S3
  • Kibana allowing easy search and dashboards for all logs, incl. pre configured index templates and index management
  • fluentd-concerter service providing queuing during highload as well as additional parsing options
  • lightweight fluent-bit agents on each node requiring minimal resources forwarding logs secure via TLS to fluentd-concenter