mirror of https://github.com/openkruise/charts.git
modify kruise v1.5.0 cloneset yaml
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
This commit is contained in:
parent
96f1c026e6
commit
f62bd0a8d9
|
|
@ -6,7 +6,6 @@ kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.7.0
|
controller-gen.kubebuilder.io/version: v0.7.0
|
||||||
creationTimestamp: null
|
|
||||||
name: clonesets.apps.kruise.io
|
name: clonesets.apps.kruise.io
|
||||||
spec:
|
spec:
|
||||||
group: apps.kruise.io
|
group: apps.kruise.io
|
||||||
|
|
@ -40,7 +39,10 @@ spec:
|
||||||
jsonPath: .status.replicas
|
jsonPath: .status.replicas
|
||||||
name: TOTAL
|
name: TOTAL
|
||||||
type: integer
|
type: integer
|
||||||
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
|
- description: CreationTimestamp is a timestamp representing the server time when
|
||||||
|
this object was created. It is not guaranteed to be set in happens-before
|
||||||
|
order across separate operations. Clients may not set this value. It is represented
|
||||||
|
in RFC3339 form and is in UTC.
|
||||||
jsonPath: .metadata.creationTimestamp
|
jsonPath: .metadata.creationTimestamp
|
||||||
name: AGE
|
name: AGE
|
||||||
type: date
|
type: date
|
||||||
|
|
@ -65,10 +67,14 @@ spec:
|
||||||
description: CloneSet is the Schema for the clonesets API
|
description: CloneSet is the Schema for the clonesets API
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
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'
|
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
|
type: string
|
||||||
kind:
|
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'
|
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
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -76,10 +82,12 @@ spec:
|
||||||
description: CloneSetSpec defines the desired state of CloneSet
|
description: CloneSetSpec defines the desired state of CloneSet
|
||||||
properties:
|
properties:
|
||||||
lifecycle:
|
lifecycle:
|
||||||
description: Lifecycle defines the lifecycle hooks for Pods pre-available(pre-normal), pre-delete, in-place update.
|
description: Lifecycle defines the lifecycle hooks for Pods pre-available(pre-normal),
|
||||||
|
pre-delete, in-place update.
|
||||||
properties:
|
properties:
|
||||||
inPlaceUpdate:
|
inPlaceUpdate:
|
||||||
description: InPlaceUpdate is the hook before Pod to update and after Pod has been updated.
|
description: InPlaceUpdate is the hook before Pod to update and
|
||||||
|
after Pod has been updated.
|
||||||
properties:
|
properties:
|
||||||
finalizersHandler:
|
finalizersHandler:
|
||||||
items:
|
items:
|
||||||
|
|
@ -90,7 +98,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
markPodNotReady:
|
markPodNotReady:
|
||||||
description: 'MarkPodNotReady = true means: - Pod will be set to ''NotReady'' at preparingDelete/preparingUpdate state. - Pod will be restored to ''Ready'' at Updated state if it was set to ''NotReady'' at preparingUpdate state. Currently, MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete hook. Default to false.'
|
description: 'MarkPodNotReady = true means: - Pod will be
|
||||||
|
set to ''NotReady'' at preparingDelete/preparingUpdate state.
|
||||||
|
- Pod will be restored to ''Ready'' at Updated state if
|
||||||
|
it was set to ''NotReady'' at preparingUpdate state. Currently,
|
||||||
|
MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete
|
||||||
|
hook. Default to false.'
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
preDelete:
|
preDelete:
|
||||||
|
|
@ -105,11 +118,17 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
markPodNotReady:
|
markPodNotReady:
|
||||||
description: 'MarkPodNotReady = true means: - Pod will be set to ''NotReady'' at preparingDelete/preparingUpdate state. - Pod will be restored to ''Ready'' at Updated state if it was set to ''NotReady'' at preparingUpdate state. Currently, MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete hook. Default to false.'
|
description: 'MarkPodNotReady = true means: - Pod will be
|
||||||
|
set to ''NotReady'' at preparingDelete/preparingUpdate state.
|
||||||
|
- Pod will be restored to ''Ready'' at Updated state if
|
||||||
|
it was set to ''NotReady'' at preparingUpdate state. Currently,
|
||||||
|
MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete
|
||||||
|
hook. Default to false.'
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
preNormal:
|
preNormal:
|
||||||
description: PreNormal is the hook after Pod to be created and ready to be Normal.
|
description: PreNormal is the hook after Pod to be created and
|
||||||
|
ready to be Normal.
|
||||||
properties:
|
properties:
|
||||||
finalizersHandler:
|
finalizersHandler:
|
||||||
items:
|
items:
|
||||||
|
|
@ -120,56 +139,115 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
markPodNotReady:
|
markPodNotReady:
|
||||||
description: 'MarkPodNotReady = true means: - Pod will be set to ''NotReady'' at preparingDelete/preparingUpdate state. - Pod will be restored to ''Ready'' at Updated state if it was set to ''NotReady'' at preparingUpdate state. Currently, MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete hook. Default to false.'
|
description: 'MarkPodNotReady = true means: - Pod will be
|
||||||
|
set to ''NotReady'' at preparingDelete/preparingUpdate state.
|
||||||
|
- Pod will be restored to ''Ready'' at Updated state if
|
||||||
|
it was set to ''NotReady'' at preparingUpdate state. Currently,
|
||||||
|
MarkPodNotReady only takes effect on InPlaceUpdate & PreDelete
|
||||||
|
hook. Default to false.'
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
minReadySeconds:
|
minReadySeconds:
|
||||||
description: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
description: Minimum number of seconds for which a newly created pod
|
||||||
|
should be ready without any of its container crashing, for it to
|
||||||
|
be considered available. Defaults to 0 (pod will be considered available
|
||||||
|
as soon as it is ready)
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template. If unspecified, defaults to 1.
|
description: Replicas is the desired number of replicas of the given
|
||||||
|
Template. These are replicas in the sense that they are instantiations
|
||||||
|
of the same Template. If unspecified, defaults to 1.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
revisionHistoryLimit:
|
revisionHistoryLimit:
|
||||||
description: RevisionHistoryLimit is the maximum number of revisions that will be maintained in the CloneSet's revision history. The revision history consists of all revisions not represented by a currently applied CloneSetSpec version. The default value is 10.
|
description: RevisionHistoryLimit is the maximum number of revisions
|
||||||
|
that will be maintained in the CloneSet's revision history. The
|
||||||
|
revision history consists of all revisions not represented by a
|
||||||
|
currently applied CloneSetSpec version. The default value is 10.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
scaleStrategy:
|
scaleStrategy:
|
||||||
description: ScaleStrategy indicates the ScaleStrategy that will be employed to create and delete Pods in the CloneSet.
|
description: ScaleStrategy indicates the ScaleStrategy that will be
|
||||||
|
employed to create and delete Pods in the CloneSet.
|
||||||
properties:
|
properties:
|
||||||
disablePVCReuse:
|
disablePVCReuse:
|
||||||
description: Indicate if cloneSet will reuse already existed pvc to rebuild a new pod
|
description: Indicate if cloneSet will reuse already existed pvc
|
||||||
|
to rebuild a new pod
|
||||||
type: boolean
|
type: boolean
|
||||||
maxUnavailable:
|
maxUnavailable:
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: integer
|
- type: integer
|
||||||
- type: string
|
- type: string
|
||||||
description: The maximum number of pods that can be unavailable for scaled pods. This field can control the changes rate of replicas for CloneSet so as to minimize the impact for users' service. The scale will fail if the number of unavailable pods were greater than this MaxUnavailable at scaling up. MaxUnavailable works only when scaling up.
|
description: The maximum number of pods that can be unavailable
|
||||||
|
for scaled pods. This field can control the changes rate of
|
||||||
|
replicas for CloneSet so as to minimize the impact for users'
|
||||||
|
service. The scale will fail if the number of unavailable pods
|
||||||
|
were greater than this MaxUnavailable at scaling up. MaxUnavailable
|
||||||
|
works only when scaling up.
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
podsToDelete:
|
podsToDelete:
|
||||||
description: PodsToDelete is the names of Pod should be deleted. Note that this list will be truncated for non-existing pod names.
|
description: PodsToDelete is the names of Pod should be deleted.
|
||||||
|
Note that this list will be truncated for non-existing pod names.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
poolConfig:
|
||||||
|
description: PoolConfig contains all configurations for pooling.
|
||||||
|
properties:
|
||||||
|
patchTemplate:
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
policyType:
|
||||||
|
type: string
|
||||||
|
pools:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
matchSelector:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
percent:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- matchSelector
|
||||||
|
- name
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- pools
|
||||||
|
type: object
|
||||||
type: object
|
type: object
|
||||||
selector:
|
selector:
|
||||||
description: 'Selector is a label query over pods that should match the replica count. It must match the pod template''s labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors'
|
description: 'Selector is a label query over pods that should match
|
||||||
|
the replica count. It must match the pod template''s labels. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors'
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements.
|
||||||
|
The requirements are ANDed.
|
||||||
items:
|
items:
|
||||||
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
|
description: A label selector requirement is a selector that
|
||||||
|
contains values, a key, and an operator that relates the key
|
||||||
|
and values.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: key is the label key that the selector applies to.
|
description: key is the label key that the selector applies
|
||||||
|
to.
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
|
description: operator represents a key's relationship to
|
||||||
|
a set of values. Valid operators are In, NotIn, Exists
|
||||||
|
and DoesNotExist.
|
||||||
type: string
|
type: string
|
||||||
values:
|
values:
|
||||||
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
|
description: values is an array of string values. If the
|
||||||
|
operator is In or NotIn, the values array must be non-empty.
|
||||||
|
If the operator is Exists or DoesNotExist, the values
|
||||||
|
array must be empty. This array is replaced during a strategic
|
||||||
|
merge patch.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|
@ -181,20 +259,29 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
|
description: matchLabels is a map of {key,value} pairs. A single
|
||||||
|
{key,value} in the matchLabels map is equivalent to an element
|
||||||
|
of matchExpressions, whose key field is "key", the operator
|
||||||
|
is "In", and the values array contains only "value". The requirements
|
||||||
|
are ANDed.
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
template:
|
template:
|
||||||
description: Template describes the pods that will be created.
|
description: Template describes the pods that will be created.
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
description: UpdateStrategy indicates the UpdateStrategy that will be employed to update Pods in the CloneSet when a revision is made to Template.
|
description: UpdateStrategy indicates the UpdateStrategy that will
|
||||||
|
be employed to update Pods in the CloneSet when a revision is made
|
||||||
|
to Template.
|
||||||
properties:
|
properties:
|
||||||
inPlaceUpdateStrategy:
|
inPlaceUpdateStrategy:
|
||||||
description: InPlaceUpdateStrategy contains strategies for in-place update.
|
description: InPlaceUpdateStrategy contains strategies for in-place
|
||||||
|
update.
|
||||||
properties:
|
properties:
|
||||||
gracePeriodSeconds:
|
gracePeriodSeconds:
|
||||||
description: GracePeriodSeconds is the timespan between set Pod status to not-ready and update images in Pod spec when in-place update a Pod.
|
description: GracePeriodSeconds is the timespan between set
|
||||||
|
Pod status to not-ready and update images in Pod spec when
|
||||||
|
in-place update a Pod.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -202,59 +289,98 @@ spec:
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: integer
|
- type: integer
|
||||||
- type: string
|
- type: string
|
||||||
description: 'The maximum number of pods that can be scheduled above the desired replicas during update or specified delete. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. Defaults to 0.'
|
description: 'The maximum number of pods that can be scheduled
|
||||||
|
above the desired replicas during update or specified delete.
|
||||||
|
Value can be an absolute number (ex: 5) or a percentage of desired
|
||||||
|
pods (ex: 10%). Absolute number is calculated from percentage
|
||||||
|
by rounding up. Defaults to 0.'
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
maxUnavailable:
|
maxUnavailable:
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: integer
|
- type: integer
|
||||||
- type: string
|
- type: string
|
||||||
description: 'The maximum number of pods that can be unavailable during update or scale. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up by default. When maxSurge > 0, absolute number is calculated from percentage by rounding down. Defaults to 20%.'
|
description: 'The maximum number of pods that can be unavailable
|
||||||
|
during update or scale. Value can be an absolute number (ex:
|
||||||
|
5) or a percentage of desired pods (ex: 10%). Absolute number
|
||||||
|
is calculated from percentage by rounding up by default. When
|
||||||
|
maxSurge > 0, absolute number is calculated from percentage
|
||||||
|
by rounding down. Defaults to 20%.'
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
partition:
|
partition:
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: integer
|
- type: integer
|
||||||
- type: string
|
- type: string
|
||||||
description: 'Partition is the desired number of pods in old revisions. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up by default. It means when partition is set during pods updating, (replicas - partition value) number of pods will be updated. Default value is 0.'
|
description: 'Partition is the desired number of pods in old revisions.
|
||||||
|
Value can be an absolute number (ex: 5) or a percentage of desired
|
||||||
|
pods (ex: 10%). Absolute number is calculated from percentage
|
||||||
|
by rounding up by default. It means when partition is set during
|
||||||
|
pods updating, (replicas - partition value) number of pods will
|
||||||
|
be updated. Default value is 0.'
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
paused:
|
paused:
|
||||||
description: Paused indicates that the CloneSet is paused. Default value is false
|
description: Paused indicates that the CloneSet is paused. Default
|
||||||
|
value is false
|
||||||
type: boolean
|
type: boolean
|
||||||
priorityStrategy:
|
priorityStrategy:
|
||||||
description: Priorities are the rules for calculating the priority of updating pods. Each pod to be updated, will pass through these terms and get a sum of weights.
|
description: Priorities are the rules for calculating the priority
|
||||||
|
of updating pods. Each pod to be updated, will pass through
|
||||||
|
these terms and get a sum of weights.
|
||||||
properties:
|
properties:
|
||||||
orderPriority:
|
orderPriority:
|
||||||
description: 'Order priority terms, pods will be sorted by the value of orderedKey. For example: ``` orderPriority: - orderedKey: key1 - orderedKey: key2 ``` First, all pods which have key1 in labels will be sorted by the value of key1. Then, the left pods which have no key1 but have key2 in labels will be sorted by the value of key2 and put behind those pods have key1.'
|
description: 'Order priority terms, pods will be sorted by
|
||||||
|
the value of orderedKey. For example: ``` orderPriority:
|
||||||
|
- orderedKey: key1 - orderedKey: key2 ``` First, all pods
|
||||||
|
which have key1 in labels will be sorted by the value of
|
||||||
|
key1. Then, the left pods which have no key1 but have key2
|
||||||
|
in labels will be sorted by the value of key2 and put behind
|
||||||
|
those pods have key1.'
|
||||||
items:
|
items:
|
||||||
description: UpdatePriorityOrderTerm defines order priority.
|
description: UpdatePriorityOrderTerm defines order priority.
|
||||||
properties:
|
properties:
|
||||||
orderedKey:
|
orderedKey:
|
||||||
description: Calculate priority by value of this key. Values of this key, will be sorted by GetInt(val). GetInt method will find the last int in value, such as getting 5 in value '5', getting 10 in value 'sts-10'.
|
description: Calculate priority by value of this key.
|
||||||
|
Values of this key, will be sorted by GetInt(val).
|
||||||
|
GetInt method will find the last int in value, such
|
||||||
|
as getting 5 in value '5', getting 10 in value 'sts-10'.
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- orderedKey
|
- orderedKey
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
weightPriority:
|
weightPriority:
|
||||||
description: Weight priority terms, pods will be sorted by the sum of all terms weight.
|
description: Weight priority terms, pods will be sorted by
|
||||||
|
the sum of all terms weight.
|
||||||
items:
|
items:
|
||||||
description: UpdatePriorityWeightTerm defines weight priority.
|
description: UpdatePriorityWeightTerm defines weight priority.
|
||||||
properties:
|
properties:
|
||||||
matchSelector:
|
matchSelector:
|
||||||
description: MatchSelector is used to select by pod's labels.
|
description: MatchSelector is used to select by pod's
|
||||||
|
labels.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label
|
||||||
|
selector requirements. The requirements are ANDed.
|
||||||
items:
|
items:
|
||||||
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
|
description: A label selector requirement is a
|
||||||
|
selector that contains values, a key, and an
|
||||||
|
operator that relates the key and values.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: key is the label key that the selector applies to.
|
description: key is the label key that the
|
||||||
|
selector applies to.
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
|
description: operator represents a key's relationship
|
||||||
|
to a set of values. Valid operators are
|
||||||
|
In, NotIn, Exists and DoesNotExist.
|
||||||
type: string
|
type: string
|
||||||
values:
|
values:
|
||||||
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
|
description: values is an array of string
|
||||||
|
values. If the operator is In or NotIn,
|
||||||
|
the values array must be non-empty. If the
|
||||||
|
operator is Exists or DoesNotExist, the
|
||||||
|
values array must be empty. This array is
|
||||||
|
replaced during a strategic merge patch.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|
@ -266,11 +392,17 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
|
description: matchLabels is a map of {key,value}
|
||||||
|
pairs. A single {key,value} in the matchLabels
|
||||||
|
map is equivalent to an element of matchExpressions,
|
||||||
|
whose key field is "key", the operator is "In",
|
||||||
|
and the values array contains only "value". The
|
||||||
|
requirements are ANDed.
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
weight:
|
weight:
|
||||||
description: Weight associated with matching the corresponding matchExpressions, in the range 1-100.
|
description: Weight associated with matching the corresponding
|
||||||
|
matchExpressions, in the range 1-100.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
required:
|
||||||
|
|
@ -280,7 +412,14 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
scatterStrategy:
|
scatterStrategy:
|
||||||
description: ScatterStrategy defines the scatter rules to make pods been scattered when update. This will avoid pods with the same key-value to be updated in one batch. - Note that pods will be scattered after priority sort. So, although priority strategy and scatter strategy can be applied together, we suggest to use either one of them. - If scatterStrategy is used, we suggest to just use one term. Otherwise, the update order can be hard to understand.
|
description: ScatterStrategy defines the scatter rules to make
|
||||||
|
pods been scattered when update. This will avoid pods with the
|
||||||
|
same key-value to be updated in one batch. - Note that pods
|
||||||
|
will be scattered after priority sort. So, although priority
|
||||||
|
strategy and scatter strategy can be applied together, we suggest
|
||||||
|
to use either one of them. - If scatterStrategy is used, we
|
||||||
|
suggest to just use one term. Otherwise, the update order can
|
||||||
|
be hard to understand.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
|
|
@ -293,11 +432,14 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
type:
|
type:
|
||||||
description: Type indicates the type of the CloneSetUpdateStrategy. Default is ReCreate.
|
description: Type indicates the type of the CloneSetUpdateStrategy.
|
||||||
|
Default is ReCreate.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
description: VolumeClaimTemplates is a list of claims that pods are allowed to reference. Note that PVC will be deleted when its pod has been deleted.
|
description: VolumeClaimTemplates is a list of claims that pods are
|
||||||
|
allowed to reference. Note that PVC will be deleted when its pod
|
||||||
|
has been deleted.
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
required:
|
required:
|
||||||
- selector
|
- selector
|
||||||
|
|
@ -307,24 +449,32 @@ spec:
|
||||||
description: CloneSetStatus defines the observed state of CloneSet
|
description: CloneSetStatus defines the observed state of CloneSet
|
||||||
properties:
|
properties:
|
||||||
availableReplicas:
|
availableReplicas:
|
||||||
description: AvailableReplicas is the number of Pods created by the CloneSet controller that have a Ready Condition for at least minReadySeconds.
|
description: AvailableReplicas is the number of Pods created by the
|
||||||
|
CloneSet controller that have a Ready Condition for at least minReadySeconds.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
collisionCount:
|
collisionCount:
|
||||||
description: CollisionCount is the count of hash collisions for the CloneSet. The CloneSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
description: CollisionCount is the count of hash collisions for the
|
||||||
|
CloneSet. The CloneSet controller uses this field as a collision
|
||||||
|
avoidance mechanism when it needs to create the name for the newest
|
||||||
|
ControllerRevision.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
conditions:
|
conditions:
|
||||||
description: Conditions represents the latest available observations of a CloneSet's current state.
|
description: Conditions represents the latest available observations
|
||||||
|
of a CloneSet's current state.
|
||||||
items:
|
items:
|
||||||
description: CloneSetCondition describes the state of a CloneSet at a certain point.
|
description: CloneSetCondition describes the state of a CloneSet
|
||||||
|
at a certain point.
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: Last time the condition transitioned from one status to another.
|
description: Last time the condition transitioned from one status
|
||||||
|
to another.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
message:
|
message:
|
||||||
description: A human readable message indicating details about the transition.
|
description: A human readable message indicating details about
|
||||||
|
the transition.
|
||||||
type: string
|
type: string
|
||||||
reason:
|
reason:
|
||||||
description: The reason for the condition's last transition.
|
description: The reason for the condition's last transition.
|
||||||
|
|
@ -341,47 +491,60 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
currentRevision:
|
currentRevision:
|
||||||
description: currentRevision, if not empty, indicates the current revision version of the CloneSet.
|
description: currentRevision, if not empty, indicates the current
|
||||||
|
revision version of the CloneSet.
|
||||||
type: string
|
type: string
|
||||||
expectedUpdatedReplicas:
|
expectedUpdatedReplicas:
|
||||||
description: ExpectedUpdatedReplicas is the number of Pods that should be updated by CloneSet controller. This field is calculated via Replicas - Partition.
|
description: ExpectedUpdatedReplicas is the number of Pods that should
|
||||||
|
be updated by CloneSet controller. This field is calculated via
|
||||||
|
Replicas - Partition.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
labelSelector:
|
labelSelector:
|
||||||
description: LabelSelector is label selectors for query over pods that should match the replica count used by HPA.
|
description: LabelSelector is label selectors for query over pods
|
||||||
|
that should match the replica count used by HPA.
|
||||||
type: string
|
type: string
|
||||||
observedGeneration:
|
observedGeneration:
|
||||||
description: ObservedGeneration is the most recent generation observed for this CloneSet. It corresponds to the CloneSet's generation, which is updated on mutation by the API Server.
|
description: ObservedGeneration is the most recent generation observed
|
||||||
|
for this CloneSet. It corresponds to the CloneSet's generation,
|
||||||
|
which is updated on mutation by the API Server.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
readyReplicas:
|
readyReplicas:
|
||||||
description: ReadyReplicas is the number of Pods created by the CloneSet controller that have a Ready Condition.
|
description: ReadyReplicas is the number of Pods created by the CloneSet
|
||||||
|
controller that have a Ready Condition.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
replicas:
|
replicas:
|
||||||
description: Replicas is the number of Pods created by the CloneSet controller.
|
description: Replicas is the number of Pods created by the CloneSet
|
||||||
|
controller.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
updateRevision:
|
updateRevision:
|
||||||
description: UpdateRevision, if not empty, indicates the latest revision of the CloneSet.
|
description: UpdateRevision, if not empty, indicates the latest revision
|
||||||
|
of the CloneSet.
|
||||||
type: string
|
type: string
|
||||||
updatedAvailableReplicas:
|
updatedAvailableReplicas:
|
||||||
description: UpdatedAvailableReplicas is the number of Pods created by the CloneSet controller from the CloneSet version indicated by updateRevision and have a Ready Condition for at least minReadySeconds.
|
description: UpdatedAvailableReplicas is the number of Pods created
|
||||||
|
by the CloneSet controller from the CloneSet version indicated by
|
||||||
|
updateRevision and have a Ready Condition for at least minReadySeconds.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
updatedReadyReplicas:
|
updatedReadyReplicas:
|
||||||
description: UpdatedReadyReplicas is the number of Pods created by the CloneSet controller from the CloneSet version indicated by updateRevision and have a Ready Condition.
|
description: UpdatedReadyReplicas is the number of Pods created by
|
||||||
|
the CloneSet controller from the CloneSet version indicated by updateRevision
|
||||||
|
and have a Ready Condition.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
updatedReplicas:
|
updatedReplicas:
|
||||||
description: UpdatedReplicas is the number of Pods created by the CloneSet controller from the CloneSet version indicated by updateRevision.
|
description: UpdatedReplicas is the number of Pods created by the
|
||||||
|
CloneSet controller from the CloneSet version indicated by updateRevision.
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
required:
|
||||||
- availableReplicas
|
- availableReplicas
|
||||||
- readyReplicas
|
- readyReplicas
|
||||||
- replicas
|
- replicas
|
||||||
- updatedAvailableReplicas
|
|
||||||
- updatedReadyReplicas
|
- updatedReadyReplicas
|
||||||
- updatedReplicas
|
- updatedReplicas
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -394,10 +557,4 @@ spec:
|
||||||
specReplicasPath: .spec.replicas
|
specReplicasPath: .spec.replicas
|
||||||
statusReplicasPath: .status.replicas
|
statusReplicasPath: .status.replicas
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue