From d44ddd22569c7ee56b020d749a1550345d9a3e56 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 8 Jul 2019 08:08:56 +0200 Subject: [PATCH] Add a note about the RadosGW admin access --- charts-wip/radosgw/templates/NOTES.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts-wip/radosgw/templates/NOTES.txt b/charts-wip/radosgw/templates/NOTES.txt index 1508210..5c14bf9 100644 --- a/charts-wip/radosgw/templates/NOTES.txt +++ b/charts-wip/radosgw/templates/NOTES.txt @@ -19,3 +19,8 @@ echo "Visit http://127.0.0.1:8080 to use your application" kubectl port-forward $POD_NAME 8080:80 {{- end }} + +For administration purposes you can either open a shell in a RadosGW pod or connect to one of your mon hosts: + + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "radosgw.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + kubectl exec --namespace {{ .Release.Namespace }} $POD_NAME radosgw-admin --help