Abhishek R Prasad
04/25/2025, 8:14 AMLee Turner
04/25/2025, 8:21 AMAbhishek R Prasad
04/25/2025, 8:34 AMapiVersion: apps/v1
kind: Deployment
metadata:
name: mec-cc-wiremock-cdt
namespace: mec-carrier-connector-cdt
labels:
app: wiremock-custom
spec:
replicas: 1
selector:
matchLabels:
app: mec-cc-wiremock-cdt
template:
metadata:
labels:
app: mec-cc-wiremock-cdt
spec:
volumes:
- name: mec-cc-wiremock-cdt-storage
persistentVolumeClaim:
claimName: mec-cc-wiremock-storage
containers:
- name: mec-cc-wiremock-custom-cdt
image: wiremock/wiremock:3.12.1-1
volumeMounts:
- name: mec-cc-wiremock-cdt-storage
mountPath: /mnt/azure
ports:
- containerPort: 8080
securityContext:
allowPrivilegeEscalation: false
resources:
limits:
cpu: 3500m
memory: 7Gi
requests:
cpu: 2750m
memory: 5Gi
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
please let me know if I need to change anything.Lee Turner
04/25/2025, 8:37 AMAbhishek R Prasad
04/25/2025, 8:44 AMAbhishek R Prasad
04/25/2025, 8:45 AMLee Turner
04/25/2025, 8:53 AM--no-request-journal --disable-request-logging
. I would also consider setting --max-template-cache-entries
to a lower value if the memory is still an issue. The cache helps on the performance side of things so you will need to balance the memory requirements you have over the load test requirements.
It is important to note that setting the above parameters will turn off the request journal and request logging so you won't have the request data after the test. This tends not to be as important for load tests but worth notingAbhishek R Prasad
04/25/2025, 9:35 AMAbhishek R Prasad
04/25/2025, 2:46 PMLee Turner
04/25/2025, 2:47 PM