<p>I am trying to deploy the logstash helm on kubernetes cluster 1.16. but it giving below error message. How to update this Kubernetes API change for this helm chart?</p>
<pre><code>helm install --name logstash stable/logstash -f values.yaml 
Error: validation failed: unable to recognize &quot;&quot;: no matches for kind &quot;StatefulSet&quot; in version &quot;apps/v1beta2&quot;
</code></pre>
<p><a href="https://github.com/helm/charts/tree/master/stable/logstash" rel="nofollow noreferrer">https://github.com/helm/charts/tree/master/stable/logstash</a></p>
<p>Thanks</p>

<p>Kubernetes 1.16 <a href="https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/" rel="nofollow noreferrer">deprecated</a> the <code>apps/v1beta2</code> API version. You need to use <code>apps/v1</code> instead.</p>

<p>The <em>stable/logstash</em> chart already <a href="https://github.com/helm/charts/commit/0274cecf530f6191ea2ef667268debf3fa857dd2" rel="nofollow noreferrer">has a commit</a> that upgraded the API version. Make sure that you are using the <code>2.3.0</code> chart version and it should work. E.g:</p>

<pre><code>helm repo update
helm install --name logstash stable/logstash --version=2.3.0 -f values.yaml 
</code></pre>
