示例#1
0
文件: jwa.py 项目: arllanos/kubeflow
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name, namespace=namespace, bucket=bucket, **kwargs)

    return builder.build(dockerfile="components/crud-web-apps/jupyter/Dockerfile",
                         context="components/crud-web-apps/",
                         destination=config.JUPYTER_WEB_APP_IMAGE)
示例#2
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name, namespace=namespace, bucket=bucket, **kwargs)

    return builder.build(dockerfile="components/example-notebook-servers/codeserver-python/Dockerfile",
                         context="components/example-notebook-servers/codeserver-python/",
                         destination=config.NOTEBOOK_SERVER_CODESERVER_PYTHON)
示例#3
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name,
                                     namespace=namespace,
                                     bucket=bucket,
                                     **kwargs)

    return builder.build(dockerfile="components/profile-controller/Dockerfile",
                         context="components/profile-controller/",
                         destination=config.PROFILE_CONTROLLER_IMAGE)
示例#4
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name,
                                     namespace=namespace,
                                     bucket=bucket,
                                     **kwargs)

    return builder.build(dockerfile="components/centraldashboard/Dockerfile",
                         context="components/centraldashboard/",
                         destination=config.CENTRAL_DASHBOARD_IMAGE)
示例#5
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name,
                                     namespace=namespace,
                                     bucket=bucket,
                                     **kwargs)

    return builder.build(dockerfile="components/admission-webhook/Dockerfile",
                         context="components/admission-webhook/",
                         destination=config.ADMISSION_WEBHOOK_IMAGE)
示例#6
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name,
                                     namespace=namespace,
                                     bucket=bucket,
                                     **kwargs)

    return builder.build(dockerfile="components/access-management/Dockerfile",
                         context="components/access-management/",
                         destination=config.ACCESS_MANAGEMENT_IMAGE)
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name, namespace=namespace, bucket=bucket, **kwargs)

    return builder.build(dockerfile="components/example-notebook-servers/jupyter-tensorflow-full/cpu.Dockerfile",
                         context="components/example-notebook-servers/jupyter-tensorflow-full/",
                         destination=config.NOTEBOOK_SERVER_JUPYTER_TENSORFLOW_FULL,
                         second_dockerfile="components/example-notebook-servers/jupyter-tensorflow-full/cuda.Dockerfile",
                         second_destination=config.NOTEBOOK_SERVER_JUPYTER_TENSORFLOW_CUDA_FULL,
                         mem_override="8Gi",
                         deadline_override=6000)
示例#8
0
def create_workflow(name=None, namespace=None, bucket=None, **kwargs):
    """
    Args:
        name: Name to give to the workflow. This can also be used to name
              things associated with the workflow.
    """
    builder = kaniko_builder.Builder(name=name,
                                     namespace=namespace,
                                     bucket=bucket,
                                     **kwargs)

    return builder.build(
        dockerfile=
        "components/example-notebook-servers/jupyter-pytorch/cpu.Dockerfile",
        context="components/example-notebook-servers/jupyter-pytorch/",
        destination=config.NOTEBOOK_SERVER_JUPYTER_PYTORCH,
        second_dockerfile=
        "components/example-notebook-servers/jupyter-pytorch/cuda.Dockerfile",
        second_destination=config.NOTEBOOK_SERVER_JUPYTER_PYTORCH_CUDA)