示例#1
0
def delete(app_name, verbose):
    """Deletes the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    set_verbosity(verbose)
    hokusai.k8s_delete(KUBE_CONTEXT,
                       namespace=clean_string(app_name),
                       filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                             "%s.yml" % app_name))
示例#2
0
文件: staging.py 项目: artsy/hokusai
def delete(filename, verbose):
    """Delete the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_delete(KUBE_CONTEXT, filename=filename)
示例#3
0
def delete(verbose):
    """Delete the Kubernetes resources defined in ./hokusai/production.yml"""
    set_verbosity(verbose)
    hokusai.k8s_delete(KUBE_CONTEXT)
示例#4
0
def delete(app_name, verbose):
    """Deletes the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    set_verbosity(verbose)
    hokusai.k8s_delete(KUBE_CONTEXT,
                       namespace=clean_string(app_name),
                       yaml_file_name=app_name)