From nobody Thu Feb 1 15:05:21 2024 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TQj065tkPz58pNF for ; Thu, 1 Feb 2024 15:05:58 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TQj0642KMz4mVd for ; Thu, 1 Feb 2024 15:05:58 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a35e9161b8cso141897066b.3 for ; Thu, 01 Feb 2024 07:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706799957; x=1707404757; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bkzQ9q0c/9fHbs0ks+mlErfWt2yPRT3R8LPAtoTlSZo=; b=H0F85Q18ktpDI6hQGaoloFGXu0uGYyAT8JzpFWxQeWsPoCTloDG7toh/A+8j5SFs2s /3tsh1uVZ4cs89YHGy3ERS0tyIupd4Ci8B2I96tVNwbT7rvyow4NmjlMXK3DX5oQ5QbU +/aBqkXvIVjfBqAWgeKksyo/ZEC5Hb6EO+o7oU5/BGG3ootAJHM8CfZLfn9rHUVy+VgV 2UZ6XYyO7AGZ6nzsNlWHgmkLFBBQCRaiiVd1mkQRosPwRWTYdlZPFcnggxAr3qEaGnji hF3bJKdcoIR5/RUBc0MF4GE9wlcnkhVuLjiaunQBverF3CppW6G43WtSTFSDUmSxEhyy Jzkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706799957; x=1707404757; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bkzQ9q0c/9fHbs0ks+mlErfWt2yPRT3R8LPAtoTlSZo=; b=vpWQCQ+uSdTVlmIVAkqBy/F+6qSCtlFGZd2VW1zNiGjUP47BDwraLlkUsbteEN/nCv 9Dl5xANQWk8l77B/YggcsXVf797unFQYpmR9T1VxRU+wcXR1wY++S75XXveD2mw1M6YS QZVFZenb0u57PYiVwo3ZWwn//8AExhLxVKh+QdCYLzNoL/9cJoJlwU2OxLzZ2tKfmJ0h lp25hMcrfIi2gZ22CrMB5qFaBq0Vs+eas5ZR47ppsdC9EyBKWHhZMbVjNrT+eeiSN94x tarD3uZIp43MFl0Dl4cs63I6epD8jYUisekKprzOSz/brCPt9f6Mp1Jpa9HUkyOy1NgR MKng== X-Gm-Message-State: AOJu0Yz6m7vWjsynbLuHkGgpd4bUOHPbKG9Ak1mIDqkkLtTWKQW4cSJz AarmYmfP7BaYPKXGq82ocYjUSUyjgXj43c3yPfeCaqK6hWcYxJY9PM5uZuAjhOv1FhDHR2ZeKub xc/lV8P6jeZD7zRYjyJeIOSejKUpGcNIx X-Google-Smtp-Source: AGHT+IGxRzqMx03X1RMPSclW/jNNn+0ImiqjkV/hpHtwIIJ23p8oAaiVX9GhKo+AnOEsydd2+OE5ZXBaYIejZZesmTE= X-Received: by 2002:a17:906:1c4e:b0:a36:7e17:8929 with SMTP id l14-20020a1709061c4e00b00a367e178929mr3385573ejg.69.1706799957252; Thu, 01 Feb 2024 07:05:57 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Thu, 1 Feb 2024 16:05:21 +0100 Message-ID: Subject: Re: If we are so opposed to Docker and Kubernetes, what is the real alternative on BSD? To: Alejandro Imass Cc: Odhiambo Washington , FreeBSD virtualization Content-Type: multipart/alternative; boundary="000000000000279f7006105355b5" X-Rspamd-Queue-Id: 4TQj0642KMz4mVd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000279f7006105355b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---> I understand that Linux native containers can already run on BSD with the Linuxulator layer. Docker can't run on the linuxulator. Curious to see if kubernetes and or runj do it. Me too I know that native code is better,but I know that no one on FreeBSD wants,so instead of using bhyve,if I can,I prefer the lighter Linuxulator. On Thu, Feb 1, 2024 at 3:47=E2=80=AFPM Alejandro Imass wrote: > > > On Thu, Feb 1, 2024 at 1:44=E2=80=AFPM Mario Marietto > wrote: > >> Would be cool to investigate if the Linuxulator supports Kubernetes.... >> >> > > I understand that Linux native container can already run on BSD with > Linuxulator layer. But I would rather traduce Dockerfile to Bastillefile = of > CBSDFile and go with native code. > > IMO, the issue is not so much the container tech, we invented that in the > first place. The issue is not having a decent orchestrator / autoscaling > service. > > Although I think that runj is the correct starting point: > > https://github.com/samuelkarp/runj > > Although I am not a k8s expert not sure if runj counts as an alternative > to k8s or more like container runtime for k8s. Would be nice that actual > k8s experts could chime in here ... > > > > >> On Thu, Feb 1, 2024 at 1:40=E2=80=AFPM Odhiambo Washington >> wrote: >> >>> >>> >>> On Thu, Feb 1, 2024 at 3:13=E2=80=AFPM Alejandro Imass >>> wrote: >>> >>>> >>>> > ... > > >> You're missing the fact that you could virtualize a Linux host and run >>> all those Docker/k8s inside it and just proxy access to them. >>> For example, I am running https://ushahidi.kictanet.or.ke/views/map >>> inside an Ubuntu VM under bhyve. Apache on the FreeBSD host is doing th= e >>> proxy. >>> >>> PS: I am lucky to be the 1st one to pour more fuel into your flame :-) >>> >>> >>> -- >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254 7 3200 0004/+254 7 2274 3223 >>> In an Internet failure case, the #1 suspect is a constant: DNS. >>> "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) >>> [How to ask smart questions: >>> http://www.catb.org/~esr/faqs/smart-questions.html] >>> >> >> >> -- >> Mario. >> > --=20 Mario. --000000000000279f7006105355b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
---> I understand that Linux native containers can= already run on BSD with the Linuxulator layer.

Docker can't run on the linuxulator. Curious to see if kubernetes an= d or runj do it. Me too I know that native code is better,but I know that n= o one on FreeBSD wants,so instead of using bhyve,if I can,I prefer the ligh= ter Linuxulator.

On Thu, Feb 1, 2024 at 3:47=E2=80=AFPM Alejandro= Imass <aimass@= yabarana.com> wrote:


On Thu, Feb 1, 2024 at 1:= 44=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:
Would be cool to i= nvestigate if the Linuxulator supports Kubernetes....



I understand that Linux native con= tainer can already run on BSD with Linuxulator layer. But I would rather tr= aduce Dockerfile to Bastillefile of CBSDFile and go with native code.
=

IMO, the issue is not so much the container tech, we in= vented that in the first place. The issue is not having a decent orchestrat= or / autoscaling service.

Although I think that ru= nj=C2=A0is the correct starting point:


Although I am not a k8s expe= rt not sure if runj=C2=A0counts as an alternative to k8s or more like conta= iner runtime for k8s. Would be nice that actual k8s experts could chime in = here ...


=C2=A0
On Thu, Feb 1, 2024 at 1:40=E2=80=AFPM Odhiambo W= ashington <odhia= mbo@gmail.com> wrote:


On Thu, Feb 1, 2024 at 3= :13=E2=80=AFPM Alejandro Imass <aimass@yabarana.com> wrote:


...
<= div>=C2=A0
You're missing the= fact that you could virtualize a Linux host and run all those Docker/k8s i= nside it and just proxy access to them.
For example, I am running= =C2=A0https://ushahidi.kictanet.or.ke/views/map inside an Ubuntu VM under = bhyve. Apache on the FreeBSD host is doing the proxy.

<= div>PS: I am lucky to be the 1st one to pour more fuel into your flame :-)<= /div>


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,= KE
+254 7 3200 0004/+254 7 2274 3223
=C2=A0In=C2=A0an Inte= rnet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.",=C2=A0egrep -v '^= $|^.*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.h= tml]


--
Mario.


--
Mario.
--000000000000279f7006105355b5--