Skip to content

Commit 5575d8d

Browse files
committed
make manifests
1 parent bbf055e commit 5575d8d

File tree

2 files changed

+76
-4
lines changed

2 files changed

+76
-4
lines changed

charts/templates/crd/apps.kusionstack.io_podtransitionrules.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,56 @@ spec:
5050
description: AvailablePolicy is the rule to check if the max
5151
unavailable number is reached by current resource updated.
5252
properties:
53+
maxUnavailablePolicy:
54+
description: MaxUnavailablePolicy is an option to apply
55+
max unavailable by adaptive policy.
56+
properties:
57+
expFunc:
58+
description: |-
59+
ExpFunc is an exponentiation expression to calculate the expected value.
60+
func: f(x) = coeff * x ^ pow.
61+
properties:
62+
coeff:
63+
description: Coeff stands for coefficient in this
64+
exponentiation.
65+
type: string
66+
pow:
67+
description: Pow stands for power in this exponentiation.
68+
type: string
69+
type: object
70+
type: object
5371
maxUnavailableValue:
5472
anyOf:
5573
- type: integer
5674
- type: string
5775
description: |-
58-
MaxUnavailableValue is the expected max unavailable replicas which is allowed to be a integer or a percentage of the whole
76+
MaxUnavailableValue is the expected max unavailable replicas which is allowed to be an integer or a percentage of the whole
5977
number of the target resources.
6078
x-kubernetes-int-or-string: true
79+
minAvailablePolicy:
80+
description: MaxUnavailablePolicy is an option to apply
81+
min available by adaptive policy.
82+
properties:
83+
expFunc:
84+
description: |-
85+
ExpFunc is an exponentiation expression to calculate the expected value.
86+
func: f(x) = coeff * x ^ pow.
87+
properties:
88+
coeff:
89+
description: Coeff stands for coefficient in this
90+
exponentiation.
91+
type: string
92+
pow:
93+
description: Pow stands for power in this exponentiation.
94+
type: string
95+
type: object
96+
type: object
6197
minAvailableValue:
6298
anyOf:
6399
- type: integer
64100
- type: string
65101
description: |-
66-
MinAvailableValue is the expected min available replicas which is allowed to be a integer or a percentage of the whole
102+
MinAvailableValue is the expected min available replicas which is allowed to be an integer or a percentage of the whole
67103
number of the target resources.
68104
x-kubernetes-int-or-string: true
69105
type: object

config/crd/bases/apps.kusionstack.io_podtransitionrules.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,56 @@ spec:
5050
description: AvailablePolicy is the rule to check if the max
5151
unavailable number is reached by current resource updated.
5252
properties:
53+
maxUnavailablePolicy:
54+
description: MaxUnavailablePolicy is an option to apply
55+
max unavailable by adaptive policy.
56+
properties:
57+
expFunc:
58+
description: |-
59+
ExpFunc is an exponentiation expression to calculate the expected value.
60+
func: f(x) = coeff * x ^ pow.
61+
properties:
62+
coeff:
63+
description: Coeff stands for coefficient in this
64+
exponentiation.
65+
type: string
66+
pow:
67+
description: Pow stands for power in this exponentiation.
68+
type: string
69+
type: object
70+
type: object
5371
maxUnavailableValue:
5472
anyOf:
5573
- type: integer
5674
- type: string
5775
description: |-
58-
MaxUnavailableValue is the expected max unavailable replicas which is allowed to be a integer or a percentage of the whole
76+
MaxUnavailableValue is the expected max unavailable replicas which is allowed to be an integer or a percentage of the whole
5977
number of the target resources.
6078
x-kubernetes-int-or-string: true
79+
minAvailablePolicy:
80+
description: MaxUnavailablePolicy is an option to apply
81+
min available by adaptive policy.
82+
properties:
83+
expFunc:
84+
description: |-
85+
ExpFunc is an exponentiation expression to calculate the expected value.
86+
func: f(x) = coeff * x ^ pow.
87+
properties:
88+
coeff:
89+
description: Coeff stands for coefficient in this
90+
exponentiation.
91+
type: string
92+
pow:
93+
description: Pow stands for power in this exponentiation.
94+
type: string
95+
type: object
96+
type: object
6197
minAvailableValue:
6298
anyOf:
6399
- type: integer
64100
- type: string
65101
description: |-
66-
MinAvailableValue is the expected min available replicas which is allowed to be a integer or a percentage of the whole
102+
MinAvailableValue is the expected min available replicas which is allowed to be an integer or a percentage of the whole
67103
number of the target resources.
68104
x-kubernetes-int-or-string: true
69105
type: object

0 commit comments

Comments
 (0)