Description:
When deploying a Percona XtraDB Cluster using everest-1.7.0
with pmm-client
monitoring enabled, the pmm-client
container is OOMKilled (Exit Code 137
) within about one minute of startup. The generated Pod spec sets an unrealistically large memory limit (214643507200m
, i.e., 214 TB), which leads to container termination due to memory constraints on the actual node.
Steps to Reproduce
- Use
everest-1.7.0
to deploy a PXC cluster withpmm-client
enabled. - Wait for pods to start.
- Observe that the
pxc-0
pod’spmm-client
container exits with code137
.
Observed Pod Spec (Fragment)
yaml
CopyEdit
resources:
limits:
cpu: 240m
memory: 214643507200m
requests:
cpu: 228m
memory: 199168Ki
Actual Behavior
pmm-client
container is terminated withExit Code 137
(OOMKilled).- Node lacks sufficient memory to honor the inflated limit, triggering kernel OOM killer.
Expected Behavior
- Reasonable and consistent resource limits and requests for the
pmm-client
, such as:
yaml
CopyEdit
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
Environment
- Everest version:
1.7.0
- PMM client image:
percona/pmm-client:2