Add a note about the RadosGW admin access

This commit is contained in:
Alexander "Ace" Olofsson 2019-07-08 08:08:56 +02:00
parent f66a90a9fd
commit d44ddd2256
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -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