-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support deploying microservice (#2377)
- Loading branch information
Showing
20 changed files
with
1,154 additions
and
10 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# WARNING: This file was auto-generated. Do not edit! | ||
# All your edit might be overwritten! | ||
DEPLOY_DIR={{.DeployDir}} | ||
|
||
cd "${DEPLOY_DIR}" || exit 1 | ||
|
||
{{- if .NumaNode}} | ||
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} env GODEBUG=madvdontneed=1 bin/pd-server services scheduling\ | ||
{{- else}} | ||
exec env GODEBUG=madvdontneed=1 bin/pd-server services scheduling \ | ||
{{- end}} | ||
--backend-endpoints="{{.BackendEndpoints}}" \ | ||
--listen-addr="{{.ListenURL}}" \ | ||
--advertise-listen-addr="{{.AdvertiseListenURL}}" \ | ||
--config=conf/scheduling.toml \ | ||
--log-file="{{.LogDir}}/scheduling.log" 2>> "{{.LogDir}}/scheduling_stderr.log" |
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,19 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# WARNING: This file was auto-generated. Do not edit! | ||
# All your edit might be overwritten! | ||
DEPLOY_DIR={{.DeployDir}} | ||
|
||
cd "${DEPLOY_DIR}" || exit 1 | ||
|
||
{{- if .NumaNode}} | ||
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} env GODEBUG=madvdontneed=1 bin/pd-server services tso\ | ||
{{- else}} | ||
exec env GODEBUG=madvdontneed=1 bin/pd-server services tso \ | ||
{{- end}} | ||
--backend-endpoints="{{.BackendEndpoints}}" \ | ||
--listen-addr="{{.ListenURL}}" \ | ||
--advertise-listen-addr="{{.AdvertiseListenURL}}" \ | ||
--config=conf/tso.toml \ | ||
--log-file="{{.LogDir}}/tso.log" 2>> "{{.LogDir}}/tso_stderr.log" |
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.