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] deployement - Update strategy

See original GitHub issue

Describe the feature: Add a way to set the update strategy for deployment from values.yaml. Default value is RollingUpdate

Describe a specific use case for the feature: We need to set Recreate instead RollingUpdate` because of we ingest log file inside container (with NFS share). So the filebeat registry is store on PVC and must be accessed from only one instance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
bhiravabhatlacommented, May 12, 2021

Unfortunately daemonset doesnot support Recreate update strategy. It only supports OnDelete and RollingUpdate. I dont think this is doable as of now.

https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/#daemonset-update-strategy

Edit -

My bad, you were referring to filebeat deployed as Deployment not daemonset. Yes - that should be possible. UpdateStrategy is missing from the template.

@Team,

Can open PR for this.

1reaction
disaster37commented, May 19, 2021

Since 7.12, we have availability to deploy filebeat as deployment instead daemonset. So i speak about deployement (like title say).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Filebeat on Kubernetes | Filebeat Reference [8.5] - Elastic
You deploy Filebeat as a DaemonSet to ensure there's a running instance on each node of the cluster. The Docker logs host folder...
Read more >
How to Setup an ELK Stack and Filebeat on Kubernetes
In our blog post, we are going to deploy filebeat as a DaemonSet and forward k8s logs to Logstash.
Read more >
filebeat 8.5.1 · elastic/elastic - Artifact Hub
Official Elastic helm chart for Filebeat. ... updateStrategy, The updateStrategy for the DaemonSet By default Kubernetes will kill and recreate pods on ...
Read more >
How to deploy Filebeat on kubernetes? - Stack Overflow
Try deploy the filebeat component with the helm official chart, is very easy deploy and maintain (upgrade, change configuration) the app.
Read more >
Kubernetes logging setup & configuration example | Logit.io
Step 2 - Deploy Pod Copy. Now your deployment manifest is updated, you can deploy it using. kubectl apply -f filebeat-kubernetes.yaml ...
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