-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from hanbingleixue/main
Add configuration and code for xDS flow control validation demo
- Loading branch information
Showing
53 changed files
with
61 additions
and
1,101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,25 +186,15 @@ jobs: | |
asset_path: ${{ github.workspace }}/package/result/sermant-examples-first-plugin-demo-${{ env.version }}.tar.gz | ||
asset_name: sermant-examples-first-plugin-demo-${{ env.version }}.tar.gz | ||
asset_content_type: application/tar | ||
- name: Upload Release xds-service-discovery-demo # xds-service-discovery-demo release包 | ||
id: upload-release-asset-xds-service-discovery | ||
- name: Upload Release xds-demo # xds-demo release包 | ||
id: upload-release-asset-xds | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ github.workspace }}/package/result/sermant-examples-xds-service-discovery-demo-${{ env.version }}.tar.gz | ||
asset_name: sermant-examples-xds-service-discovery-demo-${{ env.version }}.tar.gz | ||
asset_content_type: application/tar | ||
- name: Upload Release xds-router-demo # xds-router-demo release包 | ||
id: upload-release-asset-xds-router | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ github.workspace }}/package/result/sermant-examples-xds-router-demo-${{ env.version }}.tar.gz | ||
asset_name: sermant-examples-xds-router-demo-${{ env.version }}.tar.gz | ||
asset_path: ${{ github.workspace }}/package/result/sermant-examples-xds-demo-${{ env.version }}.tar.gz | ||
asset_name: sermant-examples-xds-demo-${{ env.version }}.tar.gz | ||
asset_content_type: application/tar | ||
- name: Upload Release mq-gray-demo # rocketmq-gray-demo release包 | ||
id: upload-release-mq-gray | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions
27
xds-demo/product/script/spring-server-virtureservice-flowcontrol.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: VirtualService | ||
metadata: | ||
name: spring-server-virtualservice | ||
spec: | ||
hosts: | ||
- spring-server | ||
http: | ||
- name: "v1-routes" | ||
match: | ||
- headers: | ||
version: | ||
exact: v1 | ||
uri: | ||
exact: /router | ||
ignoreUriCase: false | ||
route: | ||
- destination: | ||
host: spring-server | ||
subset: v1 | ||
port: | ||
number: 8081 | ||
fault: | ||
abort: | ||
percentage: | ||
value: 100 | ||
httpStatus: 400 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.