0

i try to uninstall the Filebeat from kubernetes but i can't find anywhere how to uninstall it how can safely uninstall it ?

user63898
  • 29,839
  • 85
  • 272
  • 514

1 Answers1

2

Just delete the filebeat deamonset.
kubectl delete ds filebeat

Aakash Singhal
  • 101
  • 1
  • 8
  • Thanks ! , will it delete me the filebeat ConfigMap, access control RoleBinding and all related to filebeat ? – user63898 Jan 04 '21 at 05:40
  • 1
    nope, you'll have to delete them separately or you can see what's the common label across resources and delete based on labels, something like: `kubectl delete all -l app=filebeat` – Aakash Singhal Jan 04 '21 at 07:06
  • can you look at this question please : https://stackoverflow.com/questions/65561985/filebeat-data-path-already-locked-by-another-beat-please-make-sure-that-multi – user63898 Jan 04 '21 at 11:32