def join_nodes(options): skuba = Skuba(options.conf, options.platform) skuba.join_nodes( masters=options.masters, workers=options.workers, timeout=options.timeout )
def bootstrap(options): skuba = Skuba(options.conf, options.platform) skuba.cluster_bootstrap( kubernetes_version=options.kubernetes_version, cloud_provider=options.cloud_provider, timeout=options.timeout, registry_mirror=options.registry_mirror)
def bootstrap(options): skuba = Skuba(options.conf, options.platform) skuba.cluster_init( kubernetes_version=options.kubernetes_version, cloud_provider=options.cloud_provider ) skuba.node_bootstrap( cloud_provider=options.cloud_provider, timeout=options.timeout )
def skuba(conf, target): return Skuba(conf, target)
def node_upgrade(options): Skuba(options.conf, options.platform).node_upgrade(action=options.upgrade_action, role=options.role, nr=options.node)
def remove_node(options): Skuba(options.conf, options.platform).node_remove(role=options.role, nr=options.node)
def join_node(options): Skuba(options.conf, options.platform).node_join(role=options.role, nr=options.node)
def cluster_upgrade_plan(options): Skuba(options.conf, options.platform).cluster_upgrade_plan()
def cluster_status(options): print(Skuba(options.conf, options.platform).cluster_status())
def cleanup(options): platforms.get_platform(options.conf, options.platform).cleanup() Skuba.cleanup(options.conf)
def bootstrap(options): skuba = Skuba(options.conf, options.platform) skuba.cluster_init(kubernetes_version=options.kubernetes_version) skuba.node_bootstrap()
def cluster_upgrade(options): Skuba(options.conf, options.platform).cluster_upgrade(action=options.upgrade_action)
def bootstrap(options): skuba = Skuba(options.conf, options.platform) skuba.cluster_init() skuba.node_bootstrap()
def build_skuba(options): Skuba.build(options.conf)
def deploy(options): skuba = Skuba(options.conf, options.platform) skuba.cluster_deploy(kubernetes_version=options.kubernetes_version, cloud_provider=options.cloud_provider, timeout=options.timeout)
def join_nodes(options): skuba = Skuba(options.conf, options.platform) skuba.join_nodes(masters=options.masters, workers=options.workers, delay=options.delay)