From k3d site:
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.
Prerequisite:
Installation:
# To install latest k3d
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
# To install any specific version of k3d
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.0.0 bash
Once, k3d is installed on your local machine, Check the version -
# version check
k3d --version
# Install with 3 worker nodes
k3d cluster create --agents 3 <cluster-name>
Uninstallation:
# Install with 3 worker nodes
k3d cluster delete <cluster-name>
Demo:
--
Like the below page to get the update
Facebook Page Facebook Group Twitter Feed Telegram Group
--
Like the below page to get the update
Facebook Page Facebook Group Twitter Feed Telegram Group
No comments:
Post a Comment