Skip to content

Commit 3d6b80e

Browse files
authored
align warmup aggression with envoy (#3602)
* align warmup aggression with envoy * fix test
1 parent 8870449 commit 3d6b80e

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

kubernetes/customresourcedefinitions.gen.yaml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/destination_rule.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/destination_rule.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ message WarmupConfiguration {
564564
// This parameter controls the speed of traffic increase over the warmup duration. Defaults to 1.0, so that endpoints would
565565
// get linearly increasing amount of traffic. When increasing the value for this parameter,
566566
// the speed of traffic ramp-up increases non-linearly.
567-
// +kubebuilder:validation:Minimum=1
567+
// +kubebuilder:validation:Minimum=0
568568
google.protobuf.DoubleValue aggression = 3;
569569
}
570570

tests/testdata/destinationrule-invalid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ spec:
3434
loadBalancer:
3535
warmup:
3636
duration: 300s
37-
aggression: 0.3
37+
aggression: -0.1

0 commit comments

Comments
 (0)