This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
Elastic Maps Server needs a connection to Elasticseach to verify the installed license. You define the connection via the
apiVersion: maps.k8s.elastic.co/v1alpha1 kind: ElasticMapsServer metadata: name: quickstart spec: version: 7.15.1 count: 1 elasticsearchRef: name: quickstart namespace: default
The use of
namespace is optional if the Elasticsearch cluster is running in the same namespace as Elastic Maps Server.
Any Elastic Maps Server can reference (and thus access) any Elasticsearch instance as long as they are both in namespaces that are watched by the same ECK instance. ECK will copy the required Secret from Elasticsearch to the Elastic Maps Server namespace. Elastic Maps Server cannot automatically connect to Elasticsearch (through
elasticsearchRef) in a namespace managed by a different ECK instance. For more information, see Restrict cross-namespace resource associations.
The Elastic Maps Server configuration file is automatically setup by ECK to establish a secure connection to Elasticsearch.