Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resources to our system components. #2532

Merged
merged 1 commit into from
Nov 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config/activator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ spec:
# and seeing k8s logs in addition to ours is not useful.
- "-logtostderr=false"
- "-stderrthreshold=FATAL"
resources:
# Request 2x what we saw running e2e
requests:
cpu: 20m
memory: 60Mi
# Limit to 10x the request (20x the observed peak during e2e)
limits:
cpu: 200m
memory: 600Mi
env:
- name: POD_NAME
valueFrom:
Expand Down
9 changes: 9 additions & 0 deletions config/autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ spec:
# This is the Go import path for the binary that is containerized
# and substituted here.
image: github.com/knative/serving/cmd/autoscaler
resources:
# Request 2x what we saw running e2e
requests:
cpu: 30m
memory: 40Mi
# Limit to 10x the request (20x the observed peak during e2e)
limits:
cpu: 300m
memory: 400Mi
ports:
- name: websocket
containerPort: 8080
Expand Down
9 changes: 9 additions & 0 deletions config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ spec:
# This is the Go import path for the binary that is containerized
# and substituted here.
image: github.com/knative/serving/cmd/controller
resources:
# Request 2x what we saw running e2e
requests:
cpu: 100m
memory: 100Mi
# Limit to 10x the request (20x the observed peak during e2e)
limits:
cpu: 1000m
memory: 1000Mi
ports:
- name: metrics
containerPort: 9090
Expand Down
9 changes: 9 additions & 0 deletions config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ spec:
# This is the Go import path for the binary that is containerized
# and substituted here.
image: github.com/knative/serving/cmd/webhook
resources:
# Request 2x what we saw running e2e
requests:
cpu: 20m
memory: 20Mi
# Limit to 10x the request (20x the observed peak during e2e)
limits:
cpu: 200m
memory: 200Mi
volumeMounts:
- name: config-logging
mountPath: /etc/config-logging
Expand Down