Exemple #1
0
def join_nodes(options):
    skuba = Skuba(options.conf, options.platform)
    skuba.join_nodes(
        masters=options.masters,
        workers=options.workers,
        timeout=options.timeout
    )
Exemple #2
0
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)
Exemple #3
0
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
    ) 
Exemple #4
0
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())
Exemple #10
0
def cleanup(options):
    platforms.get_platform(options.conf, options.platform).cleanup()
    Skuba.cleanup(options.conf)
Exemple #11
0
def bootstrap(options):
    skuba = Skuba(options.conf, options.platform)
    skuba.cluster_init(kubernetes_version=options.kubernetes_version)
    skuba.node_bootstrap()
Exemple #12
0
def cluster_upgrade(options):
    Skuba(options.conf, options.platform).cluster_upgrade(action=options.upgrade_action)
Exemple #13
0
def bootstrap(options):
    skuba = Skuba(options.conf, options.platform)

    skuba.cluster_init()
    skuba.node_bootstrap()
Exemple #14
0
def build_skuba(options):
    Skuba.build(options.conf)
Exemple #15
0
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)
Exemple #16
0
def join_nodes(options):
    skuba = Skuba(options.conf, options.platform)
    skuba.join_nodes(masters=options.masters,
                     workers=options.workers,
                     delay=options.delay)