Skip to content

Commit decfcc7

Browse files
frgaudethowardjohn
andcommitted
Update networking/v1alpha3/destination_rule.proto
Co-authored-by: John Howard <[email protected]>
1 parent 17a6c1d commit decfcc7

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

networking/v1alpha3/destination_rule.proto

+10-12
Original file line numberDiff line numberDiff line change
@@ -514,22 +514,20 @@ message LoadBalancerSettings {
514514
// endpoints are relatively new like new deployment, this is not very effective as all endpoints end up getting same
515515
// amount of requests.
516516
// Currently this is only supported for ROUND_ROBIN and LEAST_REQUEST load balancers.
517+
// Deprecated: use `warmup` instead.
517518
google.protobuf.Duration warmup_duration_secs = 4;
518519

519-
message slowStart {
520-
// Aggression parameter non-linearly affects endpoint weight and represents the speed of ramp-up.
521-
// By tuning aggression parameter, one could achieve polynomial or exponential speed for traffic increase.
522-
message aggression {
523-
uint32 default_value = 1;
524-
string runtime_key = 2;
525-
}
526-
527-
// MinWeightPercent parameter specifies the minimum percent of origin weight to make sure the EDF scheduler has a reasonable deadline, default is 10%.
528-
uint32 min_weight_percent = 3;
529-
}
530-
520+
WarmupConfiguration warmup = 5;
531521
}
532522

523+
message WarmupConfiguration {
524+
google.protobuf.Duration duration = 1;
525+
// +kubebuilder:validation:Maximum=100
526+
// +kubebuilder:validation:Minimum=0
527+
google.protobuf.Double minimum_percent = 2;
528+
// +kubebuilder:validation:Minimum=0
529+
google.protobuf.Double aggression = 3;
530+
}
533531
// Connection pool settings for an upstream host. The settings apply to
534532
// each individual host in the upstream service. See Envoy's [circuit
535533
// breaker](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking)

0 commit comments

Comments
 (0)