Skip to content

Commit 52d4570

Browse files
author
Barkha Choithani
committed
updated notes.txt with ML specific usage instructions
1 parent 463e61c commit 52d4570

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

charts/templates/NOTES.txt

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,38 @@ Your release is named {{ .Release.Name }}.
44

55
To check the status of the release, try:
66

7-
$ helm status {{ .Release.Name }}
7+
$ helm status {{ .Release.Name }}
88

9-
To get all resources of the release, try:
9+
To get pods in the {{ .Release.Namespace }} namespace, try:
1010

11-
$ helm get all {{ .Release.Name }}
11+
$ kubectl get pods --namespace={{ .Release.Namespace }}
1212

13-
To get the pods in the {{ .Release.Namespace }}, try:
14-
15-
$ kubectl get pods --namespace={{ .Release.Namespace }}
13+
To get all services in the {{ .Release.Namespace }} namespace, try:
1614

17-
To get all services in the {{ .Release.Namespace }}, try:
15+
$ kubectl get services --namespace=default
1816

19-
$ kubectl get services --namespace=default
17+
To get admin credentials of the MarkLogic cluster, follow below steps:
18+
19+
First get the name of the secrets, run:
20+
21+
$ kubectl get secrets
22+
23+
Copy the secret name from step 1 and run below command to extract admin password
24+
25+
$ kubectl get secret SECRET_NAME -o jsonpath='{.data.marklogic-password}' | base64 --decode
2026

2127
To connect to the {{ .Chart.Name }} cluster, use port forwarding:
2228

2329
To access the whole cluster, forward the port to the service:
2430

25-
$ kubectl port-forward svc/{{ include "marklogic.fullname" . }} 8001:8001
31+
$ kubectl port-forward svc/{{ include "marklogic.fullname" . }} 8001:8001
32+
33+
To access first pod, forward the port to the pod using:
34+
35+
$ kubectl port-forward {{ include "marklogic.fullname" . }}-0 8001:8001
36+
37+
MarkLogic admin UI can be accessed at http://localhost:8001
2638

27-
To access a pod, forward the port to the pod using:
39+
To check the groups created in the MarkLogic cluster, go to http://localhost:8002/manage/v2/groups
2840

29-
$ kubectl port-forward {{ include "marklogic.fullname" . }}-0 8001:8001
41+
To check other properties of the {{ .Values.group.name }} group in the cluster, go to http://localhost:8002/manage/v2/groups/{{ .Values.group.name }}/properties

0 commit comments

Comments
 (0)