bcgov / DITP-DevOps

Digital Identity and Trust Program Team's DevOps Documentation Repository
Apache License 2.0
2 stars 5 forks source link

Traction database instances being heavily throttled in Traction (bc0192) environments #180

Closed WadeBarnes closed 6 months ago

WadeBarnes commented 6 months ago

The Traction database instances are being throttled at >60% on average. Review and adjust the CPU resource allocations, primarily the CPU limit to reduce or eliminate the throttling. The goal should be to reduce throttling to <25% on average. For production an even lower average may be desirable.

These metrics can be easily reviewed using the Namespace Monitoring dashboard available through Grafana in our new monitoring stack.

WadeBarnes commented 6 months ago

bc0192-dev

bc0192-test

bc0192-prod

WadeBarnes commented 6 months ago

@i5okie, Where should these changes (values file) be made?

i5okie commented 6 months ago

These get applied directly to postgrescluster CR. these live in trust-over-ip-configurations repo. Applied with kubectl apply -k bc0192/dev From the kustomize directory.

Though, a couple have been applied with ArgoCD. In ministry-gitops-ditp repo.

i5okie commented 6 months ago

Will continue monitoring in Grafana to make sure the changes have fixed the issue.

i5okie commented 6 months ago

Changes successfully resolved the throttling issue.