k3d: add page (#9273)

pull/1/head
Thamaraiselvam (aka) Tham 2022-11-24 03:40:39 +08:00 committed by GitHub
parent 4dca0ab1fb
commit 463cc88df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/k3d.md Normal file
View File

@ -0,0 +1,24 @@
# k3d
> Wrapper CLI to easily create k3s clusters inside Docker.
> More information: <https://k3d.io>.
- Create a cluster:
`k3d cluster create {{cluster_name}}`
- Delete a cluster:
`k3d cluster delete {{cluster_name}}`
- Create a new containerized k3s node:
`k3d node create {{node_name}}`
- Import an image from Docker into a k3d cluster:
`k3d image import {{image_name}} --cluster {{cluster_name}}`
- Create a new registry:
`k3d registry create {{registry_name}}`