To set up an ingest node, you need to edit the config/elasticsearch.yml file and set up the ingest property to true, as follows:
node.ingest: true