网页 综合 更新时间 2026-11-14 02:13:31

Learning environment | Kubernetes

自动蜘蛛 kubernetes.io 正文约 2685 字
Learning environment | Kubernetes
If you are learning Kubernetes, you need a place to practice. This page explains your options for setting up a Kubernetes environment where you can experiment and learn.
Before you set up a cluster, you need the kubectl command-line tool. This tool lets you communicate with a Kubernetes cluster and run commands against it.
See Install and Set Up kubectl for installation instructions.
Running Kubernetes locally gives you a safe environment to learn and experiment. You can set up and tear down clusters without worrying about costs or affecting production systems.
kind (Kubernetes IN Docker) runs Kubernetes clusters using Docker containers as nodes. It is lightweight and designed specifically for testing Kubernetes itself, but works great for learning too.
To get started with kind, see the kind Quick Start.
minikube runs a single-node Kubernetes cluster on your local machine. It supports multiple container runtimes and works on Linux, macOS, and Windows.
To get started with minikube, see the minikube Get Started guide.
There are several third-party tools that can also run Kubernetes locally. Kubernetes does not provide support for these tools, but they may work well for your learning needs:
Refer to each tool's documentation for setup instructions and support.
Online Kubernetes playgrounds let you try Kubernetes without installing anything on your computer. These environments run in your web browser:
These platforms are useful for quick experiments and following tutorials without local setup.
If you want to practice setting up a more production-like cluster, you can use kubeadm. Setting up a cluster with kubeadm is an advanced task that requires multiple machines (physical or virtual) and careful configuration.
For learning about production environments, see Production environment.
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub Repository if you want to report a problem or suggest an improvement.
Items on this page refer to third party products or projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. See the CNCF website guidelines for more details.
You should read the content guide before proposing a change that adds an extra third-party link.
© 2026 The Kubernetes Authors | Documentation Distributed under CC BY 4.0
© 2026 Copyright © Kubernetes a Series of LF Projects, LLC. For website terms of use, trademark policy and other project policies please see https://lfprojects.org/policies/
ICP license: 京ICP备17074266号-3
访问原文 返回搜索 https://kubernetes.io/docs/setup/learning-environment/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。