kubernetes
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKubernetes Local Development with KIND
使用KIND进行Kubernetes本地开发
KIND Installation and Setup
KIND的安装与配置
KIND (Kubernetes IN Docker) is a tool for running local Kubernetes clusters using Docker containers as nodes. It's designed for testing Kubernetes applications locally.
IMPORTANT: Before you proceed with installation, make sure you have docker installed locally.
KIND(Kubernetes IN Docker)是一款使用Docker容器作为节点来运行本地Kubernetes集群的工具,专为本地测试Kubernetes应用而设计。
重要提示:在开始安装前,请确保你已在本地安装了Docker。
Installation
安装
To install KIND on a Debian/Ubuntu system:
bash
undefined在Debian/Ubuntu系统上安装KIND:
bash
undefinedDownload KIND binary
Download KIND binary
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
Make it executable
Make it executable
chmod +x ./kind
chmod +x ./kind
Move to a directory in your PATH
Move to a directory in your PATH
sudo mv ./kind /usr/local/bin/
To install kubectl:
```bashsudo mv ./kind /usr/local/bin/
安装kubectl:
```bashDownload kubectl
Download kubectl
Make it executable
Make it executable
chmod +x kubectl
chmod +x kubectl
Move to a directory in your PATH
Move to a directory in your PATH
sudo mv ./kubectl /usr/local/bin/
undefinedsudo mv ./kubectl /usr/local/bin/
undefinedCreating a Cluster
创建集群
Create a basic KIND cluster:
bash
kind create cluster创建一个基础的KIND集群:
bash
kind create cluster