Add a note about the RadosGW admin access
This commit is contained in:
parent
f66a90a9fd
commit
d44ddd2256
1 changed files with 5 additions and 0 deletions
|
@ -19,3 +19,8 @@
|
||||||
echo "Visit http://127.0.0.1:8080 to use your application"
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
||||||
kubectl port-forward $POD_NAME 8080:80
|
kubectl port-forward $POD_NAME 8080:80
|
||||||
{{- end }}
|
{{- 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
|
||||||
|
|
Loading…
Reference in a new issue