The EKZ Project
An easy way to run EKS clusters on your desktop
ekz is an opinionated Kubernetes distribution built using binaries from the AWS EKS Distro (EKS-D). It aims to be the easiest way to run EKS clusters on desktops (Linux, macOS and Windows).
What is EKS-D?
EKS-D provides the same software that has enabled tens of thousands of Kubernetes clusters on Amazon EKS.
ekz aims at solving the EKS compatibility problems for developers as much as possible by implanting EKS-D binaries to KinD and the k0s projects, so that we can easily spin EKS-compatible clusters up to test our Kubernetes applications.

Architecture

The architecture of EKZ has been designed to support EKS-D in multiple implementations, called providers. Currently, we ship the k0s-based (EKZ provider), and KinD-based (KinD provider) implementations. A provider can be specified when creating a cluster, or via the EKZ_PROVIDER variable.
Here's EKS-D versions supported by EKZ.
Kubernetes
EKS-D Release
EKZ provider
KinD provider
1-18
7
βœ“
βœ“
1-19
6
βœ“
βœ“
1-20
3
βœ“
βœ“
1-21
1
βœ“
βœ“

Getting Started

ekz creates a cluster for you inside a Docker container on your laptop. You can start a cluster with or without using the CLI.

CLI Installation

You could install the CLI with one the following options.

Homebrew (macOS & Linux)

Install:
1
brew install ekz-io/tap/ekz
Copied!
Upgrade:
1
brew upgrade ekz-io/tap/ekz
Copied!

CURL One-liner (macOS & Linux)

1
curl -sSL https://bit.ly/install-ekz | bash
Copied!

Wget One-liner (macOS & Linux)

1
wget -qO- https://bit.ly/install-ekz | bash
Copied!

Scoop (Windows)

1
scoop bucket add ekz-io https://github.com/ekz-io/scoop-ekz.git
2
scoop install ekz-io/ekz
Copied!

Chocolatey (Windows)

1
choco install -y ekz
Copied!
Then you can start your first EKS-D cluster using the following command:
1
ekz create cluster
Copied!
You can also use the KinD provider, so that your EKS-D clusters will be KinD-compatible. To use the KinD provider, you can use either flag --provider=kind or export EKZ_PROVIDER=kind.
Here' the example of using the --provider=kind flag:
1
ekz create cluster --provider=kind
Copied!
In case you'd like to use KinD as the default provider, it's better to set the EKZ_PROVIDER environment variable:
1
export EKZ_PROVIDER=kind
2
ekz create cluster
Copied!
Please wait for a couple of minutes and an EKS-D cluster will be ready on your laptop.
1
❯ kubectl get nodes
2
NAME STATUS ROLES AGE VERSION
3
controller Ready <none> 87s v1.21.2-eks-1-21-1
Copied!

Without CLI

To use EKZ without using the CLI, please refer to this document.

Features

EKZ provider

    1.
    EKS-D binaries
    2.
    Packaged with the k0s skeleton
    3.
    Base image: Amazon Linux 2
    4.
    Enable network policy by default via Kube-Router (Calico is optional)
    5.
    Bundled with a local storage class, and a load balancer

KinD provider

    1.
    EKS-D binaries
    2.
    Using KinD v0.11 as the skeleton
    3.
    Packaged using KinD v1.18, v1.19, v1.20, v1.21 node images
    4.
    Enable network policy by default via the Calico CNI
    5.
    Bundled with a local storage class (from KinD), and a load balancer
Last modified 2mo ago