2020-08-31 11:01:56 -04:00
|
|
|
|
|
|
|
.. aif1596225477506
|
|
|
|
.. _remove-vault:
|
|
|
|
|
|
|
|
============
|
|
|
|
Remove Vault
|
|
|
|
============
|
|
|
|
|
|
|
|
You can remove Vault from your |prod-long|, if required, by using the
|
|
|
|
procedure described in this section.
|
|
|
|
|
|
|
|
.. rubric:: |context|
|
|
|
|
|
|
|
|
Run the following commands to remove Vault. This will remove pods and other
|
2022-05-30 14:49:14 -04:00
|
|
|
resources created by the application installation. For more information, see
|
2020-08-31 11:01:56 -04:00
|
|
|
:ref:`Install Vault <install-vault>`.
|
|
|
|
|
|
|
|
.. rubric:: |proc|
|
|
|
|
|
|
|
|
#. Remove pods and other resources using the following command:
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
$ system application-remove vault
|
|
|
|
|
|
|
|
|
2021-10-12 09:53:23 -04:00
|
|
|
#. Reinstall Vault, if required using the following command:
|
2020-08-31 11:01:56 -04:00
|
|
|
|
2021-10-12 09:53:23 -04:00
|
|
|
.. code-block:: none
|
2020-08-31 11:01:56 -04:00
|
|
|
|
2021-10-12 09:53:23 -04:00
|
|
|
$ system application-apply vault
|
2020-08-31 11:01:56 -04:00
|
|
|
|
2021-10-12 09:53:23 -04:00
|
|
|
.. note::
|
|
|
|
It is recommended to do a complete remove of all resources if you want
|
|
|
|
to reinstall Vault.
|
2020-08-31 11:01:56 -04:00
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
2021-10-12 09:53:23 -04:00
|
|
|
$ kubectl delete ns vault
|
2020-08-31 11:01:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
#. To completely remove Vault, including PVCs \(PVCs are intended to
|
|
|
|
persist after :command:`system application-remove vault` in order to
|
|
|
|
preserve Vault data\), use the following command.
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
$ kubectl delete ns vault
|
|
|
|
$ system application-delete vault
|