summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup/projects/kaas/vars/pods.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/setup/projects/kaas/vars/pods.yml b/setup/projects/kaas/vars/pods.yml
index fe406f4..eacb6f4 100644
--- a/setup/projects/kaas/vars/pods.yml
+++ b/setup/projects/kaas/vars/pods.yml
@@ -4,11 +4,23 @@ builders:
kaas-apache: { src: "{{ ands_repos.docker }}/apache.git", src_path: "2.4", args: { ENABLE_PHP: 1 } }
pods:
+ ands:
+ service: { host: "ands.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] }
+ sched: { replicas: 1 }
+ images:
+ - stream: "kaas/kaas-apache:latest"
+ mappings:
+ - { name: "etc", path: "ands", mount: "/var/www/html" }
+ - { name: "data", path: "repos", mount: "/var/www/html/repos" }
+ - { name: "tmp", path: "ands", mount: "/var/www/html/logs" }
+ probes:
+ - { port: 8080, path: 'kickstart/config.php' }
kaas-router:
service: { host: "{{ katrin_node }}", ports: [ 80/8080, 443/8043 ] }
- sched: { replicas: 1, restrict: { master: "1" } }
+ sched: { replicas: 0, restrict: { master: "1" } }
images:
- image: "httpd:2.2"
+
mappings:
- { name: "etc", path: "apache2", mount: "/usr/local/apache2/conf" }
- { name: "data", path: "www", mount: "/usr/local/apache2/htdocs" }