@startuml

!include plantuml_options.txt

!define KubernetesPuml https://raw.githubusercontent.com/dcasati/kubernetes-PlantUML/master/dist
!includeurl KubernetesPuml/kubernetes_Common.puml
!includeurl KubernetesPuml/kubernetes_Context.puml
!includeurl KubernetesPuml/kubernetes_Simplified.puml

component galaxy as "galaxy" {

}

note right of galaxy
    Use extended metadata to write
    results right from Pulsar and
    skip the need for RabbitMQ.
end note

storage disk as "Object Store" {

}

note as disknote
    Disk is unrestricted and does
    not need to be shared between
    Pulsar and Galaxy.
end note

disk ... disknote

cloud cluster as "GA4GH TES Cluster" {
    queue api as "GA4GH TES API" {
        
    }

    frame pod as "TesTask" {

        component staging as "TesExecutor - pulsar+conda" {
        }

    }

}

galaxy --> disk
galaxy --> api : submit, cancel, status
api -[dashed]-> pod : [manages]
staging --> disk : stage in and out
@enduml
