-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
115 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,25 @@ | ||
############################## | ||
Run Qserv on top of Kubernetes | ||
############################## | ||
|
||
Deployment | ||
========== | ||
|
||
The offical way to install Qserv is to run it on top of Kubernetes using | ||
the `qserv-operator <https://qserv-operator.lsst.io>`_. | ||
|
||
Administration | ||
============== | ||
|
||
Access to Qserv dashboard | ||
------------------------- | ||
|
||
This access is only available for users having access to the cluster with ``kubectl``. | ||
|
||
.. code:: bash | ||
# Open a tunnel between local machine and Qserv dashboard | ||
kubectl port-forward qserv-repl-ctl-0 8080 & | ||
# Access to the dashboard | ||
firefox http://localhost:8080 |
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,69 @@ | ||
version: 15 | ||
ingest: | ||
http: | ||
# Optional | ||
# Timeout for POST and PUT queries in seconds | ||
# POST and PUT queries which might be very long like: | ||
# - postint contribution | ||
# - closing transaction | ||
# - publishing database | ||
# have no timeout at all | ||
write_timeout: 1800 | ||
# Optional | ||
# Timeout for GET queries in seconds | ||
read_timeout: 10 | ||
metadata: | ||
# Optional | ||
# Allow to customize metadata URL | ||
# Default to "{servers[0]}{path}" | ||
url: http://dataserver/datasets/DC2/ | ||
|
||
input: | ||
# List of http servers providing input dataset | ||
# The ingest process will load-balance the download of input files accross | ||
# these servers. | ||
# Use file:// as first element in list when using local data | ||
# TODO Add support for webdav protocol | ||
servers: | ||
- http://dataserver | ||
- http://dataserver | ||
# Path to input data on the http servers | ||
path: datasets/DC2/ | ||
|
||
## URLs of Qserv services | ||
## ---------------------- | ||
qserv: | ||
# URL which serves Qserv SQL queries | ||
query_url: "mysql://qsmaster:@qserv-czar:4040" | ||
# URL which serves input chunk contributions queue | ||
queue_url: "mysql://qsingest:@qserv-ingest-db-0.qserv-ingest-db/qservIngest" | ||
# Replication controller service URL | ||
replication_url: http://qserv-repl-ctl-0.qserv-repl-ctl:8080 | ||
|
||
## Configure replication service | ||
## Documented at https://confluence.lsstcorp.org/display/DM/1.+Setting+configuration+parameters | ||
## -------------------------------------------------------------------------------------------- | ||
ingestservice: | ||
# Optional, default to None | ||
# Override the default value stored in input metadata (in database.json file) | ||
# 1: build secondary index when closing a transaction | ||
# 0: build secondary index after ingest | ||
auto_build_secondary_index: 1 | ||
|
||
# Optional, default to "/etc/pki/tls/certs/ca-bundle.crt" | ||
# cainfo: "/etc/pki/tls/certs/ca-bundle.crt" | ||
|
||
# Optional, default to 1 | ||
# ssl_verifypeer: 1 | ||
|
||
# Optional, default to None | ||
# Override the default Qserv value | ||
async_proc_limit: 4 | ||
|
||
# Optional, default to None | ||
# Override the default Qserv value | ||
low_speed_limit: 10 | ||
|
||
# Optional, default to None | ||
# Override the default Qserv value | ||
low_speed_time: 3600 |
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