projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: make Prettier + fix spelling, update upgrade/switch instructions, prefer ale...
[webi-installers/.git]
/
kind
/
README.md
diff --git
a/kind/README.md
b/kind/README.md
index 4ff23d96430fa713e0f8af76e0cad66df49f051b..59e7742ca3086674202482657de08c60535338d0 100644
(file)
--- a/
kind/README.md
+++ b/
kind/README.md
@@
-9,47
+9,58
@@
To update or switch versions, run `webi kind@stable` (or `@v2`, `@beta`,etc).
## Cheat Sheet
## Cheat Sheet
-> Kind uses a single docker container to run a lightweight kubernetes cluster for testing and shenanigans
+> Kind uses a single docker container to run a lightweight kubernetes cluster
+> for testing and shenanigans
User Guide - Quick Start: https://kind.sigs.k8s.io/docs/user/quick-start
To create a cluster with default name
User Guide - Quick Start: https://kind.sigs.k8s.io/docs/user/quick-start
To create a cluster with default name
+
```bash
kind create cluster
```
Create a cluster with a specific name
```bash
kind create cluster
```
Create a cluster with a specific name
+
```bash
kind create cluster --name foo
```
List clusters
```bash
kind create cluster --name foo
```
List clusters
+
```bash
kind get clusters
```
Specify Kubernetes version
```bash
kind get clusters
```
Specify Kubernetes version
+
```bash
kind create cluster --image "kindest/node:$favoriteTag"
```
```bash
kind create cluster --image "kindest/node:$favoriteTag"
```
-- pick your $favoriteTag from here: https://hub.docker.com/r/kindest/node/tags?page=1&ordering=last_updated
+
+- pick your \$favoriteTag from here:
+ https://hub.docker.com/r/kindest/node/tags?page=1&ordering=last_updated
Export all logs from a cluster
Export all logs from a cluster
+
```bash
kind exports logs $HOME/somedir
```
To delete a cluster with default name
```bash
kind exports logs $HOME/somedir
```
To delete a cluster with default name
+
```bash
kind delete cluster
```
To delete a cluster with specific name
```bash
kind delete cluster
```
To delete a cluster with specific name
+
```bash
kind delete cluster --name foo
```
Get the kubeconfig of a cluster
```bash
kind delete cluster --name foo
```
Get the kubeconfig of a cluster
+
```bash
kind get kubeconfig --name foo
```
```bash
kind get kubeconfig --name foo
```