Skip to content

Commit

Permalink
Merge pull request #23 from cloudkite-io/knative-serving-resource-par…
Browse files Browse the repository at this point in the history
…ameters

Add support for `net-istio-controller` resource modifications
  • Loading branch information
martinmbaya authored Jan 4, 2024
2 parents 2329eae + 47c0905 commit 04c5d78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 1 addition & 6 deletions knative-serving/templates/net-istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,7 @@ spec:
# and substituted here.
image: gcr.io/knative-releases/knative.dev/net-istio/cmd/controller@sha256:27e7beb7c62036216fc464fb2181e56b030158ad4ceb57a7de172f54b4fe43db
resources:
requests:
cpu: 30m
memory: 40Mi
limits:
cpu: 300m
memory: 400Mi
{{- toYaml .Values.resources.netIstioController | nindent 12 }}
env:
- name: SYSTEM_NAMESPACE
valueFrom:
Expand Down
10 changes: 9 additions & 1 deletion knative-serving/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2023,4 +2023,12 @@ configObservability:
# the pods via an HTTP server in the format expected by the pprof visualization tool. When
# enabled, the Knative Serving pods expose the profiling data on an alternate HTTP port 8008.
# The HTTP context root for profiling is then /debug/pprof/.
profiling.enable: "false"
profiling.enable: "false"
resources:
netIstioController:
requests:
cpu: 30m
memory: 40Mi
limits:
cpu: 300m
memory: 400Mi

0 comments on commit 04c5d78

Please sign in to comment.