Unverified Commit e59a1416 authored by Douglas Duteil's avatar Douglas Duteil Committed by GitHub
Browse files

fix(k8s): review request limit and hpa (#50)

parent dfd79b0c
......@@ -35,7 +35,7 @@ const manifests = create("api", {
},
resources: {
requests: {
cpu: "100m",
cpu: "10m",
memory: "1.5Gi",
},
// cpu=1000, memory=3Gi offers 17req/s
......@@ -63,7 +63,7 @@ const hpa = new HorizontalPodAutoscaler({
resource: {
name: "cpu",
target: {
averageUtilization: 80,
averageUtilization: 4000,
type: "Utilization",
},
},
......@@ -73,7 +73,7 @@ const hpa = new HorizontalPodAutoscaler({
resource: {
name: "memory",
target: {
averageUtilization: 80,
averageUtilization: 100,
type: "Utilization",
},
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment