Talos: Linux Designed For Kubernetes

  Рет қаралды 25,944

DevOps Toolkit

DevOps Toolkit

Күн бұрын

Пікірлер: 68
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Did you try Talos? Did you consider using it? IMPORTANT: For reasons I do not comprehend (and Google support could not figure out), KZbin tends to delete comments that contain links. Please do not use them in your comments.
@rodrigito78
@rodrigito78 2 жыл бұрын
Rancher until now.. I'll take it for a spin.
@localho
@localho 2 жыл бұрын
I love Talos, it has been a great replacement for kubic and k0s
@m.sierra5258
@m.sierra5258 2 жыл бұрын
I tried it on local virtual machines. I'm kind of a beginner though, and failed on two points: - wasn't able to set up nfs storage class (due to an os dependency missing, and being constant in nature I cannot install it) - wasn't able to set up a load balancer for external access to my apps (due to being a beginner, probably) Switched to k3s for now until I have more experience. Cool project, though.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
@@m.sierra5258 I don't think there is a good use case that would justify Talos as a solution for local Kubernetes clusters, and questionable value as a replacement for managed k8s. It shines (or could shine) as a solution for self-managed Kubernetes (e.g., on-prem or those who do not want managed k8s services). That being said, storage and load balancers are painful to setup, no matter the self-managed solution one chooses. Those are one of the reasons I prefer managed k8s. It works out-of-the-box.
@m.sierra5258
@m.sierra5258 2 жыл бұрын
@@DevOpsToolkit thanks, appreciate the advice :)
@swissrock1492
@swissrock1492 Ай бұрын
Thanks for another great video. I’m trying Talos on my Homelab. Love it so far.
@DevOpsToolkit
@DevOpsToolkit Ай бұрын
Thanks a ton for the donation.
@SideroLabs
@SideroLabs 2 жыл бұрын
Appreciate the Video! Completely correct about the documentation - it's being worked on as a priority now! (And PRs appreciated!)
@AP-lh1bq
@AP-lh1bq 2 жыл бұрын
We have been using Talos our environment with 100+ workers for about a year and it's solved some pretty big problems we had with kubespray-deployed clusters.
@soubinan
@soubinan 2 жыл бұрын
Great! I was waiting for this one :) You are the best!
@maxreuv
@maxreuv 2 жыл бұрын
This video is an instant keeper. Thank you!
@srgpip
@srgpip 2 жыл бұрын
Thanks for another great presentation Viktor. Many moons ago I was involved working with Openshift running on Fedora Atomic Linux. It seemed like a great idea at the time until it wasn't! The very thing it achieved security, read-only filesystem etc ended up causing a fair amount of frustration amongst those assigned to manage it. Having said that we was all finding our k8s wings back then ;-) I personally ended up settling on KOPS after employing a myriad of different day 1 deployment options, but will definitely take Talos for spin in my scratch environment.
@michalisfotiadis4966
@michalisfotiadis4966 2 жыл бұрын
stumbled upon talon back in 20.0 when they released 0.7, the idea and the project are really cool, I am planning to use it for my home lab project. Can't wait to see what they will do when they reach 1.0.0
@SideroLabs
@SideroLabs 2 жыл бұрын
1.0.0 should be coming out this week, so you won't have to wait long!
@Camerontainium
@Camerontainium 2 жыл бұрын
The pros of Talos reminded me of NixOS, but once you go into using the OS... Slick!
@valour.se47
@valour.se47 2 жыл бұрын
I like the overlay cli screen .
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Thanks
@Alberto-pg4zy
@Alberto-pg4zy 2 жыл бұрын
Very cool! Like CoreOS but it lacks of developing crd in order to expand kubernetes API and create objects like machineset and machineconfig to create nodes. Great video!!!! (As always!!!)
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
True. No Cluster API or anything similar that would allow us to manage hardware as well.
@SideroLabs
@SideroLabs 2 жыл бұрын
@@DevOpsToolkit That is exactly what Sidero Metal does - it's a cluster API provider for bare metal that manages the complete hardware/K8s lifecycle...
@wollginator
@wollginator 2 жыл бұрын
Actually there is a Talos Provider for Cluster API, I'm currently testing it myself
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
@@wollginator That's great to know. I wasn't aware of it.
@michalisfotiadis4966
@michalisfotiadis4966 2 жыл бұрын
Hey Viktor, I would love to see you create a video about Grafana Labs' Tanka. What are your thoughts about it and comparing it to Helm and Kustomize
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Good idea. Adding it to my TODO list... :)
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Done: kzbin.info/www/bejne/Y6LTlKaLjaqfj8U
@m19mesoto
@m19mesoto 2 жыл бұрын
I am using RKE to bootstrap Kubernetes Clusters, is not using kubeadm or any of those + it has good terraform provider.
@zenmaster24
@zenmaster24 2 жыл бұрын
12:29 is it a bit disingenuous to say you are not doing anything except creating a new node and it's intelligent enough to join the cluster, when you are passing in worker.yaml as the userdata? all the logic for adding the node to the cluster will be in that file.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
You're right. I should have been clearer on that one.
@jerickslair
@jerickslair 2 ай бұрын
I love Talos!!!!
@ksaittis8516
@ksaittis8516 2 жыл бұрын
I personally use kops for k8s cluster creations and I have created quite a few clusters so far with kops. Very convenient and product keeps improving over time. This one looks too much manual work to be honest. Kops even supports templates using the go template, very similar to helm, which makes provisioning multiple clusters consistent and easy. Also comes with addons, if you dont want to install certmanager, ingress controller, metric server ....
@javisartdesign
@javisartdesign 2 жыл бұрын
Thanks. Talos could be great for Kubenetes on the Edge clusters... Harvester from Rancher uses K3OS that is a very tiny Linux distribution used basically for kubernetes.
@rodrigito78
@rodrigito78 2 жыл бұрын
I dont see the advantages of Talos over K3OS which is more mature. That ISO is up to 500MB already, indicative of its maturity. Talos is tiny (~ 70MB ) because there isn't much in it yet. So a bit like reinventing what is already out there, but their approach appears to be creating a control node where fleet of servers running Taloa can be managed from.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
K3os is abandoned with the last release made over a year ago. Talos is tiny by design. It's meant to have only what is really needed to run Kubernetes as opposed to "traditional" operating systems. That is not an indication of maturity but a design choice.
@lamnot.
@lamnot. Жыл бұрын
@DevOpsToolkit So ClusterAPI, Crossplane and Talos seem like a likely combination for an IDP PaaS? CAPI can bootstrap Crossplane, and then Crossplane can bootstrap Talos, wouldn't this become a golden path to an IDP/PaaS?
@DevOpsToolkit
@DevOpsToolkit Жыл бұрын
I'm not sure that you need capi to bootstrap crossplane. Talos could become one of crossplane providers though.
@lamnot.
@lamnot. Жыл бұрын
@@DevOpsToolkit Yes, I concur.
@fenarRH
@fenarRH 2 жыл бұрын
You have skipped ROSA (ocp on aws fully managed: masters and workers) and ARO (ocp on azure fully managed: masters and workers) that comes with CoreOS as hostOS .
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Indeed. That video is focused only on Talos. One of these days, I should do videos on those as well.
@rezanaipospos3320
@rezanaipospos3320 2 жыл бұрын
what if i already have cluster, can i join my cluster to talos? or can we mix to that?
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
My best guess is that you cannot do that, but I haven't tried that scenario so I might be wrong.
@bartekr5372
@bartekr5372 2 жыл бұрын
Victor, did you tried doks_debug ?? :)
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Talos is an in-memory OS. When upgrading, it switches from one in-memory to another in-memory OS. I haven't (yet) tried doks_debug :(
@rodrigito78
@rodrigito78 2 жыл бұрын
How is Telos different from K3OS ?
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
K3os is mostly abandoned. The last commit was pushed over a year ago.
@JobStoit
@JobStoit 2 жыл бұрын
Sounds very similar to openSuse's KubicOS exept that doesnt have a cool, talosctl
@rodrigito78
@rodrigito78 2 жыл бұрын
k3sup accomplishes the same. Actually this is a combination of k3sup and K3OS. Could you elaborate on the differences between Talos and K3OS ?
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
They're different. K3sup bootstraps Kubernetes on top of an OS while Talos is an OS with Kubernetes baked in.
@rodrigito78
@rodrigito78 2 жыл бұрын
@@DevOpsToolkit slight tradeoffs. Will take it for a spin. Thanks for sharing it.
@andrewrynhard1926
@andrewrynhard1926 2 жыл бұрын
@@rodrigito78 I am curious as to why you consider the tradeoffs "slight." (Wondering what we can do better).
@rodrigito78
@rodrigito78 2 жыл бұрын
@@andrewrynhard1926 giving up access to the underlying OS is one major tradeoff. Another would be having the ability to install agents and shipping system logs to a central syslog server (mandatory in highly regulated environments on-prem envs). But this is definitely next level immutable approach to K8s, for sure. Toil does shift a bit from using conf mgmt (Ansible) to managing OS images as code using Packer and whatever provisioner. Any progress on Longhorn ? Can you elaborate how Talos differs from K3OS? Is it the control node where talosctl runs and management talos fleet?
@rodrigocc_rata
@rodrigocc_rata 2 жыл бұрын
What is that mentioned that it runs on me? Does it ONLY run on me? Really? It seems quite weird
@andrewrynhard1926
@andrewrynhard1926 2 жыл бұрын
Not sure I follow what you mean by 'me'.
@rodrigocc_rata
@rodrigocc_rata 2 жыл бұрын
@@andrewrynhard1926 heh, sorry, phone autocorrect. It was mem, that it runs on RAM
@andrewrynhard1926
@andrewrynhard1926 2 жыл бұрын
@@rodrigocc_rata Ah gotcha. Talos is a ~40mb squashfs and is unpacked in RAM. The core of Talos is all reproducible so it can be "ephemeral". There is one partition in Talos where data survives reboots and that is mounted at /var. On upgrades we wipe the disk entirely so we call the partition "EPHEMERAL". In this partition is where etcd, containerd, and Kubernetes store their data. Does that help?
@rodrigocc_rata
@rodrigocc_rata 2 жыл бұрын
@@andrewrynhard1926 yes, thanks! So, you got me more curious now. Two more questions if you don't mind: * How does Talos boots again if I reboot/power outage or something? Do I need to ipxe boot all the time? Or boot from a pendrive? * How do you upgrade? Do you reboot and start a new version of Talos or just do it without reboot?
@andrewrynhard1926
@andrewrynhard1926 2 жыл бұрын
@@rodrigocc_rata Good question. We still have a boot loader (grub). Talos is just a vmlinuz + initramfs.xz. So I suppose we still have another persistent partition but that is for the boot loader. We do have yet another partition that is writable but it is only for configuration of Talos itself.
@jurgen9568
@jurgen9568 2 жыл бұрын
Meh. No ingress, no volumes. Not much of an improvement. The base install of kubernetes is easy.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
That's the problem that all similar tools designed to be on-prem first are facing. Since you do not know what the underlying infra is, you can it design the solution that works everywhere. That's why managed Kubernetes solution give much better first-rin experience. That being said, Talos should do better on that front. Since it uses images already created for specific vendors, those images should have basics like ingress and storage drivers baked in. The similar situation is with, let's say, Rancher RKE. It does not come with those either, and it should. So yeah, I agree with you. The first-rin experience should include more stuff instead of keeping them as addons.
@jurgen9568
@jurgen9568 2 жыл бұрын
@@DevOpsToolkit over the last couple of days Ive been trying to install kubernetes on bare metal and I still dont have a solution for volumes. Kubernetes itself has nothing out-of-the-box. So now Im looking into gluster. And to get the loadbalancing to work I had to get help from a github issue that told me to add a config on line 500 or so of some yaml file I needed to run. This stuff needs to be easier.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
@@jurgen9568 I agree. It definitely needs to get easier, especially now that we experienced how good it can be when using managed Kubernetes services like GKE, EKS, AKS, etc.
@michalisfotiadis4966
@michalisfotiadis4966 2 жыл бұрын
@@jurgen9568 For storage you could take a look at Rook, LongHorn or OpernEBS, they manage replication of volumes across the kunernetes node and more.
@redseb99
@redseb99 2 жыл бұрын
@@jurgen9568 We used to have GlusterFS and it was always a pain. Switched to a professionell NetApp Storage solution with NFS volumes which also offers CSI via Trident. That was much more stable. Rook and Longhorn sound interesting but I haven't had a look yet
Monitoring, Logging, And Alerting In Kubernetes
22:07
DevOps Toolkit
Рет қаралды 31 М.
Running Event-Driven Pub/Sub Microservices In Kubernetes With Dapr
24:25
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Talos Linux - The Best OS For Kubernetes
23:43
Mircea Anton
Рет қаралды 10 М.
How to install Tailscale on Talos Linux
13:45
Sidero Labs
Рет қаралды 5 М.
How Autoscaling Works In Kubernetes (And Beyond)? Kubernetes Tutorial
30:55
Talos OS - Taking the Sting Out of Kubernetes Deployments
19:49
Jim's Garage
Рет қаралды 16 М.
Building a Bare Metal Platform with Talos
36:44
Sidero Labs
Рет қаралды 1,9 М.
Kubernetes home lab on an old computer
15:45
Sidero Labs
Рет қаралды 65 М.
KubeVirt on Talos Linux
44:06
Sidero Labs
Рет қаралды 2,2 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.