Skip to content

Commit

Permalink
add h2 header, issue etcd-io#790
Browse files Browse the repository at this point in the history
  • Loading branch information
reylejano committed Mar 19, 2024
1 parent 168b0ce commit 9638079
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/en/docs/v3.5/tutorials/how-to-access-etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ weight: 200

![02_etcdctl_access_etcd_2016051001](https://storage.googleapis.com/etcd/demo/02_etcdctl_access_etcd_2016051001.gif)

## Prerequisites

- [etcdctl](/docs/v3.5/dev-guide/interacting_v3/)

## Write to an etcd cluster

`put` command to write:

```shell
etcdctl --endpoints=$ENDPOINTS put foo "Hello World!"
```

## Read from an etcd cluster

`get` to read from etcd:

```shell
Expand Down
8 changes: 8 additions & 0 deletions content/en/docs/v3.6/tutorials/how-to-access-etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ weight: 200

![02_etcdctl_access_etcd_2016051001](https://storage.googleapis.com/etcd/demo/02_etcdctl_access_etcd_2016051001.gif)

## Prerequisites

- [etcdctl](/docs/v3.5/dev-guide/interacting_v3/)

## Write to an etcd cluster

`put` command to write:

```shell
etcdctl --endpoints=$ENDPOINTS put foo "Hello World!"
```

## Read from an etcd cluster

`get` to read from etcd:

```shell
Expand Down

0 comments on commit 9638079

Please sign in to comment.