generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update code to create soft links of crds
- Loading branch information
Showing
8 changed files
with
169 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,88 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: elasticquotas.scheduling.sigs.k8s.io | ||
annotations: | ||
"api-approved.kubernetes.io": "https://github.com/kubernetes-sigs/scheduler-plugins/pull/52" | ||
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/scheduler-plugins/pull/52 # edited manually | ||
controller-gen.kubebuilder.io/version: v0.6.2 | ||
creationTimestamp: null | ||
name: elasticquotas.scheduling.sigs.k8s.io | ||
spec: | ||
group: scheduling.sigs.k8s.io | ||
names: | ||
kind: ElasticQuota | ||
listKind: ElasticQuotaList | ||
plural: elasticquotas | ||
singular: elasticquota | ||
kind: ElasticQuota | ||
shortNames: | ||
- eq | ||
- eqs | ||
shortNames: # edited manually | ||
- eq # edited manually | ||
- eqs # edited manually | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
min: | ||
type: object | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
max: | ||
type: object | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
status: | ||
type: object | ||
properties: | ||
used: | ||
type: object | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ElasticQuota sets elastic quota restrictions per namespace | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: ElasticQuotaSpec defines the Min and Max for Quota. | ||
properties: | ||
max: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: Max is the set of desired max limits for each named resource. | ||
The usage of max is based on the resource configurations of successfully | ||
scheduled pods. | ||
type: object | ||
min: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: Min is the set of desired guaranteed limits for each | ||
named resource. | ||
type: object | ||
type: object | ||
status: | ||
description: ElasticQuotaStatus defines the observed use. | ||
properties: | ||
used: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: Used is the current observed total usage of the resource | ||
in the namespace. | ||
type: object | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,106 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: podgroups.scheduling.sigs.k8s.io | ||
annotations: | ||
"api-approved.kubernetes.io": "https://github.com/kubernetes-sigs/scheduler-plugins/pull/50" | ||
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/scheduler-plugins/pull/50 # edited manually | ||
controller-gen.kubebuilder.io/version: v0.6.2 | ||
creationTimestamp: null | ||
name: podgroups.scheduling.sigs.k8s.io | ||
spec: | ||
group: scheduling.sigs.k8s.io | ||
names: | ||
kind: PodGroup | ||
listKind: PodGroupList | ||
plural: podgroups | ||
singular: podgroup | ||
shortNames: | ||
- pg | ||
- pgs | ||
shortNames: # edited manually | ||
- pg # edited manually | ||
- pgs # edited manually | ||
scope: Namespaced | ||
versions: | ||
- name: "v1alpha1" | ||
served: true | ||
storage: true | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
description: PodGroup is a collection of Pod; used for batch workload. | ||
properties: | ||
spec: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: Specification of the desired behavior of the pod group. | ||
properties: | ||
minMember: | ||
type: integer | ||
minimum: 1 | ||
scheduleTimeoutSeconds: | ||
description: MinMember defines the minimal number of members/tasks | ||
to run the pod group; if there's not enough resources to start all | ||
tasks, the scheduler will not start anyone. | ||
format: int32 | ||
type: integer | ||
minResources: | ||
type: object | ||
additionalProperties: | ||
type: string | ||
status: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: MinResources defines the minimal resource of members/tasks | ||
to run the pod group; if there's not enough resources to start all | ||
tasks, the scheduler will not start anyone. | ||
type: object | ||
scheduleTimeoutSeconds: | ||
description: ScheduleTimeoutSeconds defines the maximal time of members/tasks | ||
to wait before run the pod group; | ||
format: int32 | ||
type: integer | ||
type: object | ||
status: | ||
description: Status represents the current information about a pod group. | ||
This data may not be up to date. | ||
properties: | ||
failed: | ||
description: The number of pods which reached phase Failed. | ||
format: int32 | ||
type: integer | ||
occupiedBy: | ||
description: OccupiedBy marks the workload (e.g., deployment, statefulset) | ||
UID that occupy the podgroup. It is empty if not initialized. | ||
type: string | ||
phase: | ||
description: Current phase of PodGroup. | ||
type: string | ||
occupiedBy: | ||
running: | ||
description: The number of actively running pods. | ||
format: int32 | ||
type: integer | ||
scheduleStartTime: | ||
description: ScheduleStartTime of the group | ||
format: date-time | ||
type: string | ||
scheduled: | ||
description: The number of actively running pods. | ||
format: int32 | ||
type: integer | ||
default: 0 | ||
running: | ||
type: integer | ||
default: 0 | ||
succeeded: | ||
description: The number of pods which reached phase Succeeded. | ||
format: int32 | ||
type: integer | ||
default: 0 | ||
failed: | ||
type: integer | ||
default: 0 | ||
scheduleStartTime: | ||
type: string | ||
format: date-time | ||
|
||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../capacityscheduling/crd.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../coscheduling/crd.yaml |
1 change: 1 addition & 0 deletions
1
manifests/crds/topology.node.k8s.io_noderesourcetopologies.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../noderesourcetopology/crd.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters