kubesphere-sigs / ks

ks is a tool that makes it be easy to work with KubeSphere.
MIT License
22 stars 16 forks source link

Add support install KubeSphere in k3d #108

Closed LinuxSuRen closed 3 years ago

LinuxSuRen commented 3 years ago

k3d is a very useful tool when you try some new features of KubeSphere.

You can start a k3s cluster via: k3d cluster create -p "30880:30880@agent[0]" --agents

LinuxSuRen commented 3 years ago

In order to pull images easier, we can use a private registry: k3d registry create

then create the cluster via:

k3d cluster create --registry-use k3d-registry:43050 \
  -p "30180:30180@agent[0]" \
  -p "30880:30880@agent[0]" --agents 1
ks install installer --nightly latest --components devops

or

k3d cluster create --registry-create \
  -p "30180:30180@agent[0]" \
  -p "30880:30880@agent[0]" --agents 1
ks install installer --nightly latest --components devops