chore: setup boilerplate for particle processor worker

This sets up an example of listening to firestore data and reacting. It
also sets up our first worker in the kubernetes cluster.
This commit is contained in:
talksik
2026-03-25 09:52:23 -07:00
parent 86bdc78852
commit d8a45b22d3
6 changed files with 126 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: particleprocessorworker
spec:
selector:
matchLabels:
app: particleprocessorworker
replicas: 1
template:
metadata:
labels:
app: particleprocessorworker
spec:
serviceAccountName: default-service-account
nodeSelector:
cloud.google.com/gke-spot: "true"
terminationGracePeriodSeconds: 15
containers:
- name: particleprocessorworker
image: "particleprocessorworker"
resources:
requests:
memory: "52Mi"
cpu: 50m
limits:
memory: "52Mi"
cpu: 50m
env:
- name: "GCP_PROJECT"
value: "flowy-dev-440017"