-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
daskjob.yaml
69 lines (69 loc) · 2.05 KB
/
daskjob.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: daskjobs.kubernetes.dask.org
spec:
scope: Namespaced
group: kubernetes.dask.org
names:
kind: DaskJob
plural: daskjobs
singular: daskjob
shortNames:
- djb
versions:
- name: v1
served: true
storage: true
additionalPrinterColumns:
- name: Status
type: string
jsonPath: .status.jobStatus
- name: Number Of Workers
type: integer
jsonPath: .spec.cluster.spec.worker.replicas
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
schema:
openAPIV3Schema:
type: object
properties:
status:
properties:
clusterName:
type: string
endTime:
type: string
format: date-time
nullable: true
jobRunnerPodName:
type: string
nullable: true
jobStatus:
type: string
nullable: true
startTime:
type: string
format: date-time
nullable: true
required:
- jobStatus
type: object
spec:
type: object
required:
- cluster
- job
properties:
job:
type: object
properties:
metadata:
$ref: 'python://dask_kubernetes/operator/customresources/templates.yaml#/definitions/dask.k8s.api.v1.SimpleObjectMeta'
spec:
$ref: 'python://k8s_crd_resolver/schemata/k8s-1.21.1.json#/definitions/io.k8s.api.core.v1.PodSpec'
cluster:
$ref: 'python://dask_kubernetes/operator/customresources/templates.yaml#/definitions/dask.k8s.api.v1.DaskCluster'
subresources:
status: {}