fix(consul): normalize cpu limit to canonical string form #164

Merged
unkinben merged 1 commits from benvin/consul-outsync-fix into main 2026-05-25 22:43:35 +10:00
Owner

Summary

  • Changes server.resources.limits.cpu from 1000m to "1" in consul Helm values

Why

1000m (1000 milliCPU) is equivalent to 1 CPU, but Kubernetes normalizes the value to "1" when storing. ArgoCD diffs desired vs live by string comparison, so the mismatch causes a permanent OutOfSync on the consul-server StatefulSet. Same root cause as #163.

## Summary - Changes `server.resources.limits.cpu` from `1000m` to `"1"` in consul Helm values ## Why `1000m` (1000 milliCPU) is equivalent to `1` CPU, but Kubernetes normalizes the value to `"1"` when storing. ArgoCD diffs desired vs live by string comparison, so the mismatch causes a permanent OutOfSync on the `consul-server` StatefulSet. Same root cause as #163.
unkinben added 1 commit 2026-05-24 23:49:53 +10:00
fix(consul): normalize cpu limit to canonical string form
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
2a5c80a357
1000m is equivalent to 1 CPU, but Kubernetes normalizes it to "1" on
write. ArgoCD string-compares desired vs live, causing permanent
OutOfSync on the consul-server StatefulSet. Same root cause as #163.
unkinben merged commit ac8b8212bd into main 2026-05-25 22:43:35 +10:00
unkinben deleted branch benvin/consul-outsync-fix 2026-05-25 22:43:35 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#164