diff --git a/config/manager/all_in_one.yaml b/config/manager/all_in_one.yaml index f5c5a022..57060442 100644 --- a/config/manager/all_in_one.yaml +++ b/config/manager/all_in_one.yaml @@ -12,441 +12,447 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: creationTimestamp: null - name: kubedl-manager-role + name: manager-role rules: - - apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - configmaps/status - verbs: - - get - - patch - - update - - apiGroups: - - "" - resources: - - events - verbs: - - create - - get - - list - - patch - - apiGroups: - - "" - resources: - - nodes - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - namespaces - verbs: - - list - - watch - - apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - pods - - pods/log - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - pods/status - verbs: - - get - - patch - - update - - apiGroups: - - "" - resources: - - services - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - services/status - verbs: - - get - - patch - - update - - apiGroups: - - apps - resources: - - deployments - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - apps.kubedl.io - resources: - - crons - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - apps.kubedl.io - resources: - - crons/status - verbs: - - get - - patch - - update - - apiGroups: - - model.kubedl.io - resources: - - models - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - model.kubedl.io - resources: - - models/status - verbs: - - get - - patch - - update - - apiGroups: - - model.kubedl.io - resources: - - modelversions - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - model.kubedl.io - resources: - - modelversions/status - verbs: - - get - - patch - - update - - apiGroups: - - networking.k8s.io - resources: - - ingresses - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - notebook.kubedl.io - resources: - - notebooks - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - notebook.kubedl.io - resources: - - notebooks/status - verbs: - - get - - patch - - update - - apiGroups: - - scheduling.incubator.k8s.io - - scheduling.sigs.dev - - scheduling.volcano.sh - resources: - - podgroups - - queues - verbs: - - '*' - - apiGroups: - - serving.kubedl.io - resources: - - inferences - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - serving.kubedl.io - resources: - - inferences/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - elasticdljobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - elasticdljobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - marsjobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - marsjobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - mpijobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - mpijobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - pytorchjobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - pytorchjobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - tfjobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - tfjobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - xdljobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - xdljobs/status - verbs: - - get - - patch - - update - - apiGroups: - - training.kubedl.io - resources: - - xgboostjobs - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - training.kubedl.io - resources: - - xgboostjobs/status - verbs: - - get - - patch - - update - - apiGroups: - - inference.kubedl.io - resources: - - elasticbatchjobs - verbs: - - get - - list - - watch - - create - - update - - patch - - delete - - apiGroups: - - inference.kubedl.io - resources: - - elasticbatchjobs/status - verbs: - - get - - list - - watch - - create - - update - - patch - - delete - - apiGroups: - - cache.kubedl.io - resources: - - cachebackends - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - cache.kubedl.io - resources: - - cachebackends/status - verbs: - - get - - update - - patch - - apiGroups: - - apps.kruise.io - resources: - - containerrecreaterequests - - containerrecreaterequests/status - verbs: - - '*' +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps/status + verbs: + - get + - patch + - update +- apiGroups: + - "" + resources: + - events + verbs: + - create + - get + - list + - patch +- apiGroups: + - "" + resources: + - namespaces # namespaces has been swapped with nodes from line 57 to line 49. + verbs: + - get + - list # watch has been removed and get has been added instead to be in sync with role.yaml. +- apiGroups: + - "" + resources: + - nodes # nodes has been swapped with namespaces from line 49 to line 56. + verbs: + - get + - list +# - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - pods +# - pods/log + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - pods/status + verbs: + - get + - patch + - update +- apiGroups: + - "" + resources: + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - services/status + verbs: + - get + - patch + - update +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps.kubedl.io + resources: + - crons + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps.kubedl.io + resources: + - crons/status + verbs: + - get + - patch + - update +- apiGroups: + - cache.kubedl.io # adding cache on line 159 from line 424. Total number of lines in cache = 20. + resources: + - cachebackends + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cache.kubedl.io + resources: + - cachebackends/status + verbs: + - get + - patch + - update +- apiGroups: + - inference.kubedl.io # adding inference on line 179 from line 400. Total number of lines in inference = 24. + resources: + - elasticbatchjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - inference.kubedl.io + resources: + - elasticbatchjobs/status + verbs: + - get +# - list +# - watch +# - create + - patch + - update +# - delete +- apiGroups: + - model.kubedl.io # moving model and beyond until serving from line 159 to line 203. Line Diff = 44 = Total number of lines in model + Total number of lines in inference. + resources: + - models + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - model.kubedl.io + resources: + - models/status + verbs: + - get + - patch + - update +- apiGroups: + - model.kubedl.io + resources: + - modelversions + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - model.kubedl.io + resources: + - modelversions/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - notebook.kubedl.io + resources: + - notebooks + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - notebook.kubedl.io + resources: + - notebooks/status + verbs: + - get + - patch + - update +- apiGroups: + - scheduling.incubator.k8s.io + - scheduling.sigs.dev + - scheduling.volcano.sh + resources: + - podgroups + - queues + verbs: + - '*' +- apiGroups: + - scheduling.sigs.k8s.io # adding scheduling.sigs.k8s.io on line 278. Total number of lines in scheduling = 6. + resources: + - podgroups + verbs: + - '*' +- apiGroups: + - serving.kubedl.io # moving serving and beyond from line 240 t0 line 290. Line Diff = 50 = Total number of lines in model + Total number of lines in scheduling + Total number of lines in inference. + resources: + - inferences + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - serving.kubedl.io + resources: + - inferences/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - elasticdljobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - elasticdljobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - marsjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - marsjobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - mpijobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - mpijobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - pytorchjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - pytorchjobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - tfjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - tfjobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - xdljobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io + resources: + - xdljobs/status + verbs: + - get + - patch + - update +- apiGroups: + - training.kubedl.io + resources: + - xgboostjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - training.kubedl.io # this portion moved from 392 to 442. Line Diff = 50 remained constant afterwards. + resources: + - xgboostjobs/status + verbs: + - get + - patch + - update +- apiGroups: + - apps.kruise.io + resources: + - containerrecreaterequests + - containerrecreaterequests/status + verbs: + - '*' --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -468,44 +474,44 @@ kind: ClusterRole metadata: name: kubedl-leader-election-role rules: - - apiGroups: - - "coordination.k8s.io" - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete - - apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete - - apiGroups: - - "" - resources: - - configmaps/status - verbs: - - get - - update - - patch - - apiGroups: - - "" - resources: - - events - verbs: - - create +- apiGroups: + - "coordination.k8s.io" + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - configmaps/status + verbs: + - get + - update + - patch +- apiGroups: + - "" + resources: + - events + verbs: + - create --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -516,9 +522,9 @@ roleRef: kind: ClusterRole name: kubedl-leader-election-role subjects: - - kind: ServiceAccount - name: default - namespace: kubedl-system +- kind: ServiceAccount + name: default + namespace: kubedl-system --- apiVersion: apps/v1 kind: Deployment diff --git a/helm/kubedl/Chart.yaml b/helm/kubedl/Chart.yaml index 98ab8de6..04e46104 100644 --- a/helm/kubedl/Chart.yaml +++ b/helm/kubedl/Chart.yaml @@ -21,4 +21,4 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 0.4.2 +appVersion: daily diff --git a/helm/kubedl/crds/cache.kubedl.io_cachebackends.yaml b/helm/kubedl/crds/cache.kubedl.io_cachebackends.yaml index bdd1205f..5e26c47e 100644 --- a/helm/kubedl/crds/cache.kubedl.io_cachebackends.yaml +++ b/helm/kubedl/crds/cache.kubedl.io_cachebackends.yaml @@ -17,12 +17,18 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .status.jobName - name: Job-Name + - jsonPath: .status.cacheEngine + name: Engine type: string - jsonPath: .status.cacheStatus - name: Cache-Status + name: Status type: string + - jsonPath: .status.usedNum + name: Used-Num + type: integer + - jsonPath: .status.lastUsedTime + name: Last-Used-Time + type: date - jsonPath: .metadata.creationTimestamp name: Age type: date @@ -75,13 +81,30 @@ spec: type: object mountPath: type: string + name: + type: string + options: + properties: + idleTime: + format: int64 + type: integer + type: object type: object status: properties: + cacheEngine: + type: string cacheStatus: type: string - jobName: + lastUsedTime: + format: date-time type: string + usedBy: + items: + type: string + type: array + usedNum: + type: integer type: object type: object served: true diff --git a/helm/kubedl/crds/notebook.kubedl.io_notebooks.yaml b/helm/kubedl/crds/notebook.kubedl.io_notebooks.yaml index f55d9137..87e53152 100644 --- a/helm/kubedl/crds/notebook.kubedl.io_notebooks.yaml +++ b/helm/kubedl/crds/notebook.kubedl.io_notebooks.yaml @@ -854,6 +854,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1429,6 +1431,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2012,6 +2016,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2138,6 +2144,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2226,6 +2233,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2526,6 +2535,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/crds/serving.kubedl.io_inferences.yaml b/helm/kubedl/crds/serving.kubedl.io_inferences.yaml index e6f75ca6..950b32de 100644 --- a/helm/kubedl/crds/serving.kubedl.io_inferences.yaml +++ b/helm/kubedl/crds/serving.kubedl.io_inferences.yaml @@ -898,6 +898,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1473,6 +1475,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2056,6 +2060,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2182,6 +2188,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2270,6 +2277,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2570,6 +2579,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/crds/training.kubedl.io_elasticdljobs.yaml b/helm/kubedl/crds/training.kubedl.io_elasticdljobs.yaml index 5bae29b8..effd16fb 100644 --- a/helm/kubedl/crds/training.kubedl.io_elasticdljobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_elasticdljobs.yaml @@ -903,6 +903,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1478,6 +1480,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2061,6 +2065,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2187,6 +2193,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2275,6 +2282,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2575,6 +2584,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: @@ -3047,6 +3068,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 diff --git a/helm/kubedl/crds/training.kubedl.io_marsjobs.yaml b/helm/kubedl/crds/training.kubedl.io_marsjobs.yaml index 50491836..73fbf03c 100644 --- a/helm/kubedl/crds/training.kubedl.io_marsjobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_marsjobs.yaml @@ -903,6 +903,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1478,6 +1480,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2061,6 +2065,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2187,6 +2193,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2275,6 +2282,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2575,6 +2584,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: @@ -3047,6 +3068,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 diff --git a/helm/kubedl/crds/training.kubedl.io_mpijobs.yaml b/helm/kubedl/crds/training.kubedl.io_mpijobs.yaml index 262f2ecf..878a6b6c 100644 --- a/helm/kubedl/crds/training.kubedl.io_mpijobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_mpijobs.yaml @@ -915,6 +915,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1490,6 +1492,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2073,6 +2077,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2199,6 +2205,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2287,6 +2294,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2587,6 +2596,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: @@ -3097,6 +3118,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 @@ -3107,6 +3135,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object slotsPerWorker: format: int32 @@ -3928,6 +3963,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -4503,6 +4540,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -5086,6 +5125,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -5212,6 +5253,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -5300,6 +5342,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -5600,6 +5644,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/crds/training.kubedl.io_pytorchjobs.yaml b/helm/kubedl/crds/training.kubedl.io_pytorchjobs.yaml index 3dbd82d1..c12b7dda 100644 --- a/helm/kubedl/crds/training.kubedl.io_pytorchjobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_pytorchjobs.yaml @@ -92,6 +92,14 @@ spec: type: object mountPath: type: string + name: + type: string + options: + properties: + idleTime: + format: int64 + type: integer + type: object type: object cleanPodPolicy: type: string @@ -990,6 +998,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1565,6 +1575,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2148,6 +2160,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2274,6 +2288,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2362,6 +2377,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2662,6 +2679,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: @@ -3134,6 +3163,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 diff --git a/helm/kubedl/crds/training.kubedl.io_tfjobs.yaml b/helm/kubedl/crds/training.kubedl.io_tfjobs.yaml index 558bae71..38b72489 100644 --- a/helm/kubedl/crds/training.kubedl.io_tfjobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_tfjobs.yaml @@ -92,6 +92,14 @@ spec: type: object mountPath: type: string + name: + type: string + options: + properties: + idleTime: + format: int64 + type: integer + type: object type: object cleanPodPolicy: type: string @@ -158,6 +166,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object successPolicy: type: string @@ -998,6 +1013,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1573,6 +1590,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2156,6 +2175,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2282,6 +2303,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2370,6 +2392,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2670,6 +2694,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/crds/training.kubedl.io_xdljobs.yaml b/helm/kubedl/crds/training.kubedl.io_xdljobs.yaml index 2d712be0..ff3a405b 100644 --- a/helm/kubedl/crds/training.kubedl.io_xdljobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_xdljobs.yaml @@ -77,6 +77,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 @@ -918,6 +925,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1493,6 +1502,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2076,6 +2087,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2202,6 +2215,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2290,6 +2304,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2590,6 +2606,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/crds/training.kubedl.io_xgboostjobs.yaml b/helm/kubedl/crds/training.kubedl.io_xgboostjobs.yaml index 860a2f1c..b248367b 100644 --- a/helm/kubedl/crds/training.kubedl.io_xgboostjobs.yaml +++ b/helm/kubedl/crds/training.kubedl.io_xgboostjobs.yaml @@ -71,6 +71,13 @@ spec: minAvailable: format: int32 type: integer + priority: + format: int32 + type: integer + priorityClassName: + type: string + queue: + type: string type: object ttlSecondsAfterFinished: format: int32 @@ -912,6 +919,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1487,6 +1496,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2070,6 +2081,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2196,6 +2209,7 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic overhead: additionalProperties: anyOf: @@ -2284,6 +2298,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2584,6 +2600,18 @@ spec: - kind - name type: object + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object resources: properties: limits: diff --git a/helm/kubedl/templates/role.yaml b/helm/kubedl/templates/role.yaml index c804f358..03b6bf8e 100644 --- a/helm/kubedl/templates/role.yaml +++ b/helm/kubedl/templates/role.yaml @@ -26,25 +26,6 @@ rules: - get - patch - update -- apiGroups: - - "coordination.k8s.io" - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - namespaces - verbs: - - list - - watch - apiGroups: - "" resources: @@ -54,6 +35,13 @@ rules: - get - list - patch +- apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list - apiGroups: - "" resources: @@ -89,7 +77,6 @@ rules: - "" resources: - pods - - pods/log verbs: - create - delete @@ -178,6 +165,26 @@ rules: - get - patch - update +- apiGroups: + - inference.kubedl.io + resources: + - elasticbatchjobs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - inference.kubedl.io + resources: + - elasticbatchjobs/status + verbs: + - get + - patch + - update - apiGroups: - model.kubedl.io resources: diff --git a/helm/kubedl/values.yaml b/helm/kubedl/values.yaml index 17314df3..b0602529 100644 --- a/helm/kubedl/values.yaml +++ b/helm/kubedl/values.yaml @@ -14,7 +14,7 @@ image: repository: kubedl/kubedl pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: 0.4.2 + tag: daily imagePullSecrets: [] nameOverride: ""