Esempio n. 1
0
def run(app_name, command, tty, tag, env, constraint, verbose):
    """Launch a new container and run a command"""
    set_verbosity(verbose)
    if tag is None:
        tag = clean_string(app_name)
    hokusai.run(KUBE_CONTEXT,
                command,
                tty,
                tag,
                env,
                constraint,
                namespace=clean_string(app_name))
Esempio n. 2
0
def run(command, tty, tag, env, constraint, verbose):
    """Launch a new container and run a command"""
    set_verbosity(verbose)
    hokusai.run(KUBE_CONTEXT, command, tty, tag, env, constraint)