2022-11-23 19:40:39 +00:00
|
|
|
# k3d
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> A wrapper to easily create k3s clusters inside Docker.
|
2022-11-23 19:40:39 +00:00
|
|
|
> 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}}`
|