# Deployment in version "v1" cannot be handled as a Deployment: strict decoding error: unknown field "metadata.spec"

**URL:** <https://discuss.kubernetes.io/t/deployment-in-version-v1-cannot-be-handled-as-a-deployment-strict-decoding-error-unknown-field-metadata-spec/24621>\
**Category:** General Discussions\
**Created:** [June 27, 2023, 3:17am UTC](https://discuss.kubernetes.io/t/deployment-in-version-v1-cannot-be-handled-as-a-deployment-strict-decoding-error-unknown-field-metadata-spec/24621 "2023-06-27T03:17:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![MovieMaker93](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/moviemaker93/32/12859_2.png) [@MovieMaker93](https://discuss.kubernetes.io/u/MovieMaker93)\
**Post date:** [July 11, 2023, 10:50am UTC](https://discuss.kubernetes.io/t/deployment-in-version-v1-cannot-be-handled-as-a-deployment-strict-decoding-error-unknown-field-metadata-spec/24621/4 "2023-07-11T10:50:23Z")

</div>

Can you post with indentation?

---

_[View the full topic](https://discuss.kubernetes.io/t/deployment-in-version-v1-cannot-be-handled-as-a-deployment-strict-decoding-error-unknown-field-metadata-spec/24621)._
