Hey everyone! I'm facing an issue where when I delete a deployment in my setup, it doesn't come back automatically. Typically, I have to go through the steps of deleting the Helm release, reconciling Git, and then running 'flux reconcile helmrelease' to get both the Helm release and the deployment back. However, if I just delete the deployment, it won't return. Can anyone help me understand why this is happening or point me to a GitHub repository that could help? Thanks!
3 Answers
If you've deleted the deployment, why would you expect it to come back? But with Flux, the idea is that it should detect the drift and recreate it from the HelmRelease definition unless something is misconfigured.
Have you enabled drift detection on your Helm release resource? That could help Flux notice changes when things get deleted and recreate them.
When you delete a deployment, it typically removes its pods too. If you're looking to restart them, just deleting the pods should allow the deployment to create new ones for you. A deployment manages a replica set that ensures the desired number of pods is always running. What exactly are you trying to achieve here?
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String