Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
459 changes: 459 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions networking/v1/destination_rule_alias.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

219 changes: 171 additions & 48 deletions networking/v1alpha3/destination_rule.pb.go

Large diffs are not rendered by default.

70 changes: 69 additions & 1 deletion networking/v1alpha3/destination_rule.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions networking/v1alpha3/destination_rule.proto
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,26 @@ message ConnectionPoolSettings {
// The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection.
// Defaults to 2^31-1.
int32 max_concurrent_streams = 8;

// Settings for HTTP/2 protocol options.
message Http2ProtocolOptions {
// Settings for HTTP/2 PING frames.
message ConnectionKeepalive {
// Send HTTP/2 PING frames at this interval. Required when
// `connectionKeepalive` is set.
google.protobuf.Duration interval = 1;

// How long to wait for a response to an HTTP/2 PING frame before
// closing the connection. Required when `connectionKeepalive` is set.
google.protobuf.Duration timeout = 2;
}

// Configure HTTP/2 PING frames for upstream connections.
ConnectionKeepalive connection_keepalive = 1;
}

// HTTP/2 protocol options for upstream connections.
Http2ProtocolOptions http2_protocol_options = 9;
}

// Settings common to both HTTP and TCP upstream connections.
Expand Down
42 changes: 42 additions & 0 deletions networking/v1alpha3/destination_rule_deepcopy.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions networking/v1alpha3/destination_rule_json.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions networking/v1beta1/destination_rule_alias.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion tests/testdata/destinationrule-valid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,18 @@ spec:
warmup:
duration: 300s
minimumPercent: 5.0
aggression: 5.0
aggression: 5.0
---
apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
name: bookinfo-ratings-http2-ping
spec:
host: ratings.prod.svc.cluster.local
trafficPolicy:
connectionPool:
http:
http2ProtocolOptions:
connectionKeepalive:
interval: 15s
timeout: 5s