Removing default node roles

when I display the setting for one of my nodes I get:

  "nodes": {
    "kAWPcpoxSNSN9WlUsYlQlg": {
      "timestamp": 1614190995674,
      "name": "secesprd01",
      "transport_address": "10.6.0.67:9300",
      "host": "10.6.0.67",
      "ip": "10.6.0.67:9300",
      "roles": [
        "data",
        "data_cold",
        "data_content",
        "data_hot",
        "data_warm",
        "ingest",
        "master",
        "ml",
        "remote_cluster_client",
        "transform"
      ],
      "attributes": {
        "ml.machine_memory": "67510460416",
        "node_type": "hot",
        "xpack.installed": "true",
        "transform.node": "true",
        "ml.max_open_jobs": "20"
      },

and we see a list of roles which I did not set explicitly -- I assume these are defaults.

I want to remove the some of the roles but it is not clear how to do this from the docs.

Do I have to enumerate all the roles I want in node.roles?

If I put master into the node.roles is the node.master setting redundant?

If you want specific roles only, yes.

Yes.

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