

从上图可以看出什么来吗?
kind,kubernetes in docker。kind基于 Docker 而不是虚拟化(对比Minikube),不是打包一个虚拟化镜像,而是直接将k8s 组件运行在 Docker。
带来了什么好处呢?
- 不需要运行 GuestOS 占用资源更低。
- 不基于虚拟化技术,可以在 VM 中使用。
- 文件更小,更利于移植。
NOTE:
kinddoes not require kubectl,but you will not be able to perform some of the examples in our docs without it。
kubectl:The Kubernetes command-line tool,allows you to run commands against Kubernetes clusters。You can use kubectl to deploy applications,inspect and manage cluster resources,and view logs。
继续上kind的运行架构图,加深理解

本文介绍了如何使用Docker快速搭建Kind(Kubernetes in Docker)环境,Kind不依赖虚拟化技术,降低了资源占用,便于移植。通过更换国内Docker源、安装Docker、kubectl和Kind,一步步教你创建单节点Kubernetes集群。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



