Skip to content

Commit

Permalink
publish 1.0.4
Browse files Browse the repository at this point in the history
Signed-off-by: huabingzhao <[email protected]>
  • Loading branch information
zhaohuabing committed Mar 28, 2022
1 parent 4529ff3 commit 0971cf5
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 16 deletions.
6 changes: 3 additions & 3 deletions demo/metaprotocol-dubbo/dubbo-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-provider
version: v1
Expand All @@ -55,7 +55,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-provider
version: v2
Expand All @@ -82,7 +82,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-consumer
spec:
Expand Down
2 changes: 1 addition & 1 deletion demo/metaprotocol-qza/destinationrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
name: qza-sample-server
namespace: meta-qza
spec:
host: qza-sample-server
host: qza-sample-server.meta-qza.svc.cluster.local
subsets:
- name: v1
labels:
Expand Down
26 changes: 26 additions & 0 deletions demo/metaprotocol-thrift/consistent-hash-lb/destinationrule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright Aeraki Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: thrift-sample-server
namespace: meta-thrift
spec:
host: thrift-sample-server.meta-thrift.svc.cluster.local
trafficPolicy:
loadBalancer:
consistentHash:
httpHeaderName: method
2 changes: 1 addition & 1 deletion demo/metaprotocol-thrift/destinationrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
name: thrift-sample-server
namespace: meta-thrift
spec:
host: thrift-sample-server
host: thrift-sample-server.meta-thrift.svc.cluster.local
subsets:
- name: v1
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand All @@ -46,7 +46,7 @@ metadata:
name: thrift-sample-server
namespace: meta-thrift
spec:
host: thrift-sample-server
host: thrift-sample-server.meta-thrift.svc.cluster.local
trafficPolicy:
outlierDetection:
baseEjectionTime: 15m
Expand Down
6 changes: 3 additions & 3 deletions demo/metaprotocol-thrift/thrift-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand All @@ -55,7 +55,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand All @@ -82,7 +82,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-client
Expand Down
2 changes: 1 addition & 1 deletion demo/metaprotocol-trpc/destinationrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
name: trpc-sample-server
namespace: meta-trpc
spec:
host: trpc-sample-server
host: trpc-sample-server.meta-trpc.svc.cluster.local
subsets:
- name: v1
labels:
Expand Down
2 changes: 1 addition & 1 deletion demo/metaprotocol-videopacket/destinationrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
name: videopacket-sample-server
namespace: meta-videopacket
spec:
host: videopacket-sample-server
host: videopacket-sample-server.meta-videopacket.svc.cluster.local
subsets:
- name: v1
labels:
Expand Down
2 changes: 1 addition & 1 deletion demo/thrift/destinationrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kind: DestinationRule
metadata:
name: thrift-sample-server
spec:
host: thrift-sample-server
host: thrift-sample-server.thrift.svc.cluster.local
subsets:
- name: v1
labels:
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/metaprotocol/testdata/metaprotocol-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-provider
version: v1
Expand All @@ -41,7 +41,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-provider
version: v2
Expand All @@ -68,7 +68,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
labels:
app: dubbo-sample-consumer
spec:
Expand Down

0 comments on commit 0971cf5

Please sign in to comment.