Beispiel #1
0
def status(resources, pods, describe, top, filename, verbose):
    """Print Kubernetes resources in the staging context"""
    set_verbosity(verbose)
    hokusai.k8s_status(KUBE_CONTEXT,
                       resources,
                       pods,
                       describe,
                       top,
                       filename=filename)
Beispiel #2
0
def status(app_name, resources, pods, describe, top, verbose):
    """Print the Kubernetes resources status defined in the staging context / {APP_NAME} namespace"""
    set_verbosity(verbose)
    hokusai.k8s_status(KUBE_CONTEXT,
                       resources,
                       pods,
                       describe,
                       top,
                       namespace=clean_string(app_name),
                       yaml_file_name=app_name)
Beispiel #3
0
def status(app_name, resources, pods, describe, top, verbose):
    """Print the Kubernetes resources status defined in the staging context / {APP_NAME} namespace"""
    set_verbosity(verbose)
    hokusai.k8s_status(KUBE_CONTEXT,
                       resources,
                       pods,
                       describe,
                       top,
                       namespace=clean_string(app_name),
                       filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                             "%s.yml" % app_name))
Beispiel #4
0
def status(resources, pods, describe, top, verbose):
    """Print Kubernetes resources in the production context"""
    set_verbosity(verbose)
    hokusai.k8s_status(KUBE_CONTEXT, resources, pods, describe, top)