Question in Node Configuration

Hello
I have a cluster consisting of 3 nodes, one of which I want to be for reading and the other for writing
How can I do that?

I don't think you can do that as per the documentation suggests the node roles: Node | Elasticsearch Guide [8.13] | Elastic

But I'm wondering what problem you are trying to fix here. Could you describe?