You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix test failure
* CLD-413: add parameters and how to access marklogic section in README
* README review update
* change README as per review
* change README base on review
The service you are looking for is the one ending with "marklogic" and where the CLUSTER-IP is not None. In the example above, "marklogic" is the service name for the ClusterIP service.
245
+
246
+
### Using the Service DNS Record to Access MarkLogic
247
+
248
+
For each Kubernetes service, a DNS with the following format is created:
249
+
250
+
```
251
+
<service-name>.<namespace-name>.svc.cluster.local
252
+
```
253
+
254
+
For example, if the service-name is "marklogic" and namespace-name is "default", the DNS URL to access the MarkLogic cluster is "marklogic.default.svc.cluster.local".
255
+
256
+
## Port Forward
257
+
258
+
The `kubectl port-forward` command can help you access MarkLogic outside of the Kubernetes cluster. Use the service to access a specific pod, or the whole cluster.
259
+
### Forward to Pod
260
+
261
+
To access each pod directly, use the `kubectl port-forward` command using the following format:
For example, run this command to forward ports 8000 from marklogic service to localhost:
284
+
285
+
```
286
+
kubectl port-forward svc/marklogic 8000:8000
287
+
```
288
+
289
+
This pod can now be accessed via http://localhost:8001.
290
+
291
+
## Notice
292
+
293
+
To use transactional functionality with MarkLogic, you have to set up Ingress and configure cookie-based session affinity. This function will be supported in a future release.
294
+
213
295
# Uninstalling the Chart
214
296
215
297
Use this Helm command to uninstall the chart:
@@ -244,9 +326,24 @@ This table describes the list of available parameters for Helm Chart.
244
326
|`imagePullSecret.registry`| Registry of the imagePullSecret |`""`|
245
327
|`imagePullSecret.username`| Username of the imagePullSecret |`""`|
246
328
|`imagePullSecret.password`| Password of the imagePullSecret |`""`|
329
+
|`resources.limits`| The resource limits for MarkLogic container |`{}`|
330
+
|`resources.requests`| The resource requests for MarkLogic container |`{}`|
247
331
|`nameOverride`| String to override the app name |`""`|
248
332
|`auth.adminUsername`| Username for default MarkLogic Administrator |`admin`|
249
333
|`auth.adminPassword`| Password for default MarkLogic Administrator |`admin`|
334
+
|`affinity`| Affinity property for pod assignment |`{}`|
335
+
|`nodeSelector`| nodeSelector property for pod assignment |`{}`|
336
+
|`persistence.enabled`| Enable MarkLogic data persistence using Persistence Volume Claim (PVC). If set to false, EmptyDir will be used |`true`|
337
+
|`persistence.storageClass`| Storage class for MarkLogic data volume, leave empty to use the default storage class |`""`|
338
+
|`persistence.size`| Size of storage request for MarkLogic data volume |`10Gi`|
339
+
|`persistence.annotations`| Annotations for Persistence Volume Claim (PVC) |`{}`|
340
+
|`persistence.accessModes`| Access mode for persistence volume |`["ReadWriteOnce"]`|
341
+
|`persistence.mountPath`| The path for the mounted persistence data volume |`/var/opt/MarkLogic`|
342
+
|`extraVolumes`| Extra list of additional volumes for MarkLogic statefulset |`[]`|
343
+
|`extraVolumeMounts`| Extra list of additional volumeMounts for MarkLogic container |`[]`|
344
+
|`extraContainerPorts`| Extra list of additional containerPorts for MarkLogic container |`[]`|
345
+
|`service.type`| type of the default service |`ClusterIP`|
346
+
|`service.ports`| ports of the default service |`[8000, 8002]`|
250
347
|`serviceAccount.create`| Enable this parameter to create a service account for a MarkLogic Pod |`true`|
251
348
|`serviceAccount.annotations`| Annotations for MarkLogic service account |`{}`|
252
349
|`serviceAccount.name`| Name of the serviceAccount |`""`|
@@ -268,9 +365,3 @@ This table describes the list of available parameters for Helm Chart.
268
365
|`startupProbe.timeoutSeconds`| Timeout seconds for startup probe |`1`|
269
366
|`startupProbe.failureThreshold`| Failure threshold for startup probe |`30`|
270
367
|`startupProbe.successThreshold`| Success threshold for startup probe |`1`|
271
-
|`persistence.enabled`| Enable MarkLogic data persistence using Persistence Volume Claim (PVC). If set to false, EmptyDir will be used |`true`|
272
-
|`persistence.storageClass`| Storage class for MarkLogic data volume, leave empty to use the default storage class |`""`|
273
-
|`persistence.size`| Size of storage request for MarkLogic data volume |`10Gi`|
274
-
|`persistence.annotations`| Annotations for Persistence Volume Claim (PVC) |`{}`|
275
-
|`persistence.accessModes`| Access mode for persistence volume |`["ReadWriteOnce"]`|
276
-
|`persistence.mountPath`| The path for the mounted persistence data volume |`/var/opt/MarkLogic`|
0 commit comments