# Filebeat Helm deployment reports use of deprected k8s api

**URL:** https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671
**Category:** Beats
**Tags:** filebeat
**Created:** [January 29, 2021, 4:56pm UTC](https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671 "2021-01-29T16:56:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rodrigo\_LN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rodrigo_ln/32/79132_2.png) [@Rodrigo\_LN](https://discuss.elastic.co/u/Rodrigo_LN)
#### Post date: [January 29, 2021, 4:56pm UTC](https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671/1 "2021-01-29T16:56:31Z")

</div>

Helm based deployment of Filebeat, and ES produce the following warnings:  
W0128 13:25:59.736302 3118 warnings.go:70] [rbac.authorization.k8s.io/v1beta1](http://rbac.authorization.k8s.io/v1beta1) ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use [rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1) ClusterRole  
W0128 13:25:59.738266 3118 warnings.go:70] [rbac.authorization.k8s.io/v1beta1](http://rbac.authorization.k8s.io/v1beta1) ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use [rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1) ClusterRoleBinding  
W0128 13:25:59.832285 3118 warnings.go:70] [rbac.authorization.k8s.io/v1beta1](http://rbac.authorization.k8s.io/v1beta1) ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use [rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1) ClusterRole  
W0128 13:25:59.837044 3118 warnings.go:70] [rbac.authorization.k8s.io/v1beta1](http://rbac.authorization.k8s.io/v1beta1) ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use [rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1) ClusterRoleBinding

How critical are this warnings in k8s api v 1.17 - v 1.21 and should Filebeat update the templates in order to support k8s api v1.122+ ?

Deploying Elastic Stack as 3rd party dependency in my Helm chart.yaml as such:  
dependencies:

- name: filebeat # Managed stderr log-forwarder  
version: 7.9.3  
repository: [https://helm.elastic.co](https://helm.elastic.co)  
condition: elasticsearch.enabled
- name: elasticsearch # Managed logging processor engine  
version: 7.9.3  
repository: [https://helm.elastic.co](https://helm.elastic.co)  
condition: elasticsearch.enabled
- name: kibana # Optional managed logging processor front-end  
version: 7.9.3  
repository: [https://helm.elastic.co](https://helm.elastic.co)  
condition: kibana.enabled #should only enable if elasticsearch.enabled=true

helm version  
version.BuildInfo{Version:"v3.5.0", GitCommit:"32c22239423b3b4ba6706d450bd044baffdcf9e6", GitTreeState:"clean", GoVersion:"go1.15.6"}

Kubernetes  
v1.19.3

---

<div class="post-metadata">

### Author: ![Julien\_MAILLERET](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien_mailleret/32/45074_2.png) [@Julien\_MAILLERET](https://discuss.elastic.co/u/Julien_MAILLERET)
#### Post date: [February 24, 2021, 3:12pm UTC](https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671/2 "2021-02-24T15:12:56Z")

</div>

Hi @Rodrigo_LN,  
Thanks for reporting this, this will be tracked in [Filebeat Helm deployment reports use of deprected k8s api · Issue #1055 · elastic/helm-charts · GitHub](https://github.com/elastic/helm-charts/issues/1055).

---

<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: [March 24, 2021, 5:13pm UTC](https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671/3 "2021-03-24T17:13:46Z")

</div>

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