ml
This commit is contained in:
1 parent
21f04d696b
commit
8f5c267444
26 files changed
+3039
-10
No files matched your search
@@ -111,6 +111,8 @@ spec:
|
||||
value: "15m"
|
||||
- name: OTEL_HONEYPOT_TTL
|
||||
value: "1h"
|
||||
- name: OTEL_NEEDLE_ADDR
|
||||
value: "http://127.0.0.1:5005"
|
||||
volumeMounts:
|
||||
- name: log-dir
|
||||
mountPath: /logs
|
||||
@@ -135,6 +137,40 @@ spec:
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
- name: needle-sidecar
|
||||
image: matst80/needle-sidecar:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 5005
|
||||
name: needle-http
|
||||
env:
|
||||
- name: HOME
|
||||
value: "/app"
|
||||
- name: NEEDLE_PORT
|
||||
value: "5005"
|
||||
- name: NEEDLE_HOST
|
||||
value: "0.0.0.0"
|
||||
- name: NEEDLE_TELEMETRY
|
||||
value: "0"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: needle-http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 15
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: needle-http
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
cpu: "4000m"
|
||||
volumes:
|
||||
- name: log-dir
|
||||
emptyDir: {}
|
||||
|
||||
Reference in new issue
Block a user