Skip to content

Commit 72524ca

Browse files
committed
adding crds
1 parent 80835d3 commit 72524ca

3 files changed

+224
-224
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: quotasubtrees.quota.codeflare.dev
8+
spec:
9+
group: quota.codeflare.dev
10+
names:
11+
kind: QuotaSubtree
12+
listKind: QuotaSubtreeList
13+
plural: quotasubtrees
14+
singular: quotasubtree
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: QuotaSubtree is a specification for a quota subtree resource
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: QuotaSubtreeSpec is the spec for a resource plan
36+
properties:
37+
children:
38+
items:
39+
description: Child is the spec for a QuotaSubtree resource
40+
properties:
41+
name:
42+
type: string
43+
namespace:
44+
type: string
45+
path:
46+
type: string
47+
quotas:
48+
description: Quota is the spec for a QuotaSubtree resource
49+
properties:
50+
disabled:
51+
type: boolean
52+
hardLimit:
53+
type: boolean
54+
requests:
55+
additionalProperties:
56+
anyOf:
57+
- type: integer
58+
- type: string
59+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
60+
x-kubernetes-int-or-string: true
61+
type: object
62+
type: object
63+
type: object
64+
type: array
65+
parent:
66+
type: string
67+
parentNamespace:
68+
type: string
69+
type: object
70+
status:
71+
description: QuotaSubtreeStatus is the status for a QuotaSubtree resource
72+
properties:
73+
children:
74+
items:
75+
description: ResourceAllocation is the spec for the child status
76+
properties:
77+
allocated:
78+
description: ResourceAllocationStatus is the spec for the child
79+
resource usage
80+
properties:
81+
requests:
82+
additionalProperties:
83+
type: string
84+
type: object
85+
type: object
86+
name:
87+
type: string
88+
namespace:
89+
type: string
90+
path:
91+
type: string
92+
type: object
93+
type: array
94+
totalAllocation:
95+
description: ResourceAllocation is the spec for the child status
96+
properties:
97+
allocated:
98+
description: ResourceAllocationStatus is the spec for the child
99+
resource usage
100+
properties:
101+
requests:
102+
additionalProperties:
103+
type: string
104+
type: object
105+
type: object
106+
name:
107+
type: string
108+
namespace:
109+
type: string
110+
path:
111+
type: string
112+
type: object
113+
required:
114+
- children
115+
- totalAllocation
116+
type: object
117+
required:
118+
- spec
119+
type: object
120+
served: true
121+
storage: true
122+
---

config/crd/mcad.yaml renamed to config/crd/workload.codeflare_appwrappers.yaml

Lines changed: 0 additions & 224 deletions
Original file line numberDiff line numberDiff line change
@@ -763,227 +763,3 @@ spec:
763763
subresources:
764764
status: {}
765765
---
766-
apiVersion: apiextensions.k8s.io/v1
767-
kind: CustomResourceDefinition
768-
metadata:
769-
annotations:
770-
controller-gen.kubebuilder.io/version: v0.9.2
771-
creationTimestamp: null
772-
name: quotasubtrees.quota.codeflare.dev
773-
spec:
774-
group: quota.codeflare.dev
775-
names:
776-
kind: QuotaSubtree
777-
listKind: QuotaSubtreeList
778-
plural: quotasubtrees
779-
singular: quotasubtree
780-
scope: Namespaced
781-
versions:
782-
- name: v1alpha1
783-
schema:
784-
openAPIV3Schema:
785-
description: QuotaSubtree is a specification for a quota subtree resource
786-
properties:
787-
apiVersion:
788-
description: 'APIVersion defines the versioned schema of this representation
789-
of an object. Servers should convert recognized schemas to the latest
790-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
791-
type: string
792-
kind:
793-
description: 'Kind is a string value representing the REST resource this
794-
object represents. Servers may infer this from the endpoint the client
795-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
796-
type: string
797-
metadata:
798-
type: object
799-
spec:
800-
description: QuotaSubtreeSpec is the spec for a resource plan
801-
properties:
802-
children:
803-
items:
804-
description: Child is the spec for a QuotaSubtree resource
805-
properties:
806-
name:
807-
type: string
808-
namespace:
809-
type: string
810-
path:
811-
type: string
812-
quotas:
813-
description: Quota is the spec for a QuotaSubtree resource
814-
properties:
815-
disabled:
816-
type: boolean
817-
hardLimit:
818-
type: boolean
819-
requests:
820-
additionalProperties:
821-
anyOf:
822-
- type: integer
823-
- type: string
824-
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
825-
x-kubernetes-int-or-string: true
826-
type: object
827-
type: object
828-
type: object
829-
type: array
830-
parent:
831-
type: string
832-
parentNamespace:
833-
type: string
834-
type: object
835-
status:
836-
description: QuotaSubtreeStatus is the status for a QuotaSubtree resource
837-
properties:
838-
children:
839-
items:
840-
description: ResourceAllocation is the spec for the child status
841-
properties:
842-
allocated:
843-
description: ResourceAllocationStatus is the spec for the child
844-
resource usage
845-
properties:
846-
requests:
847-
additionalProperties:
848-
type: string
849-
type: object
850-
type: object
851-
name:
852-
type: string
853-
namespace:
854-
type: string
855-
path:
856-
type: string
857-
type: object
858-
type: array
859-
totalAllocation:
860-
description: ResourceAllocation is the spec for the child status
861-
properties:
862-
allocated:
863-
description: ResourceAllocationStatus is the spec for the child
864-
resource usage
865-
properties:
866-
requests:
867-
additionalProperties:
868-
type: string
869-
type: object
870-
type: object
871-
name:
872-
type: string
873-
namespace:
874-
type: string
875-
path:
876-
type: string
877-
type: object
878-
required:
879-
- children
880-
- totalAllocation
881-
type: object
882-
required:
883-
- spec
884-
type: object
885-
served: true
886-
storage: true
887-
---
888-
apiVersion: apiextensions.k8s.io/v1
889-
kind: CustomResourceDefinition
890-
metadata:
891-
annotations:
892-
controller-gen.kubebuilder.io/version: v0.9.2
893-
creationTimestamp: null
894-
name: schedulingspecs.workload.codeflare.dev
895-
spec:
896-
group: workload.codeflare.dev
897-
names:
898-
kind: SchedulingSpec
899-
listKind: SchedulingSpecList
900-
plural: schedulingspecs
901-
singular: schedulingspec
902-
scope: Namespaced
903-
versions:
904-
- name: v1beta1
905-
schema:
906-
openAPIV3Schema:
907-
properties:
908-
apiVersion:
909-
description: 'APIVersion defines the versioned schema of this representation
910-
of an object. Servers should convert recognized schemas to the latest
911-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
912-
type: string
913-
kind:
914-
description: 'Kind is a string value representing the REST resource this
915-
object represents. Servers may infer this from the endpoint the client
916-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
917-
type: string
918-
metadata:
919-
type: object
920-
spec:
921-
properties:
922-
dispatchDuration:
923-
description: Wall clock duration time of appwrapper in seconds.
924-
properties:
925-
expected:
926-
type: integer
927-
limit:
928-
type: integer
929-
overrun:
930-
type: boolean
931-
type: object
932-
minAvailable:
933-
description: Expected number of pods in running and/or completed state.
934-
Requeuing is triggered when the number of running/completed pods
935-
is not equal to this value. When not specified, requeuing is disabled
936-
and no check is performed.
937-
type: integer
938-
nodeSelector:
939-
additionalProperties:
940-
type: string
941-
type: object
942-
requeuing:
943-
description: Specification of the requeuing strategy based on waiting
944-
time. Values in this field control how often the pod check should
945-
happen, and if requeuing has reached its maximum number of times.
946-
properties:
947-
growthType:
948-
default: exponential
949-
description: Growth strategy to increase the waiting time between
950-
requeuing checks. The values available are 'exponential', 'linear',
951-
or 'none'. For example, 'exponential' growth would double the
952-
'timeInSeconds' value every time a requeuing event is triggered.
953-
If the string value is misspelled or not one of the possible
954-
options, the growth behavior is defaulted to 'none'.
955-
type: string
956-
initialTimeInSeconds:
957-
description: Value to keep track of the initial wait time. Users
958-
cannot set this as it is taken from 'timeInSeconds'.
959-
type: integer
960-
maxNumRequeuings:
961-
default: 0
962-
description: Maximum number of requeuing events allowed. Once
963-
this value is reached (e.g., 'numRequeuings = maxNumRequeuings',
964-
no more requeuing checks are performed and the generic items
965-
are stopped and removed from the cluster (AppWrapper remains
966-
deployed).
967-
type: integer
968-
maxTimeInSeconds:
969-
default: 0
970-
description: Maximum waiting time for requeuing checks.
971-
type: integer
972-
numRequeuings:
973-
default: 0
974-
description: Field to keep track of how many times a requeuing
975-
event has been triggered.
976-
type: integer
977-
timeInSeconds:
978-
default: 300
979-
description: Initial waiting time before requeuing conditions
980-
are checked. This value is specified by the user, but it may
981-
grow as requeuing events happen.
982-
type: integer
983-
type: object
984-
type: object
985-
required:
986-
- metadata
987-
type: object
988-
served: true
989-
storage: true

0 commit comments

Comments
 (0)