question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filebeat Helm deployment reports use of deprected k8s api

See original GitHub issue

Chart version: 7.9.3 Kubernetes version: v3.5.0 Kubernetes provider: E.g. GKE (Google Kubernetes Engine) Minikube

Helm Version: v3.5.0

helm get release output

e.g. helm get elasticsearch (replace elasticsearch with the name of your helm release)

Be careful to obfuscate every secrets (credentials, token, public IP, …) that could be visible in the output before copy-pasting.

If you find some secrets in plain text in helm get release output you should use Kubernetes Secrets to managed them is a secure way (see Security Example).

Output of helm get release

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 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole W0128 13:25:59.738266 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding W0128 13:25:59.832285 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole W0128 13:25:59.837044 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding

Steps to reproduce:

  1. Add ElasticSearch, Filebeat, Kibana as helm dependencies
  2. Update charts dir w/ Elastic Charts via Helm update dependencies
  3. Install helm chart
  4. Observe warnings:

W0128 13:25:59.736302 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole W0128 13:25:59.738266 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding W0128 13:25:59.832285 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole W0128 13:25:59.837044 3118 warnings.go:70] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding

Expected behavior: No ClusterRole, ClusterRoleBinding warnings Provide logs and/or server output (if relevant): See above

Be careful to obfuscate every secrets (credentials, token, public IP, …) that could be visible in the output before copy-pasting

Asked questions here, but received no traction: https://discuss.elastic.co/t/filebeat-helm-deployment-reports-use-of-deprected-k8s-api/262671

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jmlrtcommented, Feb 24, 2021

Hi @rpastrana, Thanks for opening this issue. Unfortunately we currently don’t have time to investigate every tickets so please be patient.

0reactions
jmlrtcommented, Feb 28, 2022

Closing this issue as it was created for Filebeat. The remaining change for Metricbeat is tracked in #1576

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filebeat Helm deployment reports use of deprected k8s api
Filebeat Helm deployment reports use of deprected k8s api ... rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, ...
Read more >
Deprecated Kubernetes APIs - Helm
Helm fails in this scenario because it attempts to create a diff patch between the current deployed release (which contains the Kubernetes APIs...
Read more >
filebeat 7.10.2 - elastic - Artifact Hub
This Helm chart is a lightweight way to configure and run our official Filebeat Docker image. Requirements; Installing. Install released version using Helm...
Read more >
Ship k8s logs with Helm via Filebeat - Logz.io Docs
Helm is a tool for managing packages of pre-configured Kubernetes resources using Charts. Logzio-k8s-logs allows you to ship logs from your  ...
Read more >
Trouble shooting while upgrading a VM with Minikube ...
guest Operating System (Ubuntu); Docker; Minikube; Kubectl; Helm; Elasticsearch; Filebeat; Logstash; Kibana; MySQL.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found