kubernetes

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Kubernetes 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
undefined

Download KIND binary

Download KIND binary

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:

```bash
sudo mv ./kind /usr/local/bin/

安装kubectl:

```bash

Download 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/
undefined
sudo mv ./kubectl /usr/local/bin/
undefined

Creating a Cluster

创建集群

Create a basic KIND cluster:
bash
kind create cluster
创建一个基础的KIND集群:
bash
kind create cluster