Removing default node roles

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

  "nodes": {
    "kAWPcpoxSNSN9WlUsYlQlg": {
      "timestamp": 1614190995674,
      "name": "secesprd01",
      "transport_address": "",
      "host": "",
      "ip": "",
      "roles": [
      "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.


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