-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathminnietask.yml
More file actions
59 lines (59 loc) · 1.54 KB
/
minnietask.yml
File metadata and controls
59 lines (59 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: minnietask-cpu2
name: minnietask-cpu2
spec:
replicas: 300
selector:
matchLabels:
run: minnietask-cpu2
strategy:
rollingUpdate:
maxSurge: 100%
maxUnavailable: 100%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: minnietask-cpu2
spec:
containers:
- image: caveconnectome/minnietask:h01-4
name: minnietask-cpu2
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args:
[
"-c",
"while true; do uv run python -u worker.py https://sqs.us-west-2.amazonaws.com/629034007606/forrest 240; done",
]
env:
- name: CLOUDSDK_CORE_PROJECT
value: ${CLOUDSDK_CORE_PROJECT}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: "/root/.cloudvolume/secrets/google-secret.json"
- name: BUMP
value: "test2"
resources:
requests:
cpu: 200m
memory: 300Mi
volumeMounts:
- name: secrets
mountPath: /root/.cloudvolume/secrets
readOnly: true
- name: boto
mountPath: /root/.boto
readOnly: true
subPath: minimal_boto
dnsPolicy: Default
volumes:
- name: secrets
secret:
secretName: secretsh01
- name: boto
secret:
secretName: boto