I was using filebeat 7.10 and all ok, now was trying upgrading to 7.15 and I found two problem
I have tried to download the version of the link
curl -L -O https://raw.githubusercontent.com/elastic/beats/7.15/deploy/kubernetes/filebeat-kubernetes.yaml
And I have only made the changes:
-
Namespace from kube-system to logging, which is the one we use,
-
the configuration of the daemonset with our variables and passwords and
-
the configuration of the filebeat that I attach.
If I run it, it creates me in a cluster with 6 nodes (3 default GCP + 3 preemptible nodes), it is only deployed in the default nodes, (first thing different from the previous version that was installed in all)
And if I look at the logs (default nodes) I don't see that it shows anything, and the pods are ready.
NAME STATUS ROLES AGE VERSION
gke-plugins-stage-default-node-pool-3ea1dedc-h9er Ready <none> 269d v1.17.14-gke.1600
gke-plugins-stage-default-node-pool-769096cb-xqnz Ready <none> 269d v1.17.14-gke.1600
gke-plugins-stage-default-node-pool-95883f48-wzgm Ready <none> 128d v1.17.14-gke.1600
gke-plugins-stage-preemptible-node-po-21a714f2-2sxd Ready <none> 107m v1.17.14-gke.1600
gke-plugins-stage-preemptible-node-po-21a714f2-9x6p Ready <none> 5m18s v1.17.14-gke.1600
gke-plugins-stage-preemptible-node-po-61ca3fa6-lkzq Ready <none> 43h v1.17.14-gke.1600
gke-plugins-stage-preemptible-node-po-c3aa2beb-rp41 Ready <none> 22h v1.17.14-gke.1600
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
filebeat-kkbrx 1/1 Running 0 20s 10.32.0.106 gke-plugins-stage-default-node-pool-95883f48-wzgm <none> <none>
filebeat-m5j55 1/1 Running 0 20s 10.32.0.108 gke-plugins-stage-default-node-pool-769096cb-xqnz <none> <none>
filebeat-zcqdm 1/1 Running 0 20s 10.32.0.107 gke-plugins-stage-default-node-pool-3ea1dedc-h9er <none> <none>
kubectl logs -f filebeat-kkbrx -n logging
empty....
And in ElasticCloud nothing comes either. So we have two problems, one that the daemonset is not installed in all our nodes (default and preemptibles) and another is that it does not show anything in the logs.
I don't know to debug/solve this problem, could anyone give a hand?
Thank you very much