helm-charts
helm-charts copied to clipboard
[loki-distributed] Add the possibility for setting maxUnavailable parameter for PDB
Karpenter is unable to evict the loki pods because they have Pod Disruption Budget set. This behavior will prevent the nodes from deprovisioning. The easier way to overcome this issue is to allow the users to set a value for maxUnavailable. So if the user wants to disable the PDB for a certain loki pod he could do so by setting maxUnavailable=0.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.
:white_check_mark: zanac1986
:white_check_mark: zanhsieh
:x: triceras
You have signed the CLA already but the status is still pending? Let us recheck it.
@zanhsieh any reason we decided to use maxUnvailable versus just setting minAvailable defaults with conditional logic to say > 2 = minAvailable:1?
@zanhsieh any reason we decided to use maxUnvailable versus just setting minAvailable defaults with conditional logic to say > 2 = minAvailable:1?
@Aaron-ML You are welcome to fire another PR to the value you think it reasonable.
I don't understand this PR - the PR replaces all of the component-level settings with a single global setting burried under .Values.distributor. Why not follow the much more standard practice of allowing operators to define their own PDB:
{{- with .Values.$component.podDisruptionBudget }}
podDisruptionBudget:
{{ toYaml . | nindent XX }}
{{- end }}
This PR seems flawed to me.. unless I am missing something here.
There is no way to disable PDB if you wish to do so. There should be a way to disable PDB if the user wants to do so. PDB should be an optional setting instead of compulsory specially if using some autoscaler tool such as Karpenter.
On Tue, Sep 6, 2022 at 7:28 AM Matt Wise @.***> wrote:
I don't understand this PR - the PR replaces all of the component-level settings with a single global setting burried under .Values.distributor. Why not follow the much more standard practice of allowing operators to define their own PDB:
{{- with .Values.$component.podDisruptionBudget }}podDisruptionBudget: {{ toYaml . | nindent XX }}{{- end }}
This PR seems flawed to me.. unless I am missing something here.
— Reply to this email directly, view it on GitHub https://github.com/grafana/helm-charts/pull/1460#issuecomment-1238231198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOO5VQVKJH3L72MPQ3OWVLV45IJBANCNFSM5YD7BNTQ You are receiving this because you authored thread.Message ID: @.***>