WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Does TinyCore support Kubernetes?  (Read 4377 times)

Offline RyanM

  • Newbie
  • *
  • Posts: 2
Does TinyCore support Kubernetes?
« on: January 21, 2021, 02:23:11 PM »
I am looking to run a Kubernetes cluster with some clients (not the server itself) running TinyCore for minimal footprint.
Searching for "kubernetes" doesn't bring up anything on here.

Is this possible to have a Kub client running TC, or is this too lightweight?

Offline mocore

  • Hero Member
  • *****
  • Posts: 641
  • ~.~
Re: Does TinyCore support Kubernetes?
« Reply #1 on: January 21, 2021, 04:18:19 PM »

 hi ryanm

wrt kube ..idfk !

however according to https://thenewstack.io/a-guide-to-linux-operating-systems-for-kubernetes/

less is still more !!

Quote from: a-guide-to-linux-operating-systems-for-kubernetes
To summarize the obvious — the less software and packages an OS is running, the less there is to attack, and the less vulnerabilities will be present. This makes container-specific OS’s significantly more secure from the start, even without frequent patching.

... wrt to wtf is (tiny) core

did you see : http://tinycorelinux.net/intro.html


Is this possible to have a Kub client running TC, or is this too lightweight?

begging the question what is required  "to have a Kub client running" (again idk) ..?


is core "too lightweight?" 

Quote from: the waiter
It's only wafer thin

i guess it depends on your diet  ;)



Offline RyanM

  • Newbie
  • *
  • Posts: 2
Re: Does TinyCore support Kubernetes?
« Reply #2 on: January 21, 2021, 07:42:51 PM »
Wow that is VERY helpful.

Offline mocore

  • Hero Member
  • *****
  • Posts: 641
  • ~.~
Re: Does TinyCore support Kubernetes?
« Reply #3 on: January 23, 2021, 01:17:52 PM »
  > TinyCore support kube
 

 > TinyCore support kube
 perhaps ... if *whatever* dependency's can be satisfied ..

 i guess  " a kube cluster with some clients (not the server itself) "

 is something different to this ?    . . . how do nodes relate to clusters or clients =s

 https://gist.github.com/afbjorklund/8f4c42ef1b60e4a2ee501ac81f601cb3 # a single-node kube installation, using the regular Boot2Docker ISO

 which is apparently built using tcl  !

https://stackshare.io/stackups/boot2docker-vs-kubernetes
Quote
What is boot2docker? Lightweight Linux for Docker. boot2docker is a lightweight Linux distribution based on Tiny Core Linux

in case its relevant??!

tcl also gets a mention hear
https://boot2podman.github.io/2020/06/21/buildroot-kubernetes.html
 
so at least some other ppl see some reason to combine this distro and those tools

im not exactly familiar with the terminology around the tools in question ,
( i guess any clarification would help answer the question )
perhaps some of the above can provide some motivation to try and find out

IF tcl *can* support kube in the case case of runing a  ` cluster with some clients ` .

 ???


Offline afbjorklund

  • Newbie
  • *
  • Posts: 1
Re: Does TinyCore support Kubernetes?
« Reply #4 on: July 19, 2021, 01:43:04 PM »
I decided to split my "boot2podman" distribution into two separate, one based on TCL and one based on Buildroot...

The updated requirements for Kubernetes such as systemd and 2 vCPU / 2G RAM made it less suitable for tiny core.

But I found that running k3s is possible, at the time I was running podman/cri-o but it works with docker/containerd too.

<https://boot2podman.github.io/2019/04/09/boot2podman-kubernetes.html> (boot2podman was based on Tiny Core Linux)
« Last Edit: July 19, 2021, 01:51:57 PM by afbjorklund »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Does TinyCore support Kubernetes?
« Reply #5 on: July 23, 2021, 08:53:52 PM »
It seems there are a lot of projects based on tinycore without it being known, it comes to my mind that "ventoy" live is also based on tinycore.
Maybe it would be interesting to open a topic where people mention all the projects that use tinycore as a base to make a collection and and maybe mention them on the homepage.
It seems to me that tinycore would deserve more recognition

Offline CryoFire

  • Newbie
  • *
  • Posts: 3
Re: Does TinyCore support Kubernetes?
« Reply #6 on: August 02, 2021, 02:38:12 PM »
That's pretty interesting. I use Ventoy pretty regularly, had no idea it was based on tcl!

Wrt kubernetes, as far as I know (and I am a tcl "noob") there is no built-in or simple method of doing so. It's a case of meeting the dependencies and building from source I would guess.

If that sounds complicated, I believe the standard response here is something along the lines of "That's not the tinycore way".

Which makes sense in a distribution which aims to maintain an incredibly lightweight footprint - but I understand is not too helpful to you.