According to the business requirements, we have developed the service of admission webhook of k8s, and we need to limit the resources when we deploy it (resourcs.requests.*,resources.limits.*).
apiVersion: apps/v1
kind: Deployment
...
resources:
limits:
cpu: ?m
memory: ?Mi
requests:
cpu: ?m
memory: ?Mi
...
But I don't know how to stress test it to set the appropriate resource values
Is there a suitable method or tool to achieve my needs? I really appreciate any help with this.