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
# XDS Server | |
# Build xDS Server | |
task xds:build | |
# Deploy xDS Server | |
task xds:deploy | |
# You can run above in a single command | |
task xds:build xds:deploy | |
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
{"level":"info","caller":"client/client.go:51","msg":"Hello Response","Response":"message:\"Hello gRPC Proxyless LB from host howdy-server-7d79c584f6-xbv4l\""} | |
{"level":"info","caller":"client/client.go:51","msg":"Hello Response","Response":"message:\"Hello gRPC Proxyless LB from host howdy-server-7d79c584f6-d54zs\""} | |
{"level":"info","caller":"client/client.go:51","msg":"Hello Response","Response":"message:\"Hello gRPC Proxyless LB from host howdy-server-7d79c584f6-xbv4l\""} | |
{"level":"info","caller":"client/client.go:51","msg":"Hello Response","Response":"message:\"Hello gRPC Proxyless LB from host howdy-server-7d79c584f6-d54zs\""} |
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
INFO: 2020/09/07 01:31:28 [xds] [eds-lb 0xc0002ce820] Watch update from xds-client 0xc0001502a0, content: {Drops:[] Localities:[{Endpoints:[{Address:10.42.0.234:50052 HealthStatus:1 Weight:0} {Address:10.42.1.138:50052 HealthStatus:1 Weight:0}] ID:my-region-my-zone- Priority:0 Weight:1000}]} |
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
NAME READY STATUS RESTARTS AGE | |
howdy-client-659b8f99f5-q6fvx 1/1 Running 1 4d23h | |
hello-client-5f7bdc5f68-2vkfs 1/1 Running 1 4d23h | |
xds-server-86c5f6bfcf-f8wks 1/1 Running 1 5d | |
hello-server-b9ff98f5b-cgvk7 1/1 Running 1 4d23h | |
howdy-server-7d79c584f6-xbv4l 1/1 Running 1 4d23h | |
hello-server-b9ff98f5b-l7dmc 1/1 Running 1 4d23h | |
howdy-server-7d79c584f6-d54zs 1/1 Running 1 4d23h |
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
NAME READY UP-TO-DATE AVAILABLE AGE | |
hello-client 1/1 1 1 4d23h | |
howdy-client 1/1 1 1 4d23h | |
hello-server 2/2 2 2 4d23h | |
howdy-server 2/2 2 2 4d23h | |
xds-server 1/1 1 1 5d |
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
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 14d | |
xds-server ClusterIP 10.43.113.60 <none> 18000/TCP 5d | |
hello-server ClusterIP 10.43.78.196 <none> 50051/TCP 4d23h | |
howdy-server ClusterIP 10.43.228.201 <none> 50052/TCP 4d23h |
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
name: hugo publish | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-18.04 |
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
Parameters: | |
lambdaFunctionName: | |
Type: "String" | |
AllowedPattern: "^[a-zA-Z0-9]+[a-zA-Z0-9-]+[a-zA-Z0-9]+$" | |
Description: Lambda function name. (Recommend to keep default) | |
Default: "lambda-api" | |
apiStageName: | |
Type: "String" | |
Description: API Staging Name. (Recommend to keep default) | |
Default: "v1" |
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
ApiGatewayRestApi: | |
Type: AWS::ApiGateway::RestApi | |
Properties: | |
ApiKeySourceType: HEADER | |
Description: An API Gateway for Lambda APIs | |
EndpointConfiguration: | |
Types: | |
- REGIONAL | |
Name: !Join ["", [{"Ref": "AWS::StackName"}, "-api"]] |
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
ApiKey: | |
Type: AWS::ApiGateway::ApiKey | |
Properties: | |
Name: !Join ["", [{"Ref": "AWS::StackName"}, "-apikey"]] | |
Description: !Join ["", [{"Ref": "AWS::StackName"}, "api key"]] | |
Enabled: true | |
GenerateDistinctId: false | |
ApiUsagePlan: | |
Type: "AWS::ApiGateway::UsagePlan" | |
DependsOn: ApiGatewayStage |
NewerOlder