# Unable to apply base Elasticsearch kubernetes image

**URL:** <https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [September 28, 2020, 4:21pm UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231 "2020-09-28T16:21:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdevilla20](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jdevilla20/32/75281_2.png) [@jdevilla20](https://discuss.elastic.co/u/jdevilla20)\
**Post date:** [September 28, 2020, 4:21pm UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231/1 "2020-09-28T16:21:30Z")

</div>

Hi

I am trying to apply the Elasticsearch Docker image. I am trying to use the instructions defined here:

> **[Deploy an Elasticsearch cluster | Elastic Cloud on Kubernetes \[1.2\] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html)**

When I run an "kubectl apply -f" on the yaml, I get an error:

`error: unable to recognize "test.yaml": no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1"`

I am doing this on Google Cloud running 1.14.10-gke.50.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 29, 2020, 5:15am UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231/2 "2020-09-29T05:15:07Z")

</div>

Hi @jdevilla20

Question did you apply the actual operator as the first step?

[https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html)

Also it typically helps if you post your yml so we can take a look. If you do please format it with the `</>` button above

---

<div class="post-metadata">

**Author:** ![jdevilla20](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jdevilla20/32/75281_2.png) [@jdevilla20](https://discuss.elastic.co/u/jdevilla20)\
**Post date:** [September 29, 2020, 5:26am UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231/3 "2020-09-29T05:26:33Z")

</div>

Stephen,

I forgot to apply the operator.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 29, 2020, 5:47am UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231/4 "2020-09-29T05:47:14Z")

</div>

Cool enjoy....

BTW you are not the first...nor will you be the last 🙂

---

<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:** [October 27, 2020, 5:47am UTC](https://discuss.elastic.co/t/unable-to-apply-base-elasticsearch-kubernetes-image/250231/5 "2020-10-27T05:47:29Z")

</div>

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