init mkdocs

pull/212/head
iwilltry42 4 years ago
parent 3b77ecd6dd
commit 9654027a6b
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 3
      README.md
  2. 25
      docs/commands.md
  3. 6
      docs/defaults.md
  4. 25
      docs/index.md
  5. 22
      mkdocs.yml

@ -58,7 +58,8 @@ Check out the [examples here](docs/examples.md).
### More Information
- [Further documentation](docs/documentation.md)
- [Command Tree](docs/commands.md)
- [Default Behavior](docs/defaults.md)
- [Usage examples](docs/examples.md)
- [Frequently asked questions and nice-to-know facts](docs/faq.md)
- [Design/Architecture Thoughts, Plans, Unsorted Ideas and more](thoughts.md)

@ -0,0 +1,25 @@
# Command Tree
```bash
k3d
create
cluster CLUSTERNAME
node NODENAME
delete
cluster CLUSTERNAME
node
start
cluster CLUSTERNAME
node
stop
cluster CLUSTERNAME
node
get
cluster CLUSTERNAME
node
kubeconfig CLUSTERNAME
load
completion
version
help
```

@ -1,8 +1,4 @@
# Documentation
## Functionality
### Defaults
# Defaults
* multiple master nodes
* by default, when `--master` > 1 and no `--datastore-x` option is set, the first master node (master-0) will be the initializing master node

@ -0,0 +1,25 @@
# k3d
k3d is a lightweight wrapper to run k3s (Rancher Lab's minimal Kubernetes distribution) in docker.
k3d makes it very easy to create single- and multi-node k3s clusters in docker, e.g. for local development on Kubernetes.
## Quick Start
Create a cluster named `mycluster` with just a single master node:
```bash
k3d create cluster mycluster
```
Get the new cluster's connection details merged into your default kubeconfig (usually specified using the `KUBECONFIG` environment variable or the default path `$HOME/.kube/config`) and directly switch to the new context:
```bash
k3d get kubeconfig mycluster --switch
```
Use the new cluster with [`kubectl`](https://kubernetes.io/docs/tasks/tools/install-kubectl/), e.g.:
```bash
kubectl get nodes
```

@ -0,0 +1,22 @@
# Project information
site_name: k3d
site_description: Little helper to run Rancher Lab's k3s in Docker
site_url: https://k3d.io/
copyright: "Copyright © 2020 k3d Authors"
# Repo Information
repo_url: https://github.com/rancher/k3d
strict: True
# Theme
theme:
name: material
# Navigation
nav:
- Overview: index.md
- Command Tree: commands.md
- Defaults: defaults.md
- Examples: examples.md
- FAQ: faq.md
Loading…
Cancel
Save