first claude draft
This commit is contained in:
33
k8s/base/alerts/deployment.yaml
Normal file
33
k8s/base/alerts/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: alerts
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: alerts
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: alerts
|
||||
spec:
|
||||
containers:
|
||||
- name: alerts
|
||||
image: sysmonstm/alerts:latest
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: alerts-config
|
||||
env:
|
||||
- name: TIMESCALE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: timescaledb-secret
|
||||
key: password
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "200m"
|
||||
Reference in New Issue
Block a user