Skip to content

Commit

Permalink
Merge pull request #663 from justzx2011/main
Browse files Browse the repository at this point in the history
crd for k8s v1.13.12
  • Loading branch information
qmhu authored Dec 21, 2022
2 parents b75117c + cfeec6a commit 0cdb183
Show file tree
Hide file tree
Showing 13 changed files with 308 additions and 3,712 deletions.
363 changes: 25 additions & 338 deletions deploy/manifests_1.13/analysis.crane.io_analytics.yaml

Large diffs are not rendered by default.

68 changes: 23 additions & 45 deletions deploy/manifests_1.13/analysis.crane.io_configsets.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

---
apiVersion: apiextensions.k8s.io/v1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: ""
creationTimestamp: null
name: configsets.analysis.crane.io
spec:
conversion:
strategy: None
group: analysis.crane.io
names:
kind: ConfigSet
Expand All @@ -17,50 +16,29 @@ spec:
- cs
singular: configset
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ConfigSet represents the configuration set for recommendation.
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
configs:
items:
properties:
properties:
additionalProperties:
type: string
type: object
targets:
items:
properties:
kind:
type: string
name:
type: string
namespace:
type: string
type: object
type: array
type: object
type: array
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
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
kind: ConfigSet
listKind: ConfigSetList
plural: configsets
shortNames:
- cs
singular: configset
conditions:
- lastTransitionTime: "2022-10-19T10:23:19Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
294 changes: 24 additions & 270 deletions deploy/manifests_1.13/analysis.crane.io_recommendationrules.yaml

Large diffs are not rendered by default.

323 changes: 24 additions & 299 deletions deploy/manifests_1.13/analysis.crane.io_recommendations.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

106 changes: 24 additions & 82 deletions deploy/manifests_1.13/autoscaling.crane.io_substitutes.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

---
apiVersion: apiextensions.k8s.io/v1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: ""
creationTimestamp: null
name: substitutes.autoscaling.crane.io
spec:
conversion:
strategy: None
group: autoscaling.crane.io
names:
kind: Substitute
Expand All @@ -17,86 +16,29 @@ spec:
- subs
singular: substitute
scope: Namespaced
version: v1alpha1
versions:
- additionalPrinterColumns:
- description: The replicas presents the dryRun result.
jsonPath: .status.replicas
name: REPLICAS
type: integer
- description: CreationTimestamp is a timestamp representing the server time when
this object was created.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: Substitute is the Schema for the Substitute API
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: SubstituteSpec defines the desired spec of Substitute
properties:
replicas:
description: Replicas is used by presents dryRun replicas for SubstituteTargetRef.
format: int32
type: integer
substituteTargetRef:
description: SubstituteTargetRef is the reference to the workload
that should be Substituted.
properties:
apiVersion:
description: API version of the referent
type: string
kind:
description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"'
type: string
name:
description: 'Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names'
type: string
required:
- kind
- name
type: object
required:
- substituteTargetRef
type: object
status:
description: SubstituteStatus defines the status of Substitute
properties:
labelSelector:
description: LabelSelector is label selectors that is sync with SubstituteTargetRef's
labelSelector which used by HPA.
type: string
replicas:
description: Replicas is used by presents dryRun replicas for SubstituteTargetRef.
status.replicas should be equal to spec.replicas.
format: int32
type: integer
type: object
type: object
- name: v1alpha1
served: true
storage: true
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
kind: Substitute
listKind: SubstituteList
plural: substitutes
shortNames:
- subs
singular: substitute
conditions:
- lastTransitionTime: "2022-10-19T10:28:33Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
109 changes: 23 additions & 86 deletions deploy/manifests_1.13/ensurance.crane.io_avoidanceactions.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

---
apiVersion: apiextensions.k8s.io/v1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: ""
creationTimestamp: null
name: avoidanceactions.ensurance.crane.io
spec:
conversion:
strategy: None
group: ensurance.crane.io
names:
kind: AvoidanceAction
Expand All @@ -17,91 +16,29 @@ spec:
- avoid
singular: avoidanceaction
scope: Cluster
version: v1alpha1
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: AvoidanceAction defines Avoidance action
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:
properties:
coolDownSeconds:
default: 300
description: CoolDownSeconds is the seconds for cool down when do
avoidance. Defaults to 300. Minimum value is 1.
format: int32
type: integer
description:
description: Description is an arbitrary string that usually provides
guidelines on when this action should be used.
maxLength: 1024
type: string
eviction:
description: Eviction describes the eviction action
properties:
terminationGracePeriodSeconds:
description: TerminationGracePeriodSeconds is the duration in
seconds the pod needs to terminate gracefully. May be decreased
in delete request. If this value is nil, the pod's terminationGracePeriodSeconds
will be used. Otherwise, this value overrides the value provided
by the pod spec. Value must be non-negative integer. The value
zero indicates delete immediately.
format: int32
type: integer
type: object
throttle:
description: Throttle describes the throttling action
properties:
cpuThrottle:
properties:
minCPURatio:
description: 'MinCPURatio is the min of cpu ratio for low
level pods, for example: the pod limit is 4096, ratio is
10, the minimum is 409. MinCPURatio range [0,100]'
format: int32
maximum: 100
minimum: 0
type: integer
stepCPURatio:
description: StepCPURatio is the step of cpu share and limit
for once down-size. StepCPURatio range [0,100]
format: int32
maximum: 100
minimum: 0
type: integer
type: object
memoryThrottle:
properties:
forceGC:
description: ForceGC means force gc page cache for pods with
low priority
type: boolean
type: object
type: object
type: object
status:
description: AvoidanceActionStatus defines the desired status of AvoidanceAction
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
kind: AvoidanceAction
listKind: AvoidanceActionList
plural: avoidanceactions
shortNames:
- avoid
singular: avoidanceaction
conditions:
- lastTransitionTime: "2022-10-19T10:30:22Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
31 changes: 23 additions & 8 deletions deploy/manifests_1.13/ensurance.crane.io_nodeqoss.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

---
apiVersion: apiextensions.k8s.io/v1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: ""
creationTimestamp: null
name: nodeqoss.ensurance.crane.io
spec:
conversion:
strategy: None
group: ensurance.crane.io
names:
kind: NodeQOS
Expand All @@ -17,6 +16,7 @@ spec:
- nq
singular: nodeqos
scope: Cluster
version: v1alpha1
versions:
- name: v1alpha1
schema:
Expand Down Expand Up @@ -333,7 +333,22 @@ spec:
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
kind: NodeQOS
listKind: NodeQOSList
plural: nodeqoss
shortNames:
- nq
singular: nodeqos
conditions:
- lastTransitionTime: "2022-10-19T10:32:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: null
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
Loading

0 comments on commit 0cdb183

Please sign in to comment.