예제 #1
0
파일: review_app.py 프로젝트: artsy/hokusai
def create(app_name, verbose):
    """Creates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    hokusai.k8s_create(KUBE_CONTEXT,
                       tag=app_name,
                       namespace=clean_string(app_name),
                       filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                             "%s.yml" % app_name))
예제 #2
0
파일: staging.py 프로젝트: artsy/hokusai
def create(filename, environment, verbose):
    """Create the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_create(KUBE_CONTEXT,
                       filename=filename,
                       environment=environment)
예제 #3
0
def create(verbose):
    """Create the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_create(KUBE_CONTEXT)
예제 #4
0
def create(app_name, verbose):
    """Creates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    hokusai.k8s_create(KUBE_CONTEXT,
                       tag=app_name,
                       namespace=clean_string(app_name),
                       yaml_file_name=app_name)
예제 #5
0
def create(filename, verbose):
    """Create the Kubernetes resources defined in ./hokusai/production.yml"""
    set_verbosity(verbose)
    hokusai.k8s_create(KUBE_CONTEXT, filename=filename)