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)
Bases:
YamlSpecParser
- parse()
- parse_certificate(certificate)
- 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)
- parse_main(main)
- parse_ps(worker)
- parse_runtime(runtime)
- parse_worker(worker)
- parse_worker_params(worker_spec)