diff --git a/clusters/default/monitoring/pulse/pulse-pvc.yml b/clusters/default/monitoring/pulse/pulse-pvc.yml new file mode 100644 index 0000000..f4bf808 --- /dev/null +++ b/clusters/default/monitoring/pulse/pulse-pvc.yml @@ -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 diff --git a/clusters/default/monitoring/pulse/pulse-svc.yml b/clusters/default/monitoring/pulse/pulse-svc.yml new file mode 100644 index 0000000..ff98d1e --- /dev/null +++ b/clusters/default/monitoring/pulse/pulse-svc.yml @@ -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 diff --git a/clusters/default/monitoring/pulse/pulse.yml b/clusters/default/monitoring/pulse/pulse.yml new file mode 100644 index 0000000..65bf32e --- /dev/null +++ b/clusters/default/monitoring/pulse/pulse.yml @@ -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