Use the bash prompt block for example CLI command.
Separate command output from the CLI command.
Use the correct privileged bash prompt on an already
promptified example command, instead of an
unprivileged bash prompt.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
placement target. Compression can be disabled by setting the ``type`` to an
empty string or ``none``.
-For example::
+For example:
+
+.. prompt:: bash #
+
+ radosgw-admin zone placement modify --rgw-zone default \
+ --placement-id default-placement \
+ --storage-class STANDARD \
+ --compression zlib
+
+::
- $ radosgw-admin zone placement modify \
- --rgw-zone default \
- --placement-id default-placement \
- --storage-class STANDARD \
- --compression zlib
{
...
"placement_pools": [
Run the ``radosgw-admin bucket stats`` command to see compression statistics
for a given bucket:
-.. prompt:: bash
+.. prompt:: bash #
radosgw-admin bucket stats --bucket=<name>