Skip to content

Commit

Permalink
Sample config file for k8s based execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcm32 committed Mar 15, 2016
1 parent eff6d21 commit 9c4ef02
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions config/job_conf_k8s.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<?xml version="1.0"?>
<!-- A sample job config that explicitly configures job running the way it is configured by default (if there is no explicit config). -->
<!-- A sample job config for sketching the k8s use case with shared fs -->
<job_conf>
<plugins>
<plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner" workers="4"/>
<plugin id="drmaa" type="runner" load="galaxy.jobs.runners.drmaa:DRMAAJobRunner">
<!-- Different DRMs handle successfully completed jobs differently,
these options can be changed to handle such differences and
are explained in detail on the Galaxy wiki. Defaults are shown -->
<param id="invalidjobexception_state">ok</param>
<param id="invalidjobexception_retries">0</param>
<param id="internalexception_state">ok</param>
<param id="internalexception_retries">0</param>
</plugin>
<plugin id="k8s" type="runner" load="galaxy.jobs.runners.kubernetes:kubernetes">
<param id="k8s_config_path">/path/to/kubeconfig</param>
</plugin>
Expand All @@ -22,7 +13,10 @@
<destinations>
<destination id="local" runner="local"/>
<destination id="blankfilter-container" runner="k8s">

<param id="repo">docker-registry.local:6000</param>
<param id="owner">fatcat</param>
<param id="image">blankfilter</param>
<param id="tag">latest</param>
</destination>
</destinations>
<tools>
Expand All @@ -39,5 +33,6 @@
and pass to dynamic destination (as resource_params argument). -->
<tool id="longbar" destination="dynamic" resources="all" />
<tool id="baz" handler="special_handlers" destination="bigmem"/>
<tool id="blankfilter" destination="blankfilter-container"/>
</tools>
</job_conf>

0 comments on commit 9c4ef02

Please sign in to comment.