-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP][Serve] Enable launching multiple external LB on controller.
- Loading branch information
Showing
10 changed files
with
434 additions
and
63 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# SkyServe YAML to run multiple Load Balancers in different region. | ||
|
||
name: multi-lb | ||
|
||
service: | ||
readiness_probe: | ||
path: /health | ||
initial_delay_seconds: 20 | ||
replicas: 2 | ||
external_load_balancers: | ||
- resources: | ||
# cloud: aws | ||
# region: us-east-2 | ||
cloud: gcp | ||
region: us-east1 | ||
load_balancing_policy: round_robin | ||
- resources: | ||
# cloud: aws | ||
# region: ap-northeast-1 | ||
cloud: gcp | ||
region: asia-northeast1 | ||
load_balancing_policy: round_robin | ||
|
||
resources: | ||
cloud: aws | ||
ports: 8080 | ||
cpus: 2+ | ||
|
||
workdir: examples/serve/http_server | ||
|
||
run: python3 server.py |
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
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
Oops, something went wrong.