How to remove a Metricbeat daemonset created with yaml:
apiVersion: beat.k8s.elastic.co/v1beta1 kind: Beat metadata: name: metricbeat namespace: myspace spec: type: metricbeat version: 7.10.2 elasticsearchRef: name: elasticsearch kibanaRef: name: kibana
A simple command does not help
kubectl delete -n myspace daemonset metricbeat-beat-metricbeat --force
Pods of this beat are in CrashLoopBackOff state because they do not recognize Kibana SSL which is configured for public domain, not for Kubernetes.
Btw, it would be good to have an option for Beats.