ekz
A Kubernetes distribution built on EKS-D
ekz
is an opinionated Kubernetes distribution built using binaries from the AWS EKS Distro (EKS-D).
What is EKS-D?
EKS-D provides the same software that has enabled tens of thousands of Kubernetes clusters on Amazon EKS.
Architecture
The EKZ architecture supports 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.
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.
With CLI
You could install the CLI with one the following options.
Homebrew (macOS & Linux)
brew install ekz-io/tap/ekz
CURL One-liner (macOS & Linux)
curl -sSL https://bit.ly/install-ekz | bash
Wget One-liner (macOS & Linux)
wget -qO- https://bit.ly/install-ekz | bash
Scoop (Windows)
scoop bucket add ekz-io https://github.com/ekz-io/scoop-ekz.git
scoop install ekz-io/ekz
Chocolatey (Windows)
choco install -y ekz
Then you can start your first EKS-D cluster using the following command:
ekz create cluster
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:
ekz create cluster --provider=kind
In case you'd like to use KIND as the default provider, it's better to set the EKZ_PROVIDER environment variable:
export EKZ_PROVIDER=kind
ekz create cluster
Please wait for a couple of minutes and an EKS-D cluster will be ready on your laptop.
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
controller Ready <none> 42s v1.18.9-eks-1-18-1
Without CLI
To use EKZ without using the CLI, please refer to this document.
Features
The EKZ provider
- EKS-D binaries from v1.18.9-eks-1-18-1
- Packaged with k0s v0.10
- Amazon Linux 2 base image
- Enable network policy by default via the Calico CNI
The KIND provider
- EKS-D binaries from v1.18.9-eks-1-18-1
- Using KIND v0.10
- Packaged using KIND v1.18.15 node image
- Enable network policy by default via the Calico CNI