NOTES.txt 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. CHART NAME: {{ .Chart.Name }}
  2. CHART VERSION: {{ .Chart.Version }}
  3. APP VERSION: {{ .Chart.AppVersion }}
  4. ** Please be patient while the chart is being deployed **
  5. MinIO® can be accessed via port {{ .Values.service.port }} on the following DNS name from within your cluster:
  6. {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
  7. To get your credentials run:
  8. export ROOT_USER=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "minio.secretName" . }} -o jsonpath="{.data.root-user}" | base64 -d)
  9. export ROOT_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "minio.secretName" . }} -o jsonpath="{.data.root-password}" | base64 -d)
  10. To connect to your MinIO® server using a client:
  11. - Run a MinIO® Client pod and append the desired command (e.g. 'admin info'):
  12. kubectl run --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }}-client \
  13. --rm --tty -i --restart='Never' \
  14. --env MINIO_SERVER_ROOT_USER=$ROOT_USER \
  15. --env MINIO_SERVER_ROOT_PASSWORD=$ROOT_PASSWORD \
  16. --env MINIO_SERVER_HOST={{ include "common.names.fullname" . }} \
  17. {{- if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}
  18. --labels="{{ include "common.names.fullname" . }}-client=true" \
  19. {{- end }}
  20. --image {{ template "minio.clientImage" . }} -- admin info minio
  21. {{- if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}
  22. NOTE: Since NetworkPolicy is enabled, only pods with label
  23. "{{ template "common.names.fullname" . }}-client=true" will be able to connect to MinIO®.
  24. {{- end }}
  25. {{- if (not .Values.disableWebUI) }}
  26. To access the MinIO® web UI:
  27. - Get the MinIO® URL:
  28. {{- if .Values.ingress.enabled }}
  29. You should be able to access your new MinIO® web UI through
  30. {{ if .Values.ingress.tls }}https{{ else }}http{{ end }}://{{ .Values.ingress.hostname }}/minio/
  31. {{- else if contains "LoadBalancer" .Values.service.type }}
  32. NOTE: It may take a few minutes for the LoadBalancer IP to be available.
  33. Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ include "common.names.fullname" . }}'
  34. {{- $port:=.Values.service.ports.console | toString }}
  35. export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}")
  36. echo "MinIO® web URL: http://$SERVICE_IP{{- if ne $port "80" }}:{{ .Values.service.ports.console }}{{ end }}/minio"
  37. {{- else if contains "ClusterIP" .Values.service.type }}
  38. echo "MinIO® web URL: http://127.0.0.1:{{ .Values.containerPorts.console }}/minio"
  39. kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "common.names.fullname" . }} {{ .Values.containerPorts.console }}:{{ .Values.service.ports.console }}
  40. {{- else if contains "NodePort" .Values.service.type }}
  41. export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "common.names.fullname" . }})
  42. export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  43. echo "MinIO® web URL: http://$NODE_IP:$NODE_PORT/minio"
  44. {{- end }}
  45. {{- else }}
  46. WARN: MinIO® Web UI is disabled.
  47. {{- end }}
  48. {{- include "common.warnings.rollingTag" .Values.image }}
  49. {{- include "common.warnings.rollingTag" .Values.clientImage }}
  50. {{- include "common.warnings.rollingTag" .Values.volumePermissions.image }}
  51. {{- include "minio.validateValues" . }}