5 ms·
Kubernetes on Bare Metal
- kalamania 8y agoInteresting, I always thought Bare Metal is synonym for actual hardware server, but the author mixes those: > Bare metal for this conversation means a regular VM/VPS provider or a regular private provider like Proxmox with no special services - or actual hardware. Is this a common theme nowadays? The article itself is of course really nice, it shows that "Kubernetes is hard to set up" theme is not always right.
- chefgoldbluum 8y agoI thought Bare Metal meant dedicated hardware in the cloud. E.g. Vultr (https://www.vultr.com/pricing/baremetal/ https://www.vultr.com/pricing/baremetal/) distinguishes VPS vs bare metal as you getting access to entire physical servers without neighbours. Not entirely sure if this is standard nomenclature though.
- ur-whale 8y agoWhen I read bare metal, I thought we were talking about some sort if no-kernel situation, or at least parts of the stack living in-kernel (which would have surprised me), certainly not running in userland, much less in a VM and even much less on a VPS. The title is ridiculous.
- pknopf 8y agoI think he means "native", as in native to the host (regardless if it's virtualized or not).
- detaro 8y agoCalling VMs/VPS bare metal is unusual from what I see.
- tyingq 8y agoThere is a sort of "in between" use of the term for a VPS that doesn't share the underlying real server with any other VPS instances. Like these: https://www.scaleway.com/baremetal-cloud-servers/ https://www.scaleway.com/baremetal-cloud-servers/ That's pushing it a little for me. Certainly calling a regular VPS bare metal is silly.
- detaro 8y agoThe page you link claims that there is no hypervisor running, so it's not a VM, but "true" Bare Metal.
- tyingq 8y agoI wonder if it's a single container, running your OS on top of theirs then. I don't see how their API would work sans both a VM and containers. Unless maybe they are supplying a fixed set of tweaked distributions.
- detaro 8y agoI don't know their specific setup, but Bare Metal providers generally either netboot your image, or netboot something that copies your image to local disk, and then reboot into it. That can be automated quite far, the biggest issue is having a hardware platform that can't be permanently compromised by the running OS (e.g. on a typical x86 system, the OS could reflash the BIOS or firmware of other components)
- jdwithit 8y agoI agree with you. Bare metal to me always implies, well, actual physical servers made out of metal :) A better title might have been "Kubernetes Without a Cloud" or "Kubernetes on-premise". Since what the author is trying to recreate is all the ancillary services that are there for the taking when you run in a cloud provider. Load balancing, storage, cert management, firewall rules, all fronted by easy to consume API's. Which are the actual hard part of setting up a functional k8s cluster.
- davedx 8y agoBut he talks about VPS, that’s not on-premise. This article mangles its definitions
- bryanlarsen 8y agoBare metal is a valid title for this article because his instructions wouldn't change if it actually was bare metal.
- fooblat 8y agoI don't disagree with your statement but I would have expected an article with "bare metal" in the title to cover some of the unique issues associated with bare metal. Like measuring, planning, and managing capacity.
- bryanlarsen 8y agoIn my (perhaps unique) experience measuring planning & managing capacity is more of a problem when using VPS's. Bare metal has so much more capacity per node than small VPS's that the minimum 3 node cluster will handle a few hundred small sites before hitting any sort of limit. So why bother measuring. :)
- fooblat 8y agoIn my experience, adding more VMs when capacity is needed is trivial to automate on a platform like AWS. With real physical machines it takes advanced planning and actual physical work to deploy more machines. Even with a managed hosting provider there is work to do to automate the provisioning.
- bryanlarsen 8y agoAdding a new bare metal machine or a new VM to the setup in the original article is exactly the same amount of work, automated or not.
- fooblat 8y agoHow so? If I need a new VM I just click (or make an api call) and it's almost instantly ready to go. If I want a new physical server I have to order it and get it delivered to my cage and then have someone rack and wire it before I can even start provisioning. There is a lot more involved in the second case.
- LogicX 8y agoI also was confused about the title - expected to see an article about spinning up a cluster in Packet.net
- borplk 8y agoIn modern "cloud" terminology bare metal means "no virtualisation" AFAIK.
- namidark 8y agoI used bare metal to combine both bare VPS providers and regular hardware -- basically anything without 'cloudy' options (ie: VPCs, ELBs, etc)
- spectrox 8y agoI think "self-hosted" would be the right term.
- chefgoldbluum 8y agoI used Kubespray on Container Linux with Calico. Maybe I got lucky but I had it working perfectly almost first try. I think I needed to handle like one error in the entire Ansible playbook.
- bryanlarsen 8y agoAgreed, I've set up about 6 different clusters using kubespray and never had any issues. Kubeadm is nice for dev clusters but there are still a bunch of hoops you have to jump through to set up an HA cluster using kubeadm.
- androidgirl 8y agoThanks for this reccomendation! I just checked out the repo and this looks really interesting, I'll have to try it out.
- kahlonel 8y agoSlightly off topic, but I feel like calling an internet server running an OS "bare-metal" is a disgrace to what "bare-metal" originally and historically referred to, i.e. computer hardware without any OS. Maybe IaaS providers are running out of creative names that they are now polluting other techs' namespace?
- ur-whale 8y agoThe younger you are, the higher up you operate in the pile of layers that modern computing has become, with little to no understanding of what's beneath.
- haolez 8y agoThat's a little unfair. The article shows options to run on "real" bare-metal hardware, but the same tools will work on cloud instances as well.
- anothergoogler 8y agoWhile real hardware has metal, that's not what bare metal means.
- orev 8y agoTo me, bare metal has meant running on an OS that’s directly on the hardware, instead of a virtual machine. However, I can see your point about what it could mean (i.e. the software itself is compiled to directly run on the hardware with no OS), but I’m struggling to think of a time when anything worked like that. You have to go really, really far back in history to apply that definition to general purpose computing systems. I’m left thinking that it would only really apply to embedded systems and hardware controllers, and many of those now even have some kind of micro-os that runs on them.
- anothergoogler 8y agoNot virtualized doesn't mean bare metal. I think the term would make more sense to you if you worked through "Linux from Scratch." There are things between embedded and running a full Linux OS.
- buttersbrian 8y agoWhat's the best approach for on-premise k8 clusters?