From 369c5d409d9466dfb3360b35c0219d23ae99e2f4 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:48:23 +0200 Subject: Migrate Ands kickstart service --- setup/projects/kaas/vars/pods.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'setup') 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" } -- cgit v1.2.3