Data Browser for etcd3
For a high-level view of why data browsers are available on Compose, and a full list of deployment types they are available on: Compose Deployments - Data Browsers.
Overview
The data browser on etcd provides access to parts of the etcd API from inside the Compose Console. It's a web accessible alternative to using etcdctl
Keys
The top level view is a listing of keys in the datastore along with their values. The first time you use it, or whenever you have an empty key space, you'll see this:

The Keys View with no keys.
This is the Keys view.
To put a key into the keyspace, click on Put key on the right. You'll be taken to the New Key view. In the two fields in the virtual command line, enter the key and the value:

The New Key view
Then click the Run button the run the virtual command. This will take you to the Key View:

The Key view.
Here you can edit the value of the newly created key - its name is displayed at the top of the form. Below that is the value field which you can edit and then click Set value to apply that value. The key can also be deleted by clicking the Delete button on the right. Otherwise, return to the Keys view by clicking the Keys link to the left of the key name.

The Keys View with foo
Now the Keys view shows our new key and value; lease id and time to live are also shown in this view, but cannot currently be set. To edit our key, just click on the key name in the list. You'll be taken to the Key View to edit the key's value or delete it.
If we add some more keys to the view, we can demonstrate the from and to fields.

Keys View with more keys
Here are some more keys. The keys found are determined by the values that, lexographically, are greater than or equal to the from field and less than the to field. If we wanted to focus on the "b" keys we could enter a range of from b
to c
to match just the keys starting with "b".

Keys View with a range
The --limit
parameter simply lets you decide how many entries from the specified range should be displayed.
Still Need Help?
If this article didn't solve things, summon a human and get some help.
Updated over 3 years ago