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))
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)
def create(verbose): """Create the Kubernetes resources defined in ./hokusai/staging.yml""" set_verbosity(verbose) hokusai.k8s_create(KUBE_CONTEXT)
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)
def create(filename, verbose): """Create the Kubernetes resources defined in ./hokusai/production.yml""" set_verbosity(verbose) hokusai.k8s_create(KUBE_CONTEXT, filename=filename)