-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'documentation/ZENKO-3656/remove_s3_endpoint' into q/2.1
- Loading branch information
Showing
6 changed files
with
114 additions
and
5 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
docs/docsource/operation/platform_operations/delete_an_s3_endpoint.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
.. _Delete an S3 endpoint: | ||
|
||
Delete an S3 Endpoint | ||
===================== | ||
|
||
Delete an S3 Endpoint from the UI | ||
--------------------------------- | ||
|
||
#. From the |product| home screen, select the **Data Services** tab. | ||
|
||
#. Click the red trash can corresponding to the endpoint you want to delete, and click **Delete** on the confirmation popup. | ||
|
||
.. image:: ../../graphics/endpoint_created.png | ||
|
||
#. Check that the deleted endpoint is no longer listed. | ||
|
||
.. image:: ../../graphics/create_endpoint.png | ||
|
||
|
||
Delete an S3 Endpoint from the Command Line | ||
------------------------------------------- | ||
|
||
#. Retrieve tokens as described in :ref:`Retrieve Access Tokens`. | ||
|
||
#. Retrieve the list of all endpoints and hostnames. | ||
|
||
.. code:: | ||
kubectl -n zenko get zenkoconfigurationoverlay -o jsonpath='{.items[-1].spec.s3API.endpoints[*]}' \ | ||
--sort-by='{.metadata.creationTimestamp}' | ||
#. Select the hostname to delete. | ||
|
||
.. code:: | ||
HOSTNAME="hostname to delete" | ||
#. Send a delete request to the management S3-API. | ||
|
||
.. code:: | ||
curl -s -k -X DELETE -H "X-Authentication-Token: ${TOKEN}" "https://management.zenko.workloadplane.scality.local/api/v1/config/${INSTANCE_ID}/endpoint/${HOSTNAME}" | ||
#. Check that the endpoint has been deleted. | ||
|
||
.. code:: | ||
kubectl -n zenko get zenkoconfigurationoverlay -o jsonpath='{range .items[-1].spec.s3API.endpoints[*]}{}{"\n"}{end}' --sort-by='{.metadata.creationTimestamp}' | ||
After a few moments, all pods will be in a running state. | ||
|
||
.. code:: | ||
kubectl -n zenko get pods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters