# There a way to validate my yaml on Kubernetes 1.20?

**URL:** <https://discuss.kubernetes.io/t/there-a-way-to-validate-my-yaml-on-kubernetes-1-20/14824>\
**Category:** General Discussions\
**Tags:** development\
**Created:** [February 14, 2021, 4:20am UTC](https://discuss.kubernetes.io/t/there-a-way-to-validate-my-yaml-on-kubernetes-1-20/14824 "2021-02-14T04:20:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![metabsd](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/metabsd/32/6946_2.png) [@metabsd](https://discuss.kubernetes.io/u/metabsd)\
**Post date:** [February 14, 2021, 4:20am UTC](https://discuss.kubernetes.io/t/there-a-way-to-validate-my-yaml-on-kubernetes-1-20/14824/1 "2021-02-14T04:20:27Z")

</div>

There a way to identify which part of my yaml is not compatible with Kubernetes 1.20 ?

[getall-ansible-awx (github.com)](https://gist.github.com/metabsd/55c19ae745af9d80b990b4c4d3545889)

Thx!

---

<div class="post-metadata">

**Author:** ![macintoshprime](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/macintoshprime/32/7121_2.png) [@macintoshprime](https://discuss.kubernetes.io/u/macintoshprime)\
**Post date:** [February 17, 2021, 3:55pm UTC](https://discuss.kubernetes.io/t/there-a-way-to-validate-my-yaml-on-kubernetes-1-20/14824/2 "2021-02-17T15:55:54Z")

</div>

I’ve used [https://www.kubeval.com/](https://www.kubeval.com/) in the past and validates yaml against the k8s openAPI spec.
