ads.opctl.config.yaml_parsers.distributed package#

Submodules#

ads.opctl.config.yaml_parsers.distributed.yaml_parser module#

class ads.opctl.config.yaml_parsers.distributed.yaml_parser.DistributedSpecParser(distributed)[source]#

Bases: YamlSpecParser

parse()[source]#
parse_certificate(certificate)[source]#
Expected yaml schema:
cluster:
spec:
certificate:
caCert:

id: oci.xxxx.<ca_cert_ocid> downloadLocation: /code/ca.pem cert:

id: oci.xxxx.<cert_ocid> certDownloadLocation: /code/cert.pem keyDownloadLocation: /code/key.pem

parse_cluster(cluster_def)[source]#
parse_main(main)[source]#
parse_ps(worker)[source]#
parse_runtime(runtime)[source]#
parse_worker(worker)[source]#
parse_worker_params(worker_spec)[source]#

Module contents#