-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathcodeflare.codeflare.dev_instascales.yaml
126 lines (126 loc) · 6.02 KB
/
codeflare.codeflare.dev_instascales.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: instascales.codeflare.codeflare.dev
spec:
group: codeflare.codeflare.dev
names:
kind: InstaScale
listKind: InstaScaleList
plural: instascales
singular: instascale
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: InstaScale is the Schema for the instascales 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: InstaScaleSpec defines the desired state of InstaScale
properties:
controllerImage:
description: The container image for the InstaScale controller deployment.
If specified, the provided container image must be compatible with
the running CodeFlare operator. Using an incompatible, or unrelated
container image, will result in an undefined behavior. A CodeFlare
operator upgrade will not upgrade the InstaScale controller, that'll
keep running this specified container image. If not specified, the
latest version compatible with the running CodeFlare operator is
used. A CodeFlare operator upgrade may upgrade the InstaScale controller
to a newer container image.
type: string
controllerResources:
description: controllerResources determines the container resources
for the InstaScale controller deployment
properties:
claims:
description: "Claims lists the names of resources, defined in
spec.resourceClaims, that are used by this container. \n This
is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable. It can only be set
for containers."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry in pod.spec.resourceClaims
of the Pod where this field is used. It makes that resource
available inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
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: 'Limits describes the maximum amount of compute resources
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
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: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
enableMonitoring:
default: true
description: enableMonitoring determines if monitoring artifacts are
deployed for the InstaScale instance.
type: boolean
maxScaleoutAllowed:
default: 15
description: maxScaleoutAllowed determines the max number of machines
that can be scaled up by InstaScale
type: integer
useMachinePools:
default: false
description: useMachinePools determines whether InstaScale should
use MachineSets or MachinePools for scaling
type: boolean
type: object
status:
description: InstaScaleStatus defines the observed state of InstaScale
properties:
ready:
default: false
type: boolean
required:
- ready
type: object
type: object
served: true
storage: true
subresources:
status: {}