forked from WakeupTsai/tensorflow-applications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yolo.yaml
38 lines (38 loc) · 950 Bytes
/
yolo.yaml
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
apiVersion: "kubeflow.org/v1alpha1"
kind: "TFJob"
metadata:
name: "yolo"
spec:
replicaSpecs:
- replicas: 1
tfReplicaType: MASTER
template:
spec:
containers:
- image: recolic/tfapp-yolo:latest
name: tensorflow
resources:
requests:
cpu: 100m
memory: 1200Mi
restartPolicy: OnFailure
- replicas: 1
tfReplicaType: WORKER
template:
spec:
containers:
- image: recolic/tfapp-yolo:latest
name: tensorflow
resources:
requests:
cpu: 100m
memory: 1200Mi
restartPolicy: OnFailure
- replicas: 1
tfReplicaType: PS
template:
spec:
containers:
- image: recolic/tfapp-yolo:latest
name: tensorflow
restartPolicy: OnFailure