Skip to main content

Elasticsearch service

The headless Service provides a stable Domain Name System (DNS) name for the search cluster. The elasticsearch-master Service listens on port 9200 for the Representational State Transfer (REST) API. Kibana connects to this endpoint over HTTPS using the mastodon-elastic-ca certificate.

# k8s/applications/web/mastodon/elasticsearch/service.yaml
metadata:
name: elasticsearch-master
spec:
ports:
- port: 9200
selector:
app.kubernetes.io/component: master
app.kubernetes.io/instance: release-name
app.kubernetes.io/name: elasticsearch