f5devcentral / volt-demo-app

The Unlicense
6 stars 6 forks source link

Implement Granular Pod Usage Limits #30

Closed kreynoldsf5 closed 2 years ago

kreynoldsf5 commented 3 years ago

We're bumping up against quota usage limitations within a single vk8s. We need to implement more granular control of container resource limits within our pods.

In deployment.spec

    resources:
      limits:
        memory: "200Mi"
      requests:
        memory: "100Mi"

With Workload flavors

See limits here. We could create our own flavor (under 'shared' namespace) and assign it. Note this endpoint is not covered in the TF provider.

kreynoldsf5 commented 2 years ago

This not supported on an RE. Usage limits must be enforced via the "workload_flavor' annotation.

  annotations:
    ves.io/workload-flavor: ves-io-medium