Skip to content

Commit c3e1fe2

Browse files
authored
30 - update documentation website, README, and --help text (#33)
* forgot all the links 🤦 * adding kind config to be bundled properly with the pip package * fixing issue where kind wouldn't have the file it needed from pypi * fix help text to have XDG note on README. + fix -h --help display * test image table formatting * fixing distros table, and testing apps table * trying a different html break * fixing docs and testing if same fix works in readme * finish fixing readme to match docs * fix nav order and add table of contents so quickstart still appears * uncrowd quickstart and fix pathing * attempt to fix collapsibles again * remove link for image * try another bullet format and remove - from summary name * update krew section * more data about kubectl krew * be more verbose
1 parent 0d3e01b commit c3e1fe2

File tree

18 files changed

+240
-184
lines changed

18 files changed

+240
-184
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ We always install the latest version of kubernetes that is available from the di
3535

3636
| Distro | Description |
3737
|:----------:|:------------------------------------------------------|
38-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k0s-logo.svg" width="32">][k0s]</br>[k0s] | Simple, Solid & Certified Kubernetes Distribution |
39-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k3s_icon.ico" width="26">][k3s]</br>[k3s] | The certified Kubernetes distribution built for IoT & Edge computing |
40-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kind_icon.png" width="32">][KinD]</br>[KinD] | kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. |
38+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k0s-logo.svg" width="32">][k0s] <br /> [k0s] | Simple, Solid & Certified Kubernetes Distribution |
39+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k3s_icon.ico" width="26">][k3s] <br /> [k3s] | The certified Kubernetes distribution built for IoT & Edge computing |
40+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kind_icon.png" width="32">][KinD] <br /> [KinD] | kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. |
4141

4242
We tend to test first on k3s first, then the other distros.
4343

@@ -47,20 +47,20 @@ Version is the helm chart version, or manifest version.
4747

4848
| Application | Version | Description |
4949
|:-------------------------------:|:-------------:|:------------------------------------------------------|
50-
| 🐄</br>[Local Path Provisioner] | k3s latest | Default simple local file storage for persistent data |
51-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/metallb_icon.png" width="32px" alt="metallb logo, blue arrow pointing up, with small line on one leg of arrow to show balance">][metallb]</br> [metallb] | 0.13.7 | loadbalancer for metal, since we're mostly selfhosting |
52-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/nginx.ico" width="32px" alt="nginx logo, white letter N with green background">][nginx-ingress]</br>[nginx-ingress] | 4.4.0 | The ingress controller allows access to the cluster remotely, needed for web traffic |
53-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/cert-manager_icon.png" width="32px" alt="cert manager logo">][cert-manager]</br>[cert-manager] | 1.10.1 | For SSL/TLS certificates |
50+
| 🐄 <br /> [Local Path Provisioner] | k3s latest | Default simple local file storage for persistent data |
51+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/metallb_icon.png" width="32px" alt="metallb logo, blue arrow pointing up, with small line on one leg of arrow to show balance">][metallb] <br /> [metallb] | 0.13.7 | loadbalancer for metal, since we're mostly selfhosting |
52+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/nginx.ico" width="32px" alt="nginx logo, white letter N with green background">][nginx-ingress] <br /> [nginx-ingress] | 4.4.0 | The ingress controller allows access to the cluster remotely, needed for web traffic |
53+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/cert-manager_icon.png" width="32px" alt="cert manager logo">][cert-manager] <br /> [cert-manager] | 1.10.1 | For SSL/TLS certificates |
5454
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k9s_icon.png" alt="k9s logo, outline of dog with ship wheels for eyes" width="32px">][k9s]</br>[k9s] | latest | Terminal based dashboard for kubernetes |
5555

5656

5757
#### Optionally installed
5858

5959
| Application/Tool | Version | Description |
6060
|:----------------:|:-------------:|:------------|
61-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/eso_icon.png" width="32" alt="ESO logo, outline of robot with astricks in a screen in it's belly">][ESO]</br>[ESO] | 0.6.1 | external-secrets-operator integrates external secret management systems like GitLab|
62-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/argo_icon.png" width="32" alt="argo CD logo, an organer squid wearing a fishbowl helmet">][Argo CD]</br>[Argo CD] | 5.16.2 | Gitops - Continuous Deployment |
63-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kyverno_icon.png" width="32" alt="kyvero logo">][Kyverno]</br>[Kyverno] | latest | Kubernetes native policy management to enforce policies on k8s resources |
61+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/eso_icon.png" width="32" alt="ESO logo, outline of robot with astricks in a screen in it's belly">][ESO] <br /> [ESO] | 0.6.1 | external-secrets-operator integrates external secret management systems like GitLab|
62+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/argo_icon.png" width="32" alt="argo CD logo, an organer squid wearing a fishbowl helmet">][Argo CD] <br /> [Argo CD] | 5.16.2 | Gitops - Continuous Deployment |
63+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kyverno_icon.png" width="32" alt="kyvero logo">][Kyverno] <br /> [Kyverno] | latest | Kubernetes native policy management to enforce policies on k8s resources |
6464

6565

6666
### Tooling Used for the CLI itself and interface

docs/index.md

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,47 @@
22
layout: default
33
title: Intro
44
description: "Smol K8s Lab Overview"
5+
has_children: true
56
nav_order: 1
67
permalink: /
78
---
89

910
## ☁️ *smol k8s lab* 🧸
1011
[<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/screenshots/help_text.svg" alt="Output of smol-k8s-lab --help after cloning the directory and installing the prerequisites.">](https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/screenshots/help_text.svg)
1112

12-
This is aimed at getting up and running quickly with mostly smaller k8s distros in one small command line script.
13-
14-
## QuickStart
15-
Get started with `smol-k8s-lab` today with our tutorial [here](https://jessebot.github.io/smol-k8s-lab/quickstart).
16-
17-
There's also full tutorials to manually set up different distros in the [docs we maintain](https://jessebot.github.io/smol-k8s-lab/distros) as well as BASH scripts for basic automation of each k8s distro in:
18-
19-
`./distro/[NAME OF K8S DISTRO]/bash_full_quickstart.sh`
13+
A project aimed at getting up and running quickly with mostly smaller k8s distros in one small command line script.
2014

2115
### Supported k8s distributions
2216
We always install the latest version of kubernetes that is available from the distro's startup script.
2317

2418
| Distro | Description |
2519
|:----------:|:------------------------------------------------------|
26-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k0s-logo.svg" width="32">][k0s]</br>[k0s] | Simple, Solid & Certified Kubernetes Distribution |
27-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k3s_icon.ico" width="26">][k3s]</br>[k3s] | The certified Kubernetes distribution built for IoT & Edge computing |
28-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kind_icon.png" width="32">][KinD]</br>[KinD] | kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. |
20+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k0s-logo.svg" width="32">][k0s] <br /> [k0s] | Simple, Solid & Certified Kubernetes Distribution |
21+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k3s_icon.ico" width="26">][k3s] <br /> [k3s] | The certified Kubernetes distribution built for IoT & Edge computing |
22+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kind_icon.png" width="32">][KinD] <br /> [KinD] | kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. |
2923

30-
We tend to test first on k3s first, then the other distros.
24+
We tend to test first on kind and k3s first, then k0s.
3125

3226

3327
### Stack We Install on K8s
3428
Version is the helm chart version, or manifest version.
3529

3630
| Application | Version | Description |
3731
|:-------------------------------:|:-------------:|:------------------------------------------------------|
38-
| 🐄</br>[Local Path Provisioner] | k3s latest | Default simple local file storage for persistent data |
39-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/metallb_icon.png" width="32px" alt="metallb logo, blue arrow pointing up, with small line on one leg of arrow to show balance">][metallb]</br> [metallb] | 0.13.7 | loadbalancer for metal, since we're mostly selfhosting |
40-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/nginx.ico" width="32px" alt="nginx logo, white letter N with green background">][nginx-ingress]</br>[nginx-ingress] | 4.4.0 | The ingress controller allows access to the cluster remotely, needed for web traffic |
41-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/cert-manager_icon.png" width="32px" alt="cert manager logo">][cert-manager]</br>[cert-manager] | 1.10.1 | For SSL/TLS certificates |
42-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k9s_icon.png" alt="k9s logo, outline of dog with ship wheels for eyes" width="32px">][k9s]</br>[k9s] | latest | Terminal based dashboard for kubernetes |
32+
| 🐄 [Local Path Provisioner] | k3s latest | Default simple local file storage for persistent data |
33+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/metallb_icon.png" width="32px" alt="metallb logo, blue arrow pointing up, with small line on one leg of arrow to show balance">][metallb] <br /> [metallb] | 0.13.7 | loadbalancer for metal, since we're mostly selfhosting |
34+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/nginx.ico" width="32px" alt="nginx logo, white letter N with green background">][nginx-ingress] <br /> [nginx-ingress] | 4.4.0 | The ingress controller allows access to the cluster remotely, needed for web traffic |
35+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/cert-manager_icon.png" width="32px" alt="cert manager logo">][cert-manager] <br /> [cert-manager] | 1.10.1 | For SSL/TLS certificates |
36+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/k9s_icon.png" alt="k9s logo, outline of dog with ship wheels for eyes" width="32px">][k9s] <br /> [k9s] | latest | Terminal based dashboard for kubernetes |
4337

4438

4539
#### Optionally installed
4640

4741
| Application/Tool | Version | Description |
4842
|:----------------:|:-------------:|:------------|
49-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/eso_icon.png" width="32" alt="ESO logo, outline of robot with astricks in a screen in it's belly">][ESO]</br>[ESO] | 0.6.1 | external-secrets-operator integrates external secret management systems like GitLab|
50-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/argo_icon.png" width="32" alt="argo CD logo, an organer squid wearing a fishbowl helmet">][Argo CD]</br>[Argo CD] | 5.16.2 | Gitops - Continuous Deployment |
51-
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kyverno_icon.png" width="32" alt="kyvero logo">][Kyverno]</br>[Kyverno] | latest | Kubernetes native policy management to enforce policies on k8s resources |
43+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/eso_icon.png" width="32" alt="ESO logo, outline of robot with astricks in a screen in it's belly">][ESO] <br /> [ESO] | 0.6.1 | external-secrets-operator integrates external secret management systems like GitLab|
44+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/argo_icon.png" width="32" alt="argo CD logo, an organer squid wearing a fishbowl helmet">][Argo CD] <br /> [Argo CD] | 5.16.2 | Gitops - Continuous Deployment |
45+
| [<img src="https://raw.githubusercontent.com/jessebot/smol-k8s-lab/main/docs/icons/kyverno_icon.png" width="32" alt="kyvero logo">][Kyverno] <br /> [Kyverno] | latest | Kubernetes native policy management to enforce policies on k8s resources |
5246

5347

5448
### Tooling Used for the CLI itself and interface
@@ -61,12 +55,38 @@ smol-k8s-lab is written in Python and built and published using [Poetry]. You ca
6155

6256
We also utilize the [Bitwarden cli], for a password manager so you never have to see/know your argocd password.
6357

58+
## Things we don't handle
59+
6460
### Port Forwarding
6561
If you want to access an app outside of port forwarding to test, you'll need to make sure your app's ingress is setup correctly and then you'll need to setup your router to port forward 80->80 and 443->443 for your WAN. then setup DNS for your domain if you want the wider internet to access this remotely.
6662

6763
### SSL/TLS
68-
6964
After SSL is working (if it's not, follow the steps in the [cert-manager common error troubleshooting guide](https://cert-manager.io/docs/faq/acme/#common-errors)), you can also change the `letsencrypt-staging` value to `letsencrypt-prod` for any domains you own and can configure to point to your cluster via DNS.
7065

7166
### Troubleshooting
7267
If you're stuck, checkout the [Notes section](https://jessebot.github.io/smol-k8s-lab/notes) to see if we also got stuck on the same thing at some point :)
68+
69+
70+
<!-- k8s distro link references -->
71+
[k3s]: https://k3s.io/
72+
[KinD]: https://kind.sigs.k8s.io/
73+
[k0s]: https://k0sproject.io/
74+
75+
<!-- k8s apps link references -->
76+
[metallb]: https://github.io/metallb/metallb "metallb"
77+
[Local Path Provisioner]: https://github.com/rancher/local-path-provisioner
78+
[nginx-ingress]: https://github.io/kubernetes/ingress-nginx
79+
[cert-manager]: https://cert-manager.io/docs/
80+
[k9s]: https://k9scli.io/topics/install/
81+
82+
[ESO]: https://external-secrets.io/v0.5.9/
83+
[Argo CD]: https://github.io/argoproj/argo-helm
84+
[Kyverno]: https://github.com/kyverno/kyverno/
85+
86+
<!-- smol-k8s-lab dependency lib link references -->
87+
[Poetry]: https://python-poetry.org/
88+
[rich]: https://github.com/Textualize/richP
89+
[PyYAML]: https://pyyaml.org/
90+
[bcrypt]: https://pypi.org/project/bcrypt/
91+
[click]: https://pypi.org/project/click/
92+
[Bitwarden cli]: https://bitwarden.com/help/cli/

docs/distros/distros.md renamed to docs/k8s_distros/distros.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
layout: default
33
title: K8s Distros
44
description: "K8s Distro Guides"
5-
nav_order: 2
65
has_children: true
76
permalink: /distros
87
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)