Managing the Search features service
Learn how to enable and disable the Search feature in HCL Compass.
- Enable the search feature in the HCL Compass RESTful server Pod:
- You can disable the Search application services that are running on a separate pod
completely from the HCL Compass
Helm chart and enable the search feature to run within the same pod of the HCL Compass RESTful server.
- Create a file named search-enabled.yaml and paste the
following values. You can configure as many search configurations as necessary. The
following example illustrates two search configurations for ports 8983 and
8984.
hcl-compass: search: withCompass: true # Enable Search to configure in the hcl-compass RESTful server Pod. ports: port1: containerPort: 8983 # Set search ports protocol: TCP port2: containerPort: 8984 # Set search ports protocol: TCP searchapp1: service: false # Disable hcl-compass-search-app1 service. searchapp2: service: false # Disable hcl-compass-search-app2 service. service: enabled: search: true # Enable Search service.
- Add
-f search-enabled.yaml
to the helm install or helm upgrade command.
- Create a file named search-enabled.yaml and paste the
following values. You can configure as many search configurations as necessary. The
following example illustrates two search configurations for ports 8983 and
8984.
- Disabling the search feature service from the HCL Compass Helm chart
- You can disable the search feature services from the HCL Compass Helm chart and install
HCL Compass with just the
hcl-compass RESTful server feature without the Full Search feature:
- Create a file named search-disabled.yaml and paste in the
following
contents:
hcl-compass: search: withCompass: false service: enabled: search: false searchapp1: service: false searchapp2: service: false
- Add
-f search-disabled.yaml
to the helm install or helm upgrade command.
- Create a file named search-disabled.yaml and paste in the
following
contents:
- Installing the SSL certificate
-
- Create a new folder named /path/to/your/keystore that
contains the keystore.p12 file for installing an SSL
certificate on HCL Compass pod
container:
$ mkdir /path/to/your/keystore
- Add the
keystore.p12
file to the /path/to/your/keystore folder to a configMap namedkeystore-file
.$ kubectl create cm keystore-file --from-file /path/to/your/keystore/keystore.p12 --namespace [namespace_name]
- Check to ensure that the
keystore-file.configMap
file has been created and that it contains thekeystore.p12
file.$ kubectl get cm keystore-file -o yaml --namespace [namespace_name]
- Create a file named ssl.yaml. Set the SSL password,
key-aliasMount and configMapName to
keystore-file
hcl-compass: ssl: enabled: true password: "" keyAlias: 1 configMapName: keystore-file
- Create a new folder named /path/to/your/keystore that
contains the keystore.p12 file for installing an SSL
certificate on HCL Compass pod
container: