News for hackers. Stuff that matters.
Re:Kubernetes Home – what do you do if your ISP changes your... by robertlagrant on Tuesday March 11, 2025 @02:23AM (#43329702)
I think it's good. K8s is well packaged (these days) and quite discoverable. I agree it's likely to throw up some problems, but it's great that it's possible.
Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @02:33AM (#43329744)
I'll be honest, never learned it, worked up from network protocols, reached docker in terms of virtualization, and of course OS fundamentals.

But even in those 3 areas I haven't exhausted all the knowledge and features available.

So I'm just skeptical when someone is using k8s and hasn't mastered the fundamentals. How do they know whether they should be using a high level k8 feature or a low level os feature? Happened with docker a lot to me when I didn't know better, I was learning how to set memory limits on containers and reset policies instead of learning to do it on the OS level.

Re:Kubernetes Home – what do you do if your ISP changes your... by Operyl on Tuesday March 11, 2025 @03:04AM (#43329904)
> reached docker in terms of virtualization

Except docker, on its own without something else in the stack, isn't Virtualization.

Re:Kubernetes Home – what do you do if your ISP changes your... by robertlagrant on Tuesday March 11, 2025 @03:38AM (#43330087)
Docker is kernel virtualisation. Are you thinking of OS virtualisation, like a VM?
Re:Kubernetes Home – what do you do if your ISP changes your... by xrisk on Tuesday March 11, 2025 @04:09AM (#43330267)
Docker does not virtualize the kernel, in fact the kernel version “inside” Docker is the same as the host.
Re:Kubernetes Home – what do you do if your ISP changes your... by Timber-6539 on Tuesday March 11, 2025 @03:56AM (#43330205)
Virtualization usually refers to OS/ device emulation in software. Docker uses kernel namespaces which is an entirely unrelated feature.
Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @06:27PM (#43337785)
I find it funny how some obtuse devs are unable to use abstraction in software of all things.
Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Tuesday March 11, 2025 @10:36AM (#43332862)
Docker is OS-level virtualization. VMs are hardware virtualization. Different layers.
Re:Kubernetes Home – what do you do if your ISP changes your... by Spivak on Tuesday March 11, 2025 @01:00PM (#43334585)
That isn't even true, you share your host kernel. There are parts of the kernel that aren't namespaced as well. The kernel keyring is probably the big one.
Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Tuesday March 11, 2025 @01:14PM (#43334756)
>That isn't even true

You are incorrect, this is true:

"OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, including containers (LXC, Solaris Containers, AIX WPARs, HP-UX SRP Containers, Docker, Podman)..."[0].

>you share your host kernel

Kernel != OS

>There are parts of the kernel that aren't namespaced as well. The kernel keyring is probably the big one.

Immaterial.

[0] https://en.m.wikipedia.org/wiki/OS-level_virtualization

Re:Kubernetes Home – what do you do if your ISP changes your... by Spivak on Tuesday March 11, 2025 @01:23PM (#43334853)
You can call it what you want but absolutely no one considers chroot virtualization in any meaningful sense. Nothing is being virtualized, containers are just regular processes on the host system.

"OS Virtualization" != "OS" "Virtualization"

Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @06:26PM (#43337775)
1st of all yes, many people consider not only chroot to be virtualization (of the file system). Yes it is arguable as it is the birth of lightweight virtualization. But you were wrong in saying no one does.

https://papers.freebsd.org/2000/phk-jails/

https://youtu.be/hgN8pCMLI2U?si=CH-Fpyj16bEWDZzc

2nd containers go farther and virtualize network, and other resources.

Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Wednesday March 12, 2025 @12:57PM (#43345245)
>You can call it what you want

I call it as it is.

>but absolutely no one considers chroot virtualization in any meaningful sense.

Absolutely everyone who's knowledgable in virtualization considers chroot to be a type of OS-level virtualization.

>Nothing is being virtualized, containers are just regular processes on the host system.

Wrong, "...OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances..."

"OS Virtualization" == "OS " + "Virtualization"

Re:Kubernetes Home – what do you do if your ISP changes your... by linuxdude314 on Tuesday March 11, 2025 @11:11PM (#43339600)
It’s not virtualization, it’s namespaces. Docker makes use of Linux kernel features; started out with cgroups and now uses libcontainer. Each container is running in its own isolated(ish) namespace on the same host kernel.

It’s _very_ different technology than virtualization.

You don’t need docker to make a container on Linux (or Solaris for that matter).

Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Wednesday March 12, 2025 @12:47PM (#43345135)
>It’s not virtualization

You are incorrect, this is OS-level virtualization:

"OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, including containers (LXC, Solaris Containers, AIX WPARs, HP-UX SRP Containers, Docker, Podman)..."[0].

>it’s namespaces. Docker makes use of Linux kernel features; started out with cgroups and now uses libcontainer. Each container is running in its own isolated(ish) namespace on the same host kernel.

Yes, OS-level virtualization.

>It’s _very_ different technology than virtualization.

Incorrect, this is a virtualization technology.

>You don’t need docker to make a container on Linux (or Solaris for that matter).

No one claimed otherwise.

[0] https://en.m.wikipedia.org/wiki/OS-level_virtualization

Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @03:25AM (#43330009)
Not arguing this again, go edit the wikipedia article if you are so confident
Re:Kubernetes Home – what do you do if your ISP changes your... by vegarde on Monday March 17, 2025 @05:01AM (#43386438)
OP here.

Of course I haven't mastered he fundamentals of K8s yet, I am just beginning to learn it.

Like you, I have been using docker for years, and to be honest it served me very well - and would probably continue to do so. But as a geek, I have a natural curiosity, sometimes just the curiosity of whether or not something can be done, and how it works, is enough justifications to do it.

As you probably read, this is in my home services. Which is where I am free to do exactly these experiments before I know the inns and outs of it.

Some of what I wrote in the blog post, I have already ditched. I am no longer hardcoding the ipv6 addresses from the pools, for example, but I still need to change my pool ip addresses if my ISP changes the range. I am not sure if my way is the correct one. I could do it manually, but what's the fun in that ?

There will be more blog posts as I learn, you be sure (there already is). I have more coming up, but one of my current projects will take a bit of time, as I have decided that writing a Unifi Operator for managing firewall rules is a better way to do it :)

Now, for home use? Whoever does that, write K8s Operators?

If you're on hacker news then you should understand that the goal isn't necessarily the result, it's the learning experience.