cf-for-k8s
cf-for-k8s copied to clipboard
Istio-Proxy sidecar resource requirements overly excessive
Describe the bug
The resource requirements configured for the Istio-Proxy sidecar for app instances seems to be a rather excessive, especially when compared to pushing a small golang app for example. In our environment this has caused apps to be unschedulable due to resource constraints from the K8s scheduler/nodes.
To Reproduce*
Steps to reproduce the behavior:
-
cf push my-small-golang-app -m 16m
-
kubectl -n cf-workloads describe pod/<app-instance-pod>
opi:
Limits:
ephemeral-storage: 64M
memory: 16M
Requests:
cpu: 10m
ephemeral-storage: 64M
memory: 16M
istio-proxy:
Limits:
cpu: 2
memory: 1Gi
Requests:
cpu: 100m
memory: 128Mi
Expected behavior
Istio-Proxy should not have such excessive resource requests/limits set, when compared to an app that itself only requests 10m,16Mi itself.
cf-for-k8s SHA
https://github.com/cloudfoundry/cf-for-k8s/tree/7c65597af7a4de935994813658a5db182fbecac9
Cluster information
PKS