Resolving PodDisruptionBudgets Conflicts in Clickhouse Restart
TLDR Al encountered PodDisruptionBudgets conflicts on ClickHouse restart, which interfered with Kubernetes upgrade. Prashant assured that only one PDB should remain in the new chart. Al later confirmed successful remediation.
1
1
Jul 18, 2023 (2 months ago)
Al
08:14 PMI notice when restarting clickhouse, the following events occur:
Pod "chi-signoz-clickhouse-cluster-0-0-0" matches multiple PodDisruptionBudgets. Chose "signoz-clickhouse-cluster" arbitrarily.
Pod "chi-signoz-clickhouse-cluster-0-0-0" matches multiple PodDisruptionBudgets. Chose "signoz-clickhouse" arbitrarily.
This also seemed to interfere with upgrading kubernetes:
(UpgradeFailed) Drain of aks-node did not complete: Evict blocked by conflicting disruption budgets on pod chi-signoz-clickhouse-cluster-0-0-0 on node aks-node: chi-signoz-clickho
use-cluster-0-0-0. See http://aka.ms/aks/debugdrainfailures
Code: UpgradeFailed
Message: Drain of aks-node did not complete: Evict blocked by conflicting disruption budgets on pod chi-signoz-clickhouse-cluster-0-0-0 on node aks-node: chi-signoz-clickhouse-cluster-0-0-0.
1
Jul 19, 2023 (2 months ago)
Prashant
06:32 PMThere should be only one PDB
signoz-clickhouse-cluster
in signoz-0.19.x
chart.Ref: https://github.com/Altinity/clickhouse-operator/blob/release-0.21.2/pkg/model/creator.go#L838
Have you followed all steps from v0.23 migration docs before upgrading?
Al
06:35 PMAl
06:35 PMPrashant
06:48 PMAl
06:51 PMThanks!
1
SigNoz Community
Indexed 826 threads (62% resolved)
Similar Threads
SigNoz crashing in k8s due to ClickHouse OOM
Travis reported SigNoz crashing in k8s due to ClickHouse OOM. The team suggested increasing resources for ClickHouse, and other troubleshooting steps, but the issue remains unresolved.
Issues with SigNoz Setup and Data Persistence in AKS
Vaibhavi experienced issues setting up SigNoz in AKS, and faced data persistence issues after installation. Srikanth provided guidance on ClickHouse version compatibility and resource requirements, helping Vaibhavi troubleshoot and resolve the issue.
Error Upgrading Chart Version in Kubernetes Environment
Manikandan encountered an error when upgrading to a different chart version. Srikanth helps correct the mistake by suggesting to pull the new releases and upgrade.