Skip to content

Commit

Permalink
fix(docs): fix join command description
Browse files Browse the repository at this point in the history
  • Loading branch information
JacieChao authored and Jason-ZW committed Apr 2, 2021
1 parent 255795a commit 9a646f9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 47 deletions.
16 changes: 1 addition & 15 deletions docs/i18n/en_us/alibaba/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Alibaba Provider

English / [简体中文](https://github.com/cnrancher/autok3s/blob/master/docs/i18n/zh_cn/alibaba/README.md)

## Introduction

This article provides users with the instructions to create and launch a K3s cluster on an Alibaba ECS instance, and to add nodes for an existing K3s cluster on Alibaba ECS instance. In additon, this article provides guidance of advanced usages of running K3s on Alibaba ECS, such as setting up private registry, enabling Alibaba Terway CNI, enabling Alibaba CCM, and enabling UI components.
Expand Down Expand Up @@ -179,20 +177,8 @@ autok3s -d join --provider alibaba --name myk3s --worker 1

The commands to add one or more nodes for an existing HA K3s cluster varies based on the types of HA cluster. Please choose one of the following commands to run.

#### Embedded etcd

Run the command below, to add 2 master nodes for an Embedded etcd HA cluster(embedded etcd: >= 1.19.1-k3s1).

```bash
autok3s -d join --provider alibaba --name myk3s --master 2
```

#### External Database

Run the command below, to add 2 master nodes for an HA cluster with external database, you will need to fill in `--datastore "PATH"` as well.

```bash
autok3s -d join --provider alibaba --name myk3s --master 2 --datastore "mysql://<user>:<password>@tcp(<ip>:<port>)/<db>"
autok3s -d join --provider alibaba --name myk3s --master 2 --worker 1
```

## Delete K3s Cluster
Expand Down
16 changes: 1 addition & 15 deletions docs/i18n/en_us/aws/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# AWS Provider

English / [简体中文](https://github.com/cnrancher/autok3s/blob/master/docs/i18n/zh_cn/aws/README.md)

## Introduction

This article provides users with the instructions to create and launch a K3s cluster on an AWS EC2 instance, and to add nodes for an existing K3s cluster on AWS EC2 instance. In additon, this article provides guidance of advanced usages of running K3s on AWS EC2, such as setting up private registry, enabling AWS CCM, and enabling UI components.
Expand Down Expand Up @@ -135,20 +133,8 @@ autok3s -d join --provider aws --name myk3s --worker 1

The commands to add one or more nodes for an existing HA K3s cluster varies based on the types of HA cluster. Please choose one of the following commands to run.

#### Embedded etcd

Run the command below, to add 2 master nodes for an Embedded etcd HA cluster(embedded etcd: >= 1.19.1-k3s1).

```bash
autok3s -d join --provider aws --name myk3s --master 2
```

#### External Database

Run the command below, to add 2 master nodes for an HA cluster with external database, you will need to fill in `--datastore "PATH"` as well.

```bash
autok3s -d join --provider aws --name myk3s --master 2 --datastore "mysql://<user>:<password>@tcp(<ip>:<port>)/<db>"
autok3s -d join --provider aws --name myk3s --master 2 --worker 1
```

## Delete K3s Cluster
Expand Down
2 changes: 0 additions & 2 deletions docs/i18n/en_us/native/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Native Provider

English / [简体中文](https://github.com/cnrancher/autok3s/blob/master/docs/i18n/zh_cn/native/README.md)

## Introduction

This article provides users with the instructions to create and launch a K3s cluster on a virtual machine(VM), and to add nodes for an existing K3s cluster on the VM. In additon, this article provides guidance of advanced usages of running K3s on VM, such as setting up private registry, and enabling UI components.
Expand Down
16 changes: 1 addition & 15 deletions docs/i18n/en_us/tencent/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Tencent Provider

English / [简体中文](https://github.com/cnrancher/autok3s/blob/master/docs/i18n/zh_cn/tencent/README.md)

## Introduction

This article provides users with the instructions to create and launch a K3s cluster on an Tencent CVM instance, and to add nodes for an existing K3s cluster on Tencent CVM instance. In additon, this article provides guidance of advanced usages of running K3s on Tencent CVM, such as setting up private registry, enabling Tencent CCM, and enabling UI components.
Expand Down Expand Up @@ -148,20 +146,8 @@ autok3s -d join --provider tencent --name myk3s --worker 1

The commands to add one or more nodes for an existing HA K3s cluster varies based on the types of HA cluster. Please choose one of the following commands to run.

#### Embedded etcd

Run the command below, to add 2 master nodes for an Embedded etcd HA cluster(embedded etcd: >= 1.19.1-k3s1).

```bash
autok3s -d join --provider tencent --name myk3s --master 2
```

#### External Database

Run the command below, to add 2 master nodes for an HA cluster with external database, you will need to fill in `--datastore "PATH"` as well.

```bash
autok3s -d join --provider tencent --name myk3s --master 2 --datastore "mysql://<user>:<password>@tcp(<ip>:<port>)/<db>"
autok3s -d join --provider tencent --name myk3s --master 2 --worker 1
```

## Delete K3s Cluster
Expand Down

0 comments on commit 9a646f9

Please sign in to comment.