# Any k0d somewhere?

**URL:** https://forums.k8slens.dev/t/any-k0d-somewhere/368
**Category:** All about k0s
**Created:** [April 25, 2023, 2:16pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368 "2023-04-25T14:16:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rachid.zarouali](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@rachid.zarouali](https://forums.k8slens.dev/u/rachid.zarouali)
#### Post date: [April 25, 2023, 2:16pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/1 "2023-04-25T14:16:59Z")

</div>

I’m wondering if there’s any k0d implementation somewhere to be able to deploy k0s IN Docker as k3d does for k3s.

any hints anyone?

---

<div class="post-metadata">

### Author: ![jas-atwal](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@jas-atwal](https://forums.k8slens.dev/u/jas-atwal)
#### Post date: [April 25, 2023, 5:48pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/2 "2023-04-25T17:48:36Z")

</div>

With a Lens Pro license you get access to Lens Desktop Kube (LDK), which is K0s running locally on docker within a lightweight virtual machine. With the latest version of Lens you also get access to the Docker CLI within the Terminal window when using LDK.

You can create a number of profiles that suit your needs for CPU, RAM, Disk size in addition to the version of Kubernetes you want to use.

---

<div class="post-metadata">

### Author: ![xinity](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/x/7cd45c/32.png) [@xinity](https://forums.k8slens.dev/u/xinity)
#### Post date: [April 25, 2023, 6:09pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/3 "2023-04-25T18:09:07Z")

</div>

Any ways to use LKD to spinup a multinode cluster?

AFAIK I don’t think so

Let me know,

---

<div class="post-metadata">

### Author: ![jas-atwal](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@jas-atwal](https://forums.k8slens.dev/u/jas-atwal)
#### Post date: [April 25, 2023, 7:28pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/4 "2023-04-25T19:28:52Z")

</div>

LDK is a local installation of k0s in Docker and is not designed for multi-node clusters. It’s for local development / testing of Kubernetes services which now also supports the docker cli.

You can follow these [instructions](https://docs.k0sproject.io/head/k0s-in-docker/) to deploy k0s into a multi-node Docker deployment.

---

<div class="post-metadata">

### Author: ![xinity](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/x/7cd45c/32.png) [@xinity](https://forums.k8slens.dev/u/xinity)
#### Post date: [April 25, 2023, 7:50pm UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/5 "2023-04-25T19:50:52Z")

</div>

I know what LKD is and How it works underneath 😏  
I’m just pointing the way fact that my goal is to have a multinode cluster in docker.  
So either in a near future LKD can provide that behaviour either I’ll build a K0D implementation or I’ll switch to k3s which already supports that behaviour by default.

I’d rather avoid the third option if I’m able to

---

<div class="post-metadata">

### Author: ![juanluisvaladas](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/e79b87/32.png) [@juanluisvaladas](https://forums.k8slens.dev/u/juanluisvaladas)
#### Post date: [April 27, 2023, 10:18am UTC](https://forums.k8slens.dev/t/any-k0d-somewhere/368/6 "2023-04-27T10:18:21Z")

</div>

The k0s test suite runs k0s in docker so you could use that, but I must give a few warnings:

1- You MUST NOT use this in a production system, it’s not meant for that and running containers in docker has many problems but for short duration it’s ok.

2- Keep in mind that because it’s a test suite and not a final product we may introduce breaking changes any time.

3- Because we use it for our test suite, we don’t normally run it for long periods of time and it’s likely that you run into problems.

4- Depending on the size of your docker storage and the configuration of the docker engine you’re quite likely to run into disk-pressure problems.

Now that I’m done with the warnings: You can test this by cloning the repo and running a test. The test ap-ha3x33 has 3 workers and 3 control plane nodes so it’s a good example:

```auto
K0S_KEEP_AFTER_TESTS=always make check-ap-ha3x3

```

Also keep in mind that the k0s tests build the k0s binary and don’t use a release by default. You can use a specific release compiled by yourself by checking out the right tag beforehand:

```auto
v1.26.4+k0s.0

```

I hope this is useful.

PS: If you want to build a k0d check the whole inttest common library does A LOT of the difficult stuff.
