Mercurial > code > home > repos > sco-bot
comparison k8s/deploy.yaml @ 16:7a87ba2f00d9
reformat, fix some types, make more async
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Jul 2024 00:49:38 -0700 |
parents | 6ed25bcaaf1f |
children | a527228aa353 |
comparison
equal
deleted
inserted
replaced
15:6ed25bcaaf1f | 16:7a87ba2f00d9 |
---|---|
44 - scobot | 44 - scobot |
45 ports: | 45 ports: |
46 - containerPort: 8001 | 46 - containerPort: 8001 |
47 name: server | 47 name: server |
48 volumeMounts: | 48 volumeMounts: |
49 - name: sco-bot-data | 49 - name: sco-bot-data |
50 mountPath: /opt/data | 50 mountPath: /opt/data |
51 | 51 |
52 - name: prefect | 52 - name: prefect |
53 image: reg:5000/sco_bot_server | 53 image: reg:5000/sco_bot_server |
54 securityContext: { runAsUser: 1020 } | 54 securityContext: { runAsUser: 1020 } |
55 workingDir: /opt | 55 workingDir: /opt |
61 - run_prefect_server | 61 - run_prefect_server |
62 ports: | 62 ports: |
63 - containerPort: 4200 | 63 - containerPort: 4200 |
64 name: prefect | 64 name: prefect |
65 volumeMounts: | 65 volumeMounts: |
66 - name: sco-bot-data | 66 - name: sco-bot-data |
67 mountPath: /opt/data | 67 mountPath: /opt/data |
68 | 68 |
69 - name: build-flow | 69 - name: build-flow |
70 image: reg:5000/sco_bot_server | 70 image: reg:5000/sco_bot_server |
71 securityContext: { runAsUser: 1020 } | 71 securityContext: { runAsUser: 1020 } |
72 workingDir: /opt | 72 workingDir: /opt |
75 value: http://localhost:4200/api | 75 value: http://localhost:4200/api |
76 command: | 76 command: |
77 - pdm | 77 - pdm |
78 - run_build_flow | 78 - run_build_flow |
79 volumeMounts: | 79 volumeMounts: |
80 - name: sco-bot-data | 80 - name: sco-bot-data |
81 mountPath: /opt/data | 81 mountPath: /opt/data |
82 | 82 |
83 affinity: | 83 affinity: |
84 nodeAffinity: | 84 nodeAffinity: |
85 requiredDuringSchedulingIgnoredDuringExecution: | 85 requiredDuringSchedulingIgnoredDuringExecution: |
86 nodeSelectorTerms: | 86 nodeSelectorTerms: |
87 - matchExpressions: | 87 - matchExpressions: |
88 - key: "kubernetes.io/hostname" | 88 - key: "kubernetes.io/hostname" |
89 operator: In | 89 operator: In |
90 values: ["ditto", "dash"] # need /my/serv | 90 values: ["ditto", "dash"] # need /my/serv |