Mercurial > code > home > repos > gcalendarwatch
annotate deploy.yaml @ 91:62caecb41dfd default tip
fix tag
author | drewp@bigasterisk.com |
---|---|
date | Fri, 03 Jan 2025 18:06:13 -0800 |
parents | 84141ef00bd7 |
children |
rev | line source |
---|---|
15 | 1 apiVersion: apps/v1 |
2 kind: Deployment | |
3 metadata: | |
4 name: gcalendarwatch | |
5 spec: | |
6 replicas: 1 | |
7 selector: | |
8 matchLabels: | |
9 app: gcalendarwatch | |
10 template: | |
11 metadata: | |
12 labels: | |
13 app: gcalendarwatch | |
14 spec: | |
15 containers: | |
16 - name: gcalendarwatch | |
36 | 17 image: reg:5000/gcalendarwatch_image |
15 | 18 ports: |
31
6f0b31ac587e
project setup and projects.bigasterisk.com deps
drewp@bigasterisk.com
parents:
26
diff
changeset
|
19 - containerPort: 8000 |
26 | 20 command: |
21 - pdm | |
22 - run | |
23 - uvicorn | |
24 - '--port=8000' | |
25 - '--host=0.0.0.0' | |
87 | 26 # - '--reload' |
26 | 27 - 'gcalendarwatch:app' |
59 | 28 - name: calsync |
29 image: reg:5000/gcalendarwatch_calsync_image | |
30 ports: | |
31 - containerPort: 8080 | |
32 command: | |
33 - /opt/calsync | |
15 | 34 --- |
35 apiVersion: v1 | |
36 kind: Service | |
37 metadata: | |
38 name: gcalendarwatch | |
39 spec: | |
40 ports: | |
26 | 41 - {port: 80, targetPort: 8000, name: metrics} |
59 | 42 - {port: 8080, targetPort: 8080, name: calsync} |
15 | 43 selector: |
44 app: gcalendarwatch | |
45 | |
46 |