Kubernetes
Kubernetes Configuration
Health Probes
livenessProbe: httpGet: path: /live port: 3100 initialDelaySeconds: 5 periodSeconds: 10
readinessProbe: httpGet: path: /ready port: 3100 initialDelaySeconds: 2 periodSeconds: 5Prometheus ServiceMonitor
apiVersion: monitoring.coreos.com/v1kind: ServiceMonitormetadata: name: contractshieldspec: selector: matchLabels: app: contractshield endpoints: - port: metrics path: /metricsResource Limits
resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 256Mi