def sequence_cluster(ops: setup.Operations) -> None: ops.add_operation( "verify that the fundamental cluster infrastructure is online", iterative_verifier(verify.check_online, 120.0)) ops.add_operation("verify that etcd has launched successfully", iterative_verifier(verify.check_etcd_health, 120.0)) ops.add_operation("verify that kubernetes has launched successfully", iterative_verifier(verify.check_kube_health, 120.0)) ops.add_operation("verify that acis can be pulled from the registry", iterative_verifier(verify.check_aci_pull, 60.0)) ops.add_operation("verify that flannel is online", iterative_verifier(verify.check_flannel, 180.0)) ops.add_operation("verify that dns-addon is online", iterative_verifier(verify.check_dns, 120.0))
def sequence_ssh(ops: setup.Operations) -> None: ops.add_operation("request SSH access to cluster", access.access_ssh_with_add) ops.add_subcommand(setup.setup_supervisor_ssh) ops.add_operation("verify ssh access to supervisor", iterative_verifier(verify.check_ssh_with_certs, 20.0))
def sequence_registry(ops: setup.Operations, config: configuration.Config) -> None: setup.setup_dns_bootstrap(ops, config) setup.setup_bootstrap_registry(ops, config) ops.add_operation("verify that acis can be pulled from the registry", verify.check_aci_pull)