What are you using to replace etcd here? Where is state stored?
They implemented a store in TypeScript: https://github.com/ngrok/webernetes/blob/main/src/cluster/st... etcd is not a requirement of k8s, plenty of clusters out there use non-etcd stores. E.g. k3s/k3d can use sqlite, all of the big cloud providers use their own in-house datastores instead of etcd.
I ported Kubernetes to the browser
81–90 of 110 posts
Re: I ported Kubernetes to the browser
#82Investing early in this hn post before it’s a banger. Instant classic
Re: I ported Kubernetes to the browser
#83Re: I ported Kubernetes to the browser
#84As SRE, Deployment, Replica Sets and Services are generally the easy part. The hard part which he noted: >Right now, it doesn’t support ConfigMaps, Secrets, pod resources, persistent volumes, and a whole host of other things I haven’t needed yet. As I make more content with this library, I’ll implement more of what I need. Yea, this is initial start to the madness followed by Ingress Controller and all little weird c…
Re: I ported Kubernetes to the browser
#85As someone who loves teaching and building this can be very useful For example i built this https://kubernetes-made-simple.vercel.app/ Now i can add this
What’s one thing most people get wrong about k8s that makes learning unnecessarily difficult?
Re: I ported Kubernetes to the browser
#86As someone who loves teaching and building this can be very useful For example i built this https://kubernetes-made-simple.vercel.app/ Now i can add this
Re: I ported Kubernetes to the browser
#87Won't comment on the product because not my cup of tea.
I'm team cli ftw :)
Re: I ported Kubernetes to the browser
#88Re: I ported Kubernetes to the browser
#89Earlier quoted context omitted.
I get your point. I will disagree that it "doesn't work". It does! You just can't use it for real production workloads since it runs in your browser. If you ported kubernetes to your toaster would it be a port? I think so, but you probably couldn't deploy prod on it. That's just a fun semantics conversation though. Is a taco a sandwich? :-)
Considering what kubernetes actually is - there's a fantastic use case if you really did port it to the browser. So when someone says they did it, I kinda expect that they literally ported that containerization logic to JavaScript. That would mean I could run an image of an OS like Linux in browser JavaScript. It's a wild thing, but that's what porting literally means! And what I expected with that title. Think of li…
Re: I ported Kubernetes to the browser
#90As someone who loves teaching and building this can be very useful For example i built this https://kubernetes-made-simple.vercel.app/ Now i can add this
Awesome site. What’s one thing most people get wrong about k8s that makes learning unnecessarily difficult?
Particularly storage.