TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kind - run local Kubernetes clusters using Docker

216 pointsby supdatecronabout 5 years ago

13 comments

PascalWabout 5 years ago
We recently used Kind for a k8s workshop. We provisioned a beefy cloud server and ran 15 3-node Kind clusters on it, so everyone had it&#x27;s own k8s instance without having to install anything locally. It worked absolutely great for this purpose.<p>I wrote some scripting around it so people can claim their own cluster via SSH. I&#x27;m planning to write a post about it soon and make the code available.
评论 #22605456 未加载
tofflosabout 5 years ago
I’ve tried minikube, microk8s, the one bundled with Docker Desktop for Windows, k3s and Red Hat CodeReady. Of these I had the best experience with Kind (by far) and the worst experience with CodeReady (also by far).<p>The thing I like most with Kind: Being inside Docker makes Kind very ephemeral. Every time I start it up I get a fresh cluster. I know where everything is and it doesn’t contaminate my machine.<p>Since some of the authors are on the thread I would like say thank you. I really appreciated the recent improvements to kubectl-integration and the addition of local storage.<p>In the future I would like it to be easier to play with pod and network policies, reduced cluster startup time and reduced node image sizes.<p>Keep up the good work!
评论 #22602868 未加载
raesene9about 5 years ago
I&#x27;m a great fan of kind, it&#x27;s made my life so much easier for a couple of use cases.<p>1) I run a training course on container security. We moved from using straight kubeadm on the student&#x27;s VMs to using kind clusters. the advantage here being we can customize different clusters for different scenarios by providing a kind config file on start-up. We can also have multiple clusters running on a single VM easily with no interferance between them.<p>2) when evaluating software or trying out a feature, it&#x27;s really nice to be able to spin up a test cluster in &lt; 2 minutes and try it out, then it&#x27;s just &quot;kind delete cluster&quot; to get rid of it again.<p>when I compare it to other options (e.g. minikube, microk8s etc) it subjectively feels less &quot;magic&quot; to me, in that it&#x27;s just one or more Docker containers, running kubeadm, so as long as you understand those two things, you can get a picture of what&#x27;s going on.
e12eabout 5 years ago
I&#x27;ve recently started prototyping our move to k8s - and my recommendation is stay away from minikube, k3s and kind. Kind looks the best on paper. But canonical has done great with <a href="https:&#x2F;&#x2F;microk8s.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;microk8s.io&#x2F;</a><p>I&#x27;d love to hear why anyone preferes any other solution for local development&#x2F;experimentation.
评论 #22599580 未加载
评论 #22600718 未加载
评论 #22599472 未加载
评论 #22601423 未加载
评论 #22602069 未加载
评论 #22601873 未加载
评论 #22602772 未加载
评论 #22603582 未加载
评论 #22599301 未加载
amoloabout 5 years ago
So does this mean you can run containers in containers orchestrating other containers. Containers must really be the holy grail of serverless and cloud &quot;nativeness&quot;.
评论 #22601984 未加载
评论 #22604401 未加载
moondevabout 5 years ago
kind is incredible. It&#x27;s the best option for local multi-node clusters and very fast. No hypervisor needed, only docker.
评论 #22599857 未加载
评论 #22601669 未加载
alexellisukabout 5 years ago
I like KinD, but find k3s much faster to bootstrap and lighter-weight too. Rancher have gone GA with it and provide commercial support, Darren Shepherd also tracks the latest k8s release very closely.<p>Linux -&gt; k3s (build a cluster or single node via <a href="https:&#x2F;&#x2F;k3sup.dev" rel="nofollow">https:&#x2F;&#x2F;k3sup.dev</a>) MacOS&#x2F;Windows -&gt; k3s (runs k3s in a Docker container, and is super fast)<p>That said, if you&#x27;re hacking on K8s code, then KinD has nice features to support that workflow. KinD is only suitable for dev, k3s can run in prod also, try both, compare. They are both easy to use.
评论 #22603193 未加载
dr01dabout 5 years ago
Used kind + skaffold for 6 months and it was pretty solid. However, eventually switched to k3d and tilt and feeling like this combo is amazing. Cluster takes 2 seconds to create now.
评论 #22606256 未加载
MrBuddyCasinoabout 5 years ago
Kind has been a godsend for me. When you&#x27;ve got a 16Gb MBP with both Docker and K8S running, re-using the Docker virtual machine makes a big difference in memory and CPU usage. Thanks to the team!
monusabout 5 years ago
I really wanted to use kind but the fact that it loses all the data after restart&#x2F;sleep of computer keeps me from using it.<p>I’m developing Kubernetes controllers and the Custom Resources represent the bits of cloud infrastructure ( <a href="https:&#x2F;&#x2F;crossplane.io" rel="nofollow">https:&#x2F;&#x2F;crossplane.io</a> ). So when I lose the kind cluster, I have to go and delete each and every resource in AWS :( I am unhappily forced to use minikube until support comes to kind.
评论 #22613891 未加载
dickeytkabout 5 years ago
what are the advantages over minikube?
评论 #22601912 未加载
评论 #22599796 未加载
评论 #22599669 未加载
评论 #22599240 未加载
评论 #22598740 未加载
评论 #22598859 未加载
评论 #22600013 未加载
malkiaabout 5 years ago
As a chromebook user with crostini, I&#x27;m wondering if this is going to work for me - as neither k3s, nor minikube, or minishift did (due to limitations in crostini).
评论 #22600943 未加载
评论 #22600270 未加载
AdamGibbinsabout 5 years ago
Be warned, Kind is incredibly heavy weight. It wants over 8GB on my laptop just to start, and pins cores for 10 minutes.
评论 #22599593 未加载
评论 #22602896 未加载
评论 #22599988 未加载
评论 #22599308 未加载