Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

updating more info on how to add or remove DDS wihtout any confilicts… #2143

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions docs/platform/howto/add-storage-space.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Add or remove storage
=======================

With :doc:`dynamic disk sizing <../concepts/dynamic-disk-sizing>`, you can add or remove disk storage both when you create a service and later for a running service.
With :doc:`dynamic disk sizing <../concepts/dynamic-disk-sizing>`, you can add or remove disk storage (by factor of 10 GiB only) both when you create a service and later for a running service. But, it is not possible to add or remove storage when the service nodes are rebalancing.(i.e, during maintenance update, service upgrade, etc.)
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved

.. note::
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
This feature is not available for all service plans.
Expand All @@ -11,6 +11,7 @@ Add storage during new service creation

You can add disk storage when :doc:`creating a new service <../howto/create_new_service>`.


Add storage to a running service
---------------------------------

Expand All @@ -24,7 +25,7 @@ You can add storage to your running service in `Aiven Console <https://console.a

#. In the **Upgrade service storage** window, use the slider to add disk storage.

..note::
.. note::
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved

The price shown for the additional storage includes backup costs.

Expand Down Expand Up @@ -68,3 +69,18 @@ Remove added storage
.. topic:: Result

Your additional disk space has been removed. The service is in the **Rebalancing** state while the nodes are being recycled.

Using Aiven CLI
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
---------------

It is possible to use :doc:`Aiven CLI </docs/tools/cli>` to add or remove additional storage by :ref:`updating the service configuration <avn-cli-service-update>` using the flag ``--disk-space-gib``. The value here is the total disk space that your service would like to have.
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
For example, if you are using a ``Startup-4`` plan which has 80GB disk space by default and you would like to add extra 10GB disk. The value to be given for the flag ``--disk-space-gib`` is 90 GB.
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
::
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved

avn service update --disk-space-gib 90 --project <PROJECT_NAME> <SERVICE_NAME>
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved

.. note::

- When you perform a service upgrade or downgrade horizontally, it is required to include any additional disk existing on the service. For example, ``Startup-4`` to ``Business-4`` or ``Business-4`` to ``Startup-4``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rephrase:

When you perform a service upgrade or downgrade horizontally, remember to include all additional disks the service uses. For example, when switching from ``Startup-4`` to ``Business-4`` or from ``Business-4`` to ``Startup-4``, include all the four disks available for this service.

Is that correct?

- Similarly, when you fork an existing service, it is required to include any additional disk on the source service.
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved

3 changes: 2 additions & 1 deletion docs/platform/howto/scale-services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ When creating a new Aiven service, you are not tied to a plan. Your services can

.. note::

You can also use the :ref:`dedicated service update function <avn-cli-service-update>` to scale your service plan via the :doc:`Aiven CLI </docs/tools/cli>`.
- You can also use the :ref:`dedicated service update function <avn-cli-service-update>` to scale your service plan via the :doc:`Aiven CLI </docs/tools/cli>`.
- When you perform a service upgrade or downgrade horizontally, it is required to include any additional disk existing on the service. For example, ``Startup-4`` to ``Business-4`` or ``Business-4`` to ``Startup-4``.
cybermax-008 marked this conversation as resolved.
Show resolved Hide resolved
Loading