Example #1
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),
                       filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                             "%s.yml" % app_name))
Example #2
0
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)
Example #3
0
def create(verbose):
    """Create the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_create(KUBE_CONTEXT)
Example #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)
Example #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)