Index mapping at startup

Hi all,

This question is about launching elasticsearch with kubernetes.
If I run k8s like below,

      - name: elasticsearch
          - containerPort: 9200
        - name: discovery.type
          value: single-node

Elasticsearch will be launched but there is no point that I can config something like index mapping.
How can I set my index mapping at startup? Is there a tip related to this?

Thank you :slight_smile:

Welcome to our community! :smiley:

Index mapping needs to happen via the Elasticsearch APIs. I am not sure if kubernetes can handle that for you sorry.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.