28 lines
1.5 KiB
Plaintext
28 lines
1.5 KiB
Plaintext
Rocket.Chat can be accessed via port 80 on the following DNS name from within your cluster:
|
|
|
|
- http://{{ template "rocketchat.fullname" . }}.{{ .Release.Namespace }}
|
|
|
|
You can easily connect to the remote instance from your browser. Forward the webserver port to localhost:8888
|
|
|
|
- kubectl port-forward --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }') 8888:3000
|
|
|
|
You can also connect to the container running Rocket.Chat. To open a shell session in the pod run the following:
|
|
|
|
- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{.items[0].metadata.name}') /bin/sh
|
|
|
|
To trail the logs for the Rocket.Chat pod run the following:
|
|
|
|
- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }')
|
|
|
|
{{- if .Values.ingress.enabled }}
|
|
|
|
Rocket.Chat will be available at the URL:
|
|
|
|
- http://{{ .Values.host }}
|
|
{{ else }}
|
|
|
|
To expose Rocket.Chat via an Ingress you need to set host and enable ingress.
|
|
|
|
helm install --set host=chat.yourdomain.com --set ingress.enabled=true stable/rocketchat
|
|
{{- end -}}
|