Docs: K8s cluster adds RKE installation mode and is domestic user friendly. (#305)
* change edit url * change menu default status * Use absolute paths to navigate the roadmap * Docs: k8s cluster adds RKE installation mode and is domestic user friendly. Co-authored-by: barnettZQG <yiyun.pro>
This commit is contained in:
parent
b07f08bb41
commit
c80c1aade6
|
|
@ -22,6 +22,7 @@ className="unique-tabs"
|
|||
defaultValue="kind"
|
||||
values={[
|
||||
{label: 'Kind', value: 'kind'},
|
||||
{label: 'RKE', value: 'rke'},
|
||||
{label: 'Minikube', value: 'minikube'},
|
||||
{label: 'Cloud Provider', value: 'cloudprovider'},
|
||||
]}>
|
||||
|
|
@ -44,6 +45,38 @@ minikube addons enable ingress
|
|||
</details>
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="rke">
|
||||
|
||||
<b>(1)Install docker:</b>
|
||||
|
||||
The rke depend on docker, Follow the docker [installation guide](https://docs.docker.com/engine/install/).
|
||||
|
||||
<b>(2)Install rke:</b>
|
||||
|
||||
|
||||
Download rke binary from [rke release page](https://github.com/rancher/rke/releases).
|
||||
|
||||
If you have limited Internet access:
|
||||
```
|
||||
wget https://static.kubevela.net/binary/rke/rke_linux-amd64 -O /usr/bin/rke
|
||||
chmod +x /usr/bin/rke
|
||||
```
|
||||
|
||||
<b>(3)Install kubernetes cluster:</b>
|
||||
|
||||
```shell script
|
||||
mkdir ~/rkeinit && cd ~/rkeinit
|
||||
# Wizard-style configuration
|
||||
rke config
|
||||
# Kubernetes Cluster Installation
|
||||
rke up
|
||||
# Install kubectl Command
|
||||
mkdir ~/.kube
|
||||
cp kube_config_cluster.yml ~/.kube/config
|
||||
docker cp kubelet:/usr/local/bin/kubectl /usr/local/bin/kubectl
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="kind">
|
||||
|
||||
Follow [this guide](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) to install kind.
|
||||
|
|
@ -96,6 +129,15 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
|
|||
|
||||
## 2. Install KubeVela
|
||||
|
||||
Before install, you have to make sure the helm is available. Follow [this guide](https://helm.sh/docs/intro/install/) to install helm.
|
||||
|
||||
If you have limited Internet access
|
||||
|
||||
```shell script
|
||||
wget https://static.kubevela.net/binary/helm/helm-v3.7.0-linux-amd64 -O /usr/bin/helm
|
||||
chmod +x /usr/bin/helm
|
||||
```
|
||||
|
||||
1. Add and update helm chart repo for KubeVela
|
||||
```shell script
|
||||
helm repo add kubevela https://charts.kubevela.net/core
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ className="unique-tabs"
|
|||
defaultValue="kind"
|
||||
values={[
|
||||
{label: 'Kind', value: 'kind'},
|
||||
{label: 'RKE', value: 'rke'},
|
||||
{label: 'Minikube', value: 'minikube'},
|
||||
{label: 'Cloud Provider', value: 'cloudprovider'},
|
||||
]}>
|
||||
|
|
@ -43,6 +44,38 @@ minikube addons enable ingress
|
|||
</details>
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="rke">
|
||||
|
||||
<b>(1)安装 Docker (可选):</b>
|
||||
|
||||
RKE 的安装依赖于 Docker, 如未安装,请参考 [Docker 安装指南](https://docs.docker.com/engine/install/).
|
||||
|
||||
<b>(2)安装 RKE 命令行:</b>
|
||||
|
||||
|
||||
下载 RKE 二进制文件, [前往RKE Release页面](https://github.com/rancher/rke/releases).
|
||||
|
||||
如果你的网络受限无法下载(特别是中国用户),可直接使用下述方式安装:
|
||||
```
|
||||
wget https://static.kubevela.net/binary/rke/rke_linux-amd64 -O /usr/bin/rke
|
||||
chmod +x /usr/bin/rke
|
||||
```
|
||||
|
||||
<b>(3)安装 Kubernetes 集群:</b>
|
||||
|
||||
```shell script
|
||||
mkdir ~/rkeinit && cd ~/rkeinit
|
||||
# 引导式配置,可参考 [RKE集群配置说明文档](https://rancher.com/docs/rke/latest/en/example-yamls/)。
|
||||
rke config
|
||||
# 安装集群
|
||||
rke up
|
||||
# 安装 Kubectl 命令行工具
|
||||
mkdir ~/.kube
|
||||
cp kube_config_cluster.yml ~/.kube/config
|
||||
docker cp kubelet:/usr/local/bin/kubectl /usr/local/bin/kubectl
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="kind">
|
||||
|
||||
安装 [Kind 命令行工具](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)后,创建集群:
|
||||
|
|
@ -94,6 +127,16 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
|
|||
|
||||
## 2. 安装 KubeVela
|
||||
|
||||
在安装之前,请确保 helm 工具是可用的,如未安装,请参考 [安装说明](https://helm.sh/docs/intro/install/) 安装完成。
|
||||
|
||||
如果你的网络受限无法下载(特别是中国用户),可直接使用下述方式安装:
|
||||
|
||||
```shell script
|
||||
wget https://static.kubevela.net/binary/helm/helm-v3.7.0-linux-amd64 -O /usr/bin/helm
|
||||
chmod +x /usr/bin/helm
|
||||
```
|
||||
> 该安装方式仅适用于 linux-amd64
|
||||
|
||||
1. 添加并更新 KubeVela helm chart 仓库
|
||||
```shell script
|
||||
helm repo add kubevela https://charts.kubevela.net/core
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ className="unique-tabs"
|
|||
defaultValue="kind"
|
||||
values={[
|
||||
{label: 'Kind', value: 'kind'},
|
||||
{label: 'RKE', value: 'rke'},
|
||||
{label: 'Minikube', value: 'minikube'},
|
||||
{label: 'Cloud Provider', value: 'cloudprovider'},
|
||||
]}>
|
||||
|
|
@ -44,6 +45,38 @@ minikube addons enable ingress
|
|||
</details>
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="rke">
|
||||
|
||||
<b>(1)Install docker:</b>
|
||||
|
||||
The rke depend on docker, Follow the docker [installation guide](https://docs.docker.com/engine/install/).
|
||||
|
||||
<b>(2)Install rke:</b>
|
||||
|
||||
|
||||
Download rke binary from [rke release page](https://github.com/rancher/rke/releases).
|
||||
|
||||
If you have limited Internet access:
|
||||
```
|
||||
wget https://static.kubevela.net/binary/rke/rke_linux-amd64 -O /usr/bin/rke
|
||||
chmod +x /usr/bin/rke
|
||||
```
|
||||
|
||||
<b>(3)Install kubernetes cluster:</b>
|
||||
|
||||
```shell script
|
||||
mkdir ~/rkeinit && cd ~/rkeinit
|
||||
# Wizard-style configuration
|
||||
rke config
|
||||
# Kubernetes Cluster Installation
|
||||
rke up
|
||||
# Install kubectl Command
|
||||
mkdir ~/.kube
|
||||
cp kube_config_cluster.yml ~/.kube/config
|
||||
docker cp kubelet:/usr/local/bin/kubectl /usr/local/bin/kubectl
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="kind">
|
||||
|
||||
Follow [this guide](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) to install kind.
|
||||
|
|
@ -96,6 +129,15 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
|
|||
|
||||
## 2. Install KubeVela
|
||||
|
||||
Before install, you have to make sure the helm is available. Follow [this guide](https://helm.sh/docs/intro/install/) to install helm.
|
||||
|
||||
If you have limited Internet access
|
||||
|
||||
```shell script
|
||||
wget https://static.kubevela.net/binary/helm/helm-v3.7.0-linux-amd64 -O /usr/bin/helm
|
||||
chmod +x /usr/bin/helm
|
||||
```
|
||||
|
||||
1. Add and update helm chart repo for KubeVela
|
||||
```shell script
|
||||
helm repo add kubevela https://charts.kubevela.net/core
|
||||
|
|
|
|||
Loading…
Reference in New Issue