my prefect server setup prefect-metrics.waow.tech
python orchestration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 54 lines 1.1 kB view raw
1apiVersion: apps/v1 2kind: Deployment 3metadata: 4 name: hub 5 namespace: prefect 6spec: 7 replicas: 1 8 selector: 9 matchLabels: 10 app: hub 11 template: 12 metadata: 13 labels: 14 app: hub 15 spec: 16 imagePullSecrets: 17 - name: atcr-creds 18 containers: 19 - name: hub 20 image: atcr.io/zzstoatzz.io/hub:latest 21 imagePullPolicy: Always 22 ports: 23 - containerPort: 3000 24 env: 25 - name: DUCKDB_PATH 26 value: /analytics/analytics.duckdb 27 volumeMounts: 28 - name: analytics 29 mountPath: /analytics 30 readOnly: true 31 resources: 32 requests: 33 memory: 64Mi 34 cpu: 50m 35 limits: 36 memory: 256Mi 37 cpu: 500m 38 volumes: 39 - name: analytics 40 hostPath: 41 path: /var/lib/prefect-analytics 42 type: Directory 43--- 44apiVersion: v1 45kind: Service 46metadata: 47 name: hub 48 namespace: prefect 49spec: 50 selector: 51 app: hub 52 ports: 53 - port: 3000 54 targetPort: 3000