10 Jun 2019 通过kind部署istio

2023-10-17 10:45:53 浏览数 (1)

需要提前部署好kind和helm。

kind的安装

代码语言:javascript复制
$ apt install golang-go
$ apt install docker.io
$ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
$ chmod  x kubectl
$ mv kubectl /usr/local/bin/
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
$ wget -O /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.3.0/kind-linux-amd64 && chmod  x /usr/local/bin/kind

使用kind创建kubernetes集群:

代码语言:javascript复制
$ kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.14.2) 


	

0 人点赞