<p>I've got 2 k8 clusters on <code>1.19</code> and <code>1.16</code> versions.
It's need to be updated to <code>1.22</code>. And from documentation I found that Ingress API changed for <code>1.22</code> (<code>extensions/v1beta1</code> deprecated)</p>
<p>Cluster contains allot of ingress with <code>extensions/v1beta1</code> API. How I can update them during k8 upgrade process?</p>

<p>Before version <em>1.20</em> there was <code>kubectl convert</code> command, which was used to <a href="https://kubernetes.io/docs/reference/using-api/deprecation-guide/#migrate-to-non-deprecated-apis" rel="nofollow noreferrer">convert to non-depracted APIs</a>. However, it was removed in <em>1.20</em> <sup>[<a href="https://github.com/aws/aws-eks-best-practices/issues/121" rel="nofollow noreferrer">reference</a>]</sup>, and now lives as a plugin for <code>kubectl</code>.</p>
<p>Instructions on how to install this plugin are available <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-kubectl-convert-plugin" rel="nofollow noreferrer">here</a>.</p>
<p>You have to update your manifest files with <code>kubectl convert</code>, and reapply them with <code>kubectl apply</code>.</p>
<p>As of today, there is no other way to update resources to newer API versions.</p>
