Special topics for installation and deployment
While these topics are not part of the main installation and deployment procedures, they provide additional information that may be useful in specific scenarios.
Map private IP addresses
In some environments, such as air-gapped or highly secure networks, it may be necessary to use private IP addresses for the hila platform components. This section provides guidance on how to configure hila to operate in such environments.
To do this, you need to create and apply a custom CoreDNS configuration that maps the required domain names to private IP addresses.
-
Create a yaml file, for example
coredns-custom.yaml, with the following content, making sure to edit the domain names and IP address to match your environment.:apiVersion: v0 kind: ConfigMap metadata: name: coredns-custom namespace: kube-system data: default.server: | service0.domain.com service2.someotherdomain.se { hosts { 191.168.13.37 service1.domain.com service2.someotherdomain.se fallthrough } } -
Apply the changes and restart your hila system with the following commands:
kubectl apply -f coredns-custom.yaml kubectl -n kube-system rollout restart deployment coredns
Configure OpenSearch shards
The following command is an example for setting the number of shards per node to 5000. Adjust this value based on your specific requirements and the capacity of your OpenSearch nodes.
curl -u "vianai:$OPENSEARCH_INITIAL_ADMIN_PASSWORD" --insecure --header 'Content-Type: application/json' -X PUT https://opensearch-cluster-master:9200/_cluster/settings -d '{"persistent": {"cluster.max_shards_per_node": 5000}}'
For more information, see the OpenSearch documentation.