# ECK Elasticsearch node state "Invalid" after install node using yaml file

**URL:** <https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288>\
**Category:** Elasticsearch\
**Created:** [February 25, 2022, 2:01pm UTC](https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288 "2022-02-25T14:01:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wahyu\_saputro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wahyu_saputro/32/102350_2.png) [@wahyu\_saputro](https://discuss.elastic.co/u/wahyu_saputro)\
**Post date:** [February 25, 2022, 2:01pm UTC](https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288/1 "2022-02-25T14:01:22Z")

</div>

if follow the guide from [Quickstart | Elastic Cloud on Kubernetes [1.0] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/1.0/k8s-quickstart.html#k8s-deploy-elasticsearch), but after install node using following yaml code,

```auto

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: quickstart
spec:
  version: 8.0.0
  nodeSets:
  - name: default
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false

```

and then i get error "invalid", after issuing following command:

```auto
$kubectl get elasticsearch  
NAME HEALTH NODES VERSION PHASE AGE
quickstart 8.0.0 Invalid 6h3m

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 25, 2022, 2:02pm UTC](https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288/2 "2022-03-25T14:02:00Z")

</div>

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