Skip to content

Commit

Permalink
Merge pull request #530 from vshn/fix/pg_sidecar_resources
Browse files Browse the repository at this point in the history
Adjust PostgreSQL sidecar limits
  • Loading branch information
Kidswiss authored Nov 11, 2024
2 parents b7989ad + 1fc8923 commit 1e3c5ca
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -584,14 +584,14 @@ parameters:
cpu: "32m"
memory: "64Mi"
limits:
cpu: "64m"
cpu: "500m"
memory: "64Mi"
pgbouncer:
requests:
cpu: "16m"
memory: "4Mi"
limits:
cpu: "32m"
cpu: "500m"
memory: "20Mi"
postgresUtil:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "256Mi"}, "requests":
{"cpu": "32m", "memory": "128Mi"}}, "createBackup": {"limits": {"cpu": "400m",
"memory": "500Mi"}, "requests": {"cpu": "100m", "memory": "64Mi"}}, "envoy": {"limits":
{"cpu": "64m", "memory": "64Mi"}, "requests": {"cpu": "32m", "memory": "64Mi"}},
"pgbouncer": {"limits": {"cpu": "32m", "memory": "20Mi"}, "requests": {"cpu":
{"cpu": "500m", "memory": "64Mi"}, "requests": {"cpu": "32m", "memory": "64Mi"}},
"pgbouncer": {"limits": {"cpu": "500m", "memory": "20Mi"}, "requests": {"cpu":
"16m", "memory": "4Mi"}}, "postgresUtil": {"limits": {"cpu": "20m", "memory":
"20Mi"}, "requests": {"cpu": "10m", "memory": "4Mi"}}, "prometheusPostgresExporter":
{"limits": {"cpu": "150m", "memory": "256Mi"}, "requests": {"cpu": "10m", "memory":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ spec:
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "256Mi"},
"requests": {"cpu": "32m", "memory": "128Mi"}}, "createBackup": {"limits":
{"cpu": "400m", "memory": "500Mi"}, "requests": {"cpu": "100m", "memory":
"64Mi"}}, "envoy": {"limits": {"cpu": "64m", "memory": "64Mi"}, "requests":
{"cpu": "32m", "memory": "64Mi"}}, "pgbouncer": {"limits": {"cpu": "32m",
"64Mi"}}, "envoy": {"limits": {"cpu": "500m", "memory": "64Mi"}, "requests":
{"cpu": "32m", "memory": "64Mi"}}, "pgbouncer": {"limits": {"cpu": "500m",
"memory": "20Mi"}, "requests": {"cpu": "16m", "memory": "4Mi"}}, "postgresUtil":
{"limits": {"cpu": "20m", "memory": "20Mi"}, "requests": {"cpu": "10m",
"memory": "4Mi"}}, "prometheusPostgresExporter": {"limits": {"cpu": "150m",
Expand Down
4 changes: 2 additions & 2 deletions tests/golden/vshn/appcat/appcat/20_plans_vshn_postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "256Mi"}, "requests":
{"cpu": "32m", "memory": "128Mi"}}, "createBackup": {"limits": {"cpu": "400m",
"memory": "500Mi"}, "requests": {"cpu": "100m", "memory": "64Mi"}}, "envoy": {"limits":
{"cpu": "64m", "memory": "64Mi"}, "requests": {"cpu": "32m", "memory": "64Mi"}},
"pgbouncer": {"limits": {"cpu": "32m", "memory": "20Mi"}, "requests": {"cpu":
{"cpu": "500m", "memory": "64Mi"}, "requests": {"cpu": "32m", "memory": "64Mi"}},
"pgbouncer": {"limits": {"cpu": "500m", "memory": "20Mi"}, "requests": {"cpu":
"16m", "memory": "4Mi"}}, "postgresUtil": {"limits": {"cpu": "20m", "memory":
"20Mi"}, "requests": {"cpu": "10m", "memory": "4Mi"}}, "prometheusPostgresExporter":
{"limits": {"cpu": "150m", "memory": "256Mi"}, "requests": {"cpu": "10m", "memory":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ spec:
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "256Mi"},
"requests": {"cpu": "32m", "memory": "128Mi"}}, "createBackup": {"limits":
{"cpu": "400m", "memory": "500Mi"}, "requests": {"cpu": "100m", "memory":
"64Mi"}}, "envoy": {"limits": {"cpu": "64m", "memory": "64Mi"}, "requests":
{"cpu": "32m", "memory": "64Mi"}}, "pgbouncer": {"limits": {"cpu": "32m",
"64Mi"}}, "envoy": {"limits": {"cpu": "500m", "memory": "64Mi"}, "requests":
{"cpu": "32m", "memory": "64Mi"}}, "pgbouncer": {"limits": {"cpu": "500m",
"memory": "20Mi"}, "requests": {"cpu": "16m", "memory": "4Mi"}}, "postgresUtil":
{"limits": {"cpu": "20m", "memory": "20Mi"}, "requests": {"cpu": "10m",
"memory": "4Mi"}}, "prometheusPostgresExporter": {"limits": {"cpu": "150m",
Expand Down

0 comments on commit 1e3c5ca

Please sign in to comment.