Merge pull request #40 from aggarwalakshun/pulse

Add Pulse deployment, service, and PVC configurations
This commit is contained in:
aggarwalakshun
2025-10-15 13:54:53 +05:30
committed by GitHub
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pulse-longhorn
namespace: monitoring
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 100Mi
storageClassName: longhorn

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: pulse-service
namespace: monitoring
spec:
type: LoadBalancer
selector:
app: pulse
ports:
- port: 7655
targetPort: 7655

View File

@@ -0,0 +1,30 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pulse
namespace: monitoring
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: pulse
template:
metadata:
labels:
app: pulse
spec:
containers:
- name: pulse
image: rcourtman/pulse:4.22.0
volumeMounts:
- name: pulse-data
mountPath: /data
env:
- name: ALLOWED_ORIGINS
value: "*"
volumes:
- name: pulse-data
persistentVolumeClaim:
claimName: pulse-longhorn