@@ -86,6 +86,7 @@ package istio.routing.v1alpha2;
86
86
// - eu.bookinfo.com
87
87
// gateways:
88
88
// - my-gateway
89
+ // - mesh # applies to all the sidecars in the mesh
89
90
// http:
90
91
// - match:
91
92
// - headers:
@@ -109,8 +110,10 @@ package istio.routing.v1alpha2;
109
110
// name: reviews.qa
110
111
// weight: 20
111
112
//
112
- // The following routing rule forwards traffic arriving at (external)
113
- // port 2379 from 172.17.16.* subnet to internal Mongo server on port 5555.
113
+ // The following routing rule forwards traffic arriving at (external) port
114
+ // 2379 from 172.17.16.0/24 subnet to internal Mongo server on port 5555. This
115
+ // rule is not applicable internally in the mesh as the gateway list omits
116
+ // the reserved name "mesh".
114
117
//
115
118
// apiVersion: config.istio.io/v1alpha2
116
119
// kind: RouteRule
@@ -130,26 +133,6 @@ package istio.routing.v1alpha2;
130
133
// - destination:
131
134
// name: mongo.prod
132
135
//
133
- // By default, if there is no wildcard, HTTP requests for unknown domains
134
- // or requests that have no matching route rule will respond with a 404. If
135
- // a specific default behavior is desired at the ingress, add a route rule
136
- // with a wildcard host and the desired backend. For example, the following
137
- // wildcard routing rule routes all traffic to homepage.prod by default.
138
- //
139
- // apiVersion: config.istio.io/v1alpha2
140
- // kind: RouteRule
141
- // metadata:
142
- // name: default-ingress
143
- // spec:
144
- // hosts:
145
- // - *
146
- // gateways:
147
- // - my-gateway
148
- // http:
149
- // - route:
150
- // - destination:
151
- // name: homepage.prod
152
- //
153
136
message Gateway {
154
137
// REQUIRED: A list of server specifications.
155
138
repeated Server servers = 1 ;
0 commit comments