Skip to content

Latest commit

 

History

History
84 lines (72 loc) · 2.09 KB

File metadata and controls

84 lines (72 loc) · 2.09 KB

Pylon section parser

Default configuration

pylon default configuration

How to configure pylon section in service-configuraiton.yaml

All configurations in this section is optional. If you want to customized these value, you can configure it in service-configuration.yaml.

For example, if you want to use different port than the default 80, add following to your service-configuration.yaml as following:

pylon:
    port: new-value

Generated Configuration

After parsing, object model looks like:

pylon:
    port: 80
    uri: "http://master_ip:80"
    #ssl:
    #  # self-sign
    #  crt_name: xxxxxx
    #  crt_path: /path/to/xxxxxx
    #  key_name: yyyyyy
    #  key_path: /path/to/yyyyyy

Table

Data in Configuration File Data in Cluster Object Model Data in Jinja2 Template Data type
pylon.port com["pylon"]["port"] cluster_cfg["pylon"]["port"] Int
pylon.uri com["pylon"]["uri"] cluster_cfg["pylon"]["uri"] URL
pylon.ssl.crt_name com["pylon"]["ssl"]["crt_name"] cluster_cfg["pylon"]["ssl"]["crt_name"] certificate file name
pylon.ssl.crt_path com["pylon"]["ssl"]["crt_path"] cluster_cfg["pylon"]["ssl"]["crt_path"] the path to certificate file
pylon.ssl.key_name com["pylon"]["ssl"]["key_name"] cluster_cfg["pylon"]["ssl"]["key_name"] certificate key file name
pylon.ssl.key_path com["pylon"]["ssl"]["key_path"] cluster_cfg["pylon"]["ssl"]["key_path"] the path to certificate key file