Skip to content

Commit 9afd88a

Browse files
committed
GitBook: published docs
1 parent 7df8fa8 commit 9afd88a

16 files changed

+192
-163
lines changed

README.md

Lines changed: 47 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,106 @@
1-
# ekz
2-
A Kubernetes distribution built on EKS-D
1+
---
2+
description: An easy way to run EKS clusters on your desktop
3+
---
34

4-
`ekz` is an opinionated Kubernetes distribution built using binaries from [the AWS EKS Distro](https://distro.eks.amazonaws.com/) (EKS-D).
5+
# The EKZ Project
6+
7+
`ekz` is an opinionated Kubernetes distribution built using binaries from [the AWS EKS Distro](https://distro.eks.amazonaws.com/) \(EKS-D\). It aims to be the easiest way to run EKS clusters on desktop.
58

69
What is EKS-D?
710

8-
> *EKS-D provides the same software that has enabled tens of thousands of Kubernetes clusters on Amazon EKS.*
11+
> _EKS-D provides the same software that has enabled tens of thousands of Kubernetes clusters on Amazon EKS._
12+
13+
`ekz` aims at solving the EKS compatibility problem for developers as much as possible by implanting EKS-D binaries to KIND and the k0s project, so that we can easily spin EKS-compatible clusters up to test our Kubernetes applications.
914

1015
## Architecture
1116

12-
The EKZ architecture supports EKS-D in multiple implementations, called providers. Currently, we ship the k0s-based (EKZ provider),
13-
and KIND-based (KIND provider) implementations. A provider can be specified when creating a cluster, or via the `EKZ_PROVIDER` variable.
17+
The architecture of EKZ has been designed to support EKS-D in multiple implementations, called providers. Currently, we ship the [k0s](https://github.com/k0sproject/k0s)-based \(EKZ provider\), and [KIND](https://github.com/kubernetes-sigs/kind/)-based \(KIND provider\) implementations. A provider can be specified when creating a cluster, or via the `EKZ_PROVIDER` variable.
1418

1519
## Getting Started
1620

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

19-
### With CLI
23+
### CLI Installation
2024

2125
You could install the CLI with one the following options.
2226

23-
#### Homebrew (macOS & Linux)
24-
```sh
27+
#### Homebrew \(macOS & Linux\)
28+
29+
```bash
2530
brew install ekz-io/tap/ekz
2631
```
2732

28-
#### CURL One-liner (macOS & Linux)
29-
```sh
33+
#### CURL One-liner \(macOS & Linux\)
34+
35+
```bash
3036
curl -sSL https://bit.ly/install-ekz | bash
3137
```
3238

33-
#### Wget One-liner (macOS & Linux)
34-
```sh
39+
#### Wget One-liner \(macOS & Linux\)
40+
41+
```bash
3542
wget -qO- https://bit.ly/install-ekz | bash
3643
```
3744

38-
#### Scoop (Windows)
39-
```
45+
#### Scoop \(Windows\)
46+
47+
```text
4048
scoop bucket add ekz-io https://github.com/ekz-io/scoop-ekz.git
4149
scoop install ekz-io/ekz
4250
```
4351

44-
#### Chocolatey (Windows)
45-
```
52+
#### Chocolatey \(Windows\)
53+
54+
```text
4655
choco install -y ekz
4756
```
4857

4958
Then you can start your first EKS-D cluster using the following command:
50-
```
59+
60+
```text
5161
ekz create cluster
5262
```
5363

54-
You can also use the KIND provider, so that your EKS-D clusters will be KIND-compatible.
55-
To use the KIND provider, you can use either flag `--provider=kind` or `export EKZ_PROVIDER=kind`.
64+
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`.
5665

5766
Here' the example of using the `--provider=kind` flag:
58-
```
67+
68+
```text
5969
ekz create cluster --provider=kind
6070
```
6171

62-
In case you'd like to use KIND as the default provider, it's better to set the EKZ_PROVIDER environment variable:
63-
```
72+
In case you'd like to use KIND as the default provider, it's better to set the EKZ\_PROVIDER environment variable:
73+
74+
```text
6475
export EKZ_PROVIDER=kind
6576
ekz create cluster
6677
```
6778

6879
Please wait for a couple of minutes and an EKS-D cluster will be ready on your laptop.
6980

70-
```sh
81+
```bash
7182
$ kubectl get nodes
7283
NAME STATUS ROLES AGE VERSION
7384
controller Ready <none> 42s v1.18.9-eks-1-18-1
7485
```
7586

7687
### Without CLI
77-
To use EKZ without using the CLI, please refer to this [document](WITHOUT_CLI.md).
7888

89+
To use EKZ without using the CLI, please refer to this [document](without_cli.md).
7990

8091
## Features
8192

82-
The EKZ provider
93+
### The EKZ provider
94+
95+
1. EKS-D binaries from v1.18.9-eks-1-18-1
96+
2. Packaged with k0s v0.10
97+
3. Amazon Linux 2 base image
98+
4. Enable network policy by default via the Calico CNI
8399

84-
1. EKS-D binaries from v1.18.9-eks-1-18-1
85-
1. Packaged with k0s v0.10
86-
1. Amazon Linux 2 base image
87-
1. Enable network policy by default via the Calico CNI
100+
### The KIND provider
88101

89-
The KIND provider
102+
1. EKS-D binaries from v1.18.9-eks-1-18-1
103+
2. Using KIND v0.10
104+
3. Packaged using KIND v1.18.15 node image
105+
4. Enable network policy by default via the Calico CNI
90106

91-
1. EKS-D binaries from v1.18.9-eks-1-18-1
92-
1. Using KIND v0.10
93-
1. Packaged using KIND v1.18.15 node image
94-
1. Enable network policy by default via the Calico CNI

SUMMARY.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Table of contents
2+
3+
* [The EKZ Project](README.md)
4+
* [Documentation](docs/README.md)
5+
* [Command References](docs/cmd/README.md)
6+
* [ekz](docs/cmd/ekz.md)
7+
* [ekz create](docs/cmd/ekz_create.md)
8+
* [ekz create cluster](docs/cmd/ekz_create_cluster.md)
9+
* [ekz delete](docs/cmd/ekz_delete.md)
10+
* [ekz delete cluster](docs/cmd/ekz_delete_cluster.md)
11+
* [ekz get](docs/cmd/ekz_get.md)
12+
* [ekz get kubeconfig](docs/cmd/ekz_get_kubeconfig.md)
13+
* [ekz list](docs/cmd/ekz_list.md)
14+
* [ekz list cluster](docs/cmd/ekz_list_cluster.md)
15+
* [ekz load](docs/cmd/ekz_load.md)
16+
* [ekz load docker-image](docs/cmd/ekz_load_docker-image.md)
17+
* [Using EKZ Without CLI](without_cli.md)
18+

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Documentation
2+

docs/cmd/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Command References
2+

docs/cmd/ekz.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
## ekz
1+
# ekz
22

33
Command line utility for creating EKS-D clusters on desktop
44

5-
### Synopsis
5+
## Synopsis
66

7-
This program is a command line utility for creating and managing EKS-D clusters on desktop.
8-
It currently supports clusters provided by EKZ (k0s-based) and KIND.
9-
All EKS-D cluster is single-node and run inside Docker.
7+
This program is a command line utility for creating and managing EKS-D clusters on desktop. It currently supports clusters provided by EKZ \(k0s-based\) and KIND. All EKS-D cluster is single-node and run inside Docker.
108

11-
### Examples
9+
## Examples
1210

13-
```
11+
```text
1412
# Create an EKS-D cluster with the default provider
1513
ekz create cluster
1614
@@ -30,22 +28,21 @@ All EKS-D cluster is single-node and run inside Docker.
3028
ekz create cluster --provider=kind
3129
ekz get kubeconfig --provider=kind
3230
ekz delete cluster --provider=kind
33-
3431
```
3532

36-
### Options
33+
## Options
3734

38-
```
35+
```text
3936
-h, --help help for ekz
4037
--provider string cluster provider possible values: "ekz", "kind". env: EKZ_PROVIDER (default "ekz")
4138
--verbose run verbosely
4239
```
4340

44-
### SEE ALSO
41+
## SEE ALSO
4542

46-
* [ekz create](ekz_create.md) - Create clusters
47-
* [ekz delete](ekz_delete.md) - Delete clusters
48-
* [ekz get](ekz_get.md) - Get properties of an EKS-D cluster
49-
* [ekz list](ekz_list.md) - List clusters
50-
* [ekz load](ekz_load.md) - Load artifacts into the cluster
43+
* [ekz create](ekz_create.md) - Create clusters
44+
* [ekz delete](ekz_delete.md) - Delete clusters
45+
* [ekz get](ekz_get.md) - Get properties of an EKS-D cluster
46+
* [ekz list](ekz_list.md) - List clusters
47+
* [ekz load](ekz_load.md) - Load artifacts into the cluster
5148

docs/cmd/ekz_create.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
## ekz create
1+
# ekz create
22

33
Create clusters
44

5-
### Synopsis
5+
## Synopsis
66

77
The create sub-commands create EKS-D clusters.
88

9-
### Options
9+
## Options
1010

11-
```
11+
```text
1212
-h, --help help for create
1313
```
1414

15-
### Options inherited from parent commands
15+
## Options inherited from parent commands
1616

17-
```
17+
```text
1818
--provider string cluster provider possible values: "ekz", "kind". env: EKZ_PROVIDER (default "ekz")
1919
--verbose run verbosely
2020
```
2121

22-
### SEE ALSO
22+
## SEE ALSO
2323

24-
* [ekz](ekz.md) - Command line utility for creating EKS-D clusters on desktop
25-
* [ekz create cluster](ekz_create_cluster.md) - Create a cluster
24+
* [ekz](ekz.md) - Command line utility for creating EKS-D clusters on desktop
25+
* [ekz create cluster](ekz_create_cluster.md) - Create a cluster
2626

docs/cmd/ekz_create_cluster.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
## ekz create cluster
1+
# ekz create cluster
22

33
Create a cluster
44

5-
### Synopsis
5+
## Synopsis
66

77
The create sub-commands create EKS-D clusters.
88

9-
```
9+
```text
1010
ekz create cluster [flags]
1111
```
1212

13-
### Examples
13+
## Examples
1414

15-
```
15+
```text
1616
# Create an EKS-D cluster with the default provider
1717
# The KubeConfig will be merged to $HOME/.kube/config. The default cluster name is 'ekz'.
1818
ekz create cluster
@@ -42,12 +42,11 @@ ekz create cluster [flags]
4242
4343
# Create EKS-D cluster with a specific version of EKS-D
4444
ekz create --eksd-version=v1.18.9-eks-1-18-1 cluster
45-
4645
```
4746

48-
### Options
47+
## Options
4948

50-
```
49+
```text
5150
--eksd-version string specify a version of EKS-D (default "v1.18.9-eks-1-18-1")
5251
-h, --help help for cluster
5352
--host run in the host mode
@@ -56,14 +55,14 @@ ekz create cluster [flags]
5655
-o, --output string specify output file to write kubeconfig to (default "~/.kube/config")
5756
```
5857

59-
### Options inherited from parent commands
58+
## Options inherited from parent commands
6059

61-
```
60+
```text
6261
--provider string cluster provider possible values: "ekz", "kind". env: EKZ_PROVIDER (default "ekz")
6362
--verbose run verbosely
6463
```
6564

66-
### SEE ALSO
65+
## SEE ALSO
6766

68-
* [ekz create](ekz_create.md) - Create clusters
67+
* [ekz create](ekz_create.md) - Create clusters
6968

docs/cmd/ekz_delete.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
## ekz delete
1+
# ekz delete
22

33
Delete clusters
44

5-
### Synopsis
5+
## Synopsis
66

77
The delete sub-commands delete EKS-D clusters.
88

9-
### Options
9+
## Options
1010

11-
```
11+
```text
1212
-h, --help help for delete
1313
```
1414

15-
### Options inherited from parent commands
15+
## Options inherited from parent commands
1616

17-
```
17+
```text
1818
--provider string cluster provider possible values: "ekz", "kind". env: EKZ_PROVIDER (default "ekz")
1919
--verbose run verbosely
2020
```
2121

22-
### SEE ALSO
22+
## SEE ALSO
2323

24-
* [ekz](ekz.md) - Command line utility for creating EKS-D clusters on desktop
25-
* [ekz delete cluster](ekz_delete_cluster.md) - Delete a cluster
24+
* [ekz](ekz.md) - Command line utility for creating EKS-D clusters on desktop
25+
* [ekz delete cluster](ekz_delete_cluster.md) - Delete a cluster
2626

0 commit comments

Comments
 (0)