diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index bad072c..ee7c6bd 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -22,7 +22,23 @@ spec: image: '{{ .Values.image.tag }}' ports: - containerPort: 8080 - resources: {} + resources: + limits: + cpu: 300m + memory: 750Mi + requests: + cpu: 200m + memory: 512Mi + readinessProbe: + httpGet: + path: /api/ruleData/list?page=1&pageSize=10 + port: 3000 + scheme: HTTP + initialDelaySeconds: 10 + timeoutSeconds: 1 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File imagePullPolicy: Always