UNCLASSIFIED - NO CUI

Skip to content

Resolve "Support New Node types"

Ismail Ahmad requested to merge 6-New-Node-Types into 5-Affinity-and-Node-Types

What:

  • Adds ingest, coord, and ml node types to elasticsearch

Why:

  • In order to support certain customers and their "production elasticsearch" cluster needs new node types were needed.

Closes #6 (closed)

Supporting Info:

Shows Different Nodes Types as Running Pods:

kubectl get pods  | grep elastic-es
ismail-elastic-es-coord-0            1/1     Running            0          53m
ismail-elastic-es-data-0             1/1     Running            0          53m
ismail-elastic-es-data-1             1/1     Running            0          53m
ismail-elastic-es-ingest-0           1/1     Running            0          53m
ismail-elastic-es-master-0           1/1     Running            0          53m
ismail-elastic-es-ml-0               1/1     Running            0          53m

Shows Coordinating Node Type Config:

kubectl get secret ismail-elastic-es-coord-es-config -ojsonpath='{.data.elasticsearch\.yml}' | base64 -d | grep -A 7 "node:"
node:
  attr:
    k8s_node_name: ${NODE_NAME}
  data: false
  ingest: false
  master: false
  ml: false
  name: ${POD_NAME}

Shows Ingest Node Type Config:

kubectl get secret ismail-elastic-es-ingest-es-config -ojsonpath='{.data.elasticsearch\.yml}' | base64 -d | grep -A 7 "node:"
node:
  attr:
    k8s_node_name: ${NODE_NAME}
  data: false
  ingest: true
  master: false
  ml: false
  name: ${POD_NAME}

Shows Coordinating Node Type Config:

kubectl get secret ismail-elastic-es-ml-es-config -ojsonpath='{.data.elasticsearch\.yml}' | base64 -d | grep -A 7 "node:"
node:
  attr:
    k8s_node_name: ${NODE_NAME}
  data: false
  ingest: false
  master: false
  ml: true
  name: ${POD_NAME}

Merge request reports