diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:48:23 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:48:23 +0200 |
commit | 369c5d409d9466dfb3360b35c0219d23ae99e2f4 (patch) | |
tree | 254a47542d77ab5b249d576e342a8d699d0cd19a | |
parent | 55256f2247592548b26889defc2e46258580101b (diff) | |
download | ands-369c5d409d9466dfb3360b35c0219d23ae99e2f4.tar.gz ands-369c5d409d9466dfb3360b35c0219d23ae99e2f4.tar.bz2 ands-369c5d409d9466dfb3360b35c0219d23ae99e2f4.tar.xz ands-369c5d409d9466dfb3360b35c0219d23ae99e2f4.zip |
Migrate Ands kickstart service
-rw-r--r-- | setup/projects/kaas/vars/pods.yml | 14 |
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" } |