Deploy etcd on KubeSphere

    This tutorial walks you through an example of deploying etcd from the App Store of KubeSphere.

    Hands-on Lab

    1. On the Overview page of the project demo-project, click App Store in the upper-left corner.

    2. Find etcd and click Install on the App Information page.

    3. Set a name and select an app version. Make sure etcd is deployed in and click Next.

    4. Note

      To specify more values for etcd, use the toggle switch to see the app’s manifest in YAML format and edit its configurations.

    5. In Template-Based Apps of the Apps page, wait until etcd is up and running.

    Step 2: Access the etcd service

    After the app is deployed, you can use etcdctl, a command-line tool for interacting with the etcd server, to access etcd on the KubeSphere console directly.

    1. Under Pods, expand the menu to see container details, and then click the Terminal icon.

    2. In the terminal, you can read and write data directly. For example, execute the following two commands respectively.

      1. etcdctl get /name
    3. For clients within the KubeSphere cluster, the etcd service can be accessed through <app name>.<project name>.svc.<K8s domain>:2379 (for example, in this guide).

    4. For more information, see .