anchor.diff:    - nodeCount: 1 <1>
       nodeSpec:
         resources: {}
  -    roles: 
  -    - data 
   ----
   <1> Specify the number of nodes you want in your cluster.
  -<2> Specify the `data` role.
  -
  
positive.code:   - nodeCount: 2 <1>
      nodeSpec:
        resources: {}
      roles: 
      - data <2>
  ----
  <1> Specify the number of nodes of this type.
  <2> Specify the `data` role.
  +
  For example, to add an additional node:
  +
  [source,yaml]
  ----
  
negative.code:     nodeSpec:
        resources: {}
      storage: {}
  ----
  
  . To scale down, create a Cluster Logging Custom Resource (CR) to reduce the number of nodes of a specific type:
  