Skip to content
Merged
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
3 changes: 2 additions & 1 deletion networking/v1alpha3/gateway.pb.go

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

3 changes: 2 additions & 1 deletion networking/v1alpha3/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ message Port {

// REQUIRED: The protocol exposed on the port.
// MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
// TLS is used to indicate secure connections to non HTTP services.
// TLS implies the connection will be routed based on the SNI header to
// the destination without terminating the TLS connection.
string protocol = 2;

// Label assigned to the port.
Expand Down
16 changes: 13 additions & 3 deletions networking/v1alpha3/istio.networking.v1alpha3.pb.html
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,8 @@ <h2 id="Port">Port</h2>
<td>
<p>REQUIRED: The protocol exposed on the port.
MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
TLS is used to indicate secure connections to non HTTP services.</p>
TLS implies the connection will be routed based on the SNI header to
the destination without terminating the TLS connection.</p>

</td>
</tr>
Expand Down Expand Up @@ -3020,7 +3021,7 @@ <h2 id="ServiceEntry">ServiceEntry</h2>
<p>REQUIRED. The hosts associated with the ServiceEntry. Could be a DNS
name with wildcard prefix (external services only). DNS names in hosts
will be ignored if the application accesses the service over non-HTTP
protocols such as mongo/opaque TCP/even HTTPS. In such scenarios, the
protocols such as mongo/opaque TCP/HTTPS. In such scenarios, the
IP addresses specified in the Addresses field or the port will be used
to uniquely identify the destination.</p>

Expand All @@ -3033,7 +3034,7 @@ <h2 id="ServiceEntry">ServiceEntry</h2>
<p>The virtual IP addresses associated with the service. Could be CIDR
prefix. For HTTP services, the addresses field will be ignored and
the destination will be identified based on the HTTP Host/Authority
header. For non-HTTP protocols such as mongo/opaque TCP/even HTTPS,
header. For non-HTTP protocols such as mongo/opaque TCP/HTTPS,
the hosts will be ignored. If one or more IP addresses are specified,
the incoming traffic will be identified as belonging to this service
if the destination IP matches the IP/CIDRs specified in the addresses
Expand Down Expand Up @@ -3168,6 +3169,15 @@ <h2 id="ServiceEntry-Endpoint">ServiceEntry.Endpoint</h2>
(that bridges networks n1 and n2), or the IP associated with a
standard service endpoint.</p>

</td>
</tr>
<tr id="ServiceEntry-Endpoint-weight">
<td><code>weight</code></td>
<td><code>uint32</code></td>
<td>
<p>The load balancing weight associated with the endpoint. Endpoints
with higher weights will receive proportionally higher traffic.</p>

</td>
</tr>
</tbody>
Expand Down
104 changes: 71 additions & 33 deletions networking/v1alpha3/service_entry.pb.go

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

8 changes: 6 additions & 2 deletions networking/v1alpha3/service_entry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,15 @@ message ServiceEntry {
// REQUIRED. The hosts associated with the ServiceEntry. Could be a DNS
// name with wildcard prefix (external services only). DNS names in hosts
// will be ignored if the application accesses the service over non-HTTP
// protocols such as mongo/opaque TCP/even HTTPS. In such scenarios, the
// protocols such as mongo/opaque TCP/HTTPS. In such scenarios, the
// IP addresses specified in the Addresses field or the port will be used
// to uniquely identify the destination.
repeated string hosts = 1;

// The virtual IP addresses associated with the service. Could be CIDR
// prefix. For HTTP services, the addresses field will be ignored and
// the destination will be identified based on the HTTP Host/Authority
// header. For non-HTTP protocols such as mongo/opaque TCP/even HTTPS,
// header. For non-HTTP protocols such as mongo/opaque TCP/HTTPS,
// the hosts will be ignored. If one or more IP addresses are specified,
// the incoming traffic will be identified as belonging to this service
// if the destination IP matches the IP/CIDRs specified in the addresses
Expand Down Expand Up @@ -419,6 +419,10 @@ message ServiceEntry {
// (that bridges networks n1 and n2), or the IP associated with a
// standard service endpoint.
string locality = 5;

// The load balancing weight associated with the endpoint. Endpoints
// with higher weights will receive proportionally higher traffic.
uint32 weight = 6;
};

// One or more endpoints associated with the service.
Expand Down
5 changes: 5 additions & 0 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3152,6 +3152,11 @@
"id": 5,
"name": "locality",
"type": "string"
},
{
"id": 6,
"name": "weight",
"type": "uint32"
}
],
"maps": [
Expand Down
29 changes: 18 additions & 11 deletions python/istio_api/networking/v1alpha3/service_entry_pb2.py

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