Skip to content

Support volume mounts (e.g. nfs) for Kubernetes #658

Open
@sjawhar

Description

@sjawhar

Requested Functionality

If you're using k8s as your compute environment and you're operating on-prem, it's quite likely that you also have some kind of shared storage system (e.g. NFS). The user should be able to specify such volume mounts for their TPI task.

Candidate Implementation

See master...sjawhar:terraform-provider-iterative:feature/nfs-volume#diff-0fe990bc324a7948aa5a28972474908770afb9f012a7d0586ee0b4af8f808d8eR200-R216

Relevant section in TF would look like this:

resource "iterative_task" "task_with_nfs_volume" {
  cloud = "k8s"
  nfs_volume {
    server      = "10.0.20.3"
    server_path = "/data/projects"
    mount_path  = "/projects"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions