Commit Graph

30 Commits

Author SHA1 Message Date
David Kirwan
6475c71205 mdapi: update api on mdapi deployment config
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-07-20 11:07:47 +01:00
David Kirwan
34bc1a5e5f mdapi: reduce replicas to 1
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-07-20 11:03:52 +01:00
Kevin Fenzi
1551d42f45 openshift: next CRD
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:54:08 -08:00
Kevin Fenzi
e614b31457 openshift / various apps: update BuildConfig to use build.openshift.io/v1
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:46:39 -08:00
David Kirwan
f8f758be97 mdapi: rollout to prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2023-01-18 13:43:02 +09:00
David Kirwan
f78802897b mdapi: set correct path to mdapi client inside cronjob
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 18:00:51 +09:00
David Kirwan
01c03085ed mdapi: fix configmap file name
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 17:49:53 +09:00
David Kirwan
15ec523d15 mdapi: add myconfig.py configmap
add volumemount to deploymentconfig
       add volumemount to cronjob

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 17:34:49 +09:00
David Kirwan
ab250d7a87 mdapi: change cronjob entrypoint command
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 16:13:35 +09:00
David Kirwan
d59ca4e29f mdapi: point s2i git uri at new repo
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 15:47:55 +09:00
Kevin Fenzi
50fb64dcae openshift-apps: switch to batch/v1 for apiversion of cronjob
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-24 17:40:37 -07:00
Kevin Fenzi
9cbc8d420e mdapi: move to ocp4
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 17:36:31 -07:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Clement Verna
c101327843 mdapi: give the liveness probe 15s before it times out
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:14 +02:00
Clement Verna
19fa44a731 MDAPI: perform the readinessprobe and livenessprobe every minutes.
This commit makes us check if the pod is healthy only once every
minutes instead of every 10s.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:12 +02:00
Clement Verna
36fc015c49 MDAPI: lets have 2 pods in OpenShift to run mdapi
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-14 14:38:44 +02:00
Clement Verna
0704eabc9d mdapi: remove echo failed from the OpenShift cronjob
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-06 11:30:15 +02:00
Clement Verna
41a2f75dbb mdapi: build on the production OpenShift
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-06 11:26:28 +02:00
Clement Verna
f4a1f3c1d5 mdapi: configure openshift cronjob housekeeping
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-25 13:55:47 +02:00
Clement Verna
659131c821 mdapi: fix the path of the script executed by the cronjob
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-25 11:55:22 +02:00
Clement Verna
16fd75efec mdapi: change the cronjob schedule
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-25 11:42:11 +02:00
Clement Verna
4b0b3acc58 mdapi: Add fedora-messaging configuration to OpenShift app
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-25 10:40:30 +02:00
Clement Verna
2bce5b21ea MDAPI: Add the storageClassName to the persistent volume claim
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-23 15:23:36 +01:00
Clement Verna
e0712a00b2 MDAPI: Update openshift to use nfs storage and fedora-messaging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-23 15:00:13 +01:00
Clement Verna
ea9b6de809 MDAPI: try to pull the correct container in the cron job
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-12 21:29:48 +01:00
Clement Verna
5875ea772c MDAPI: in openshift we don't need the prefix
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-12 20:47:46 +01:00
Clement Verna
535004d77c MDAPI: Create a non presitent volume to store metadata sqlite files
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-12 20:47:18 +01:00
Clement Verna
442a12a2bb MDAPI: use cverna's fork for now to build stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-12 15:15:58 +01:00
Clement Verna
e7736f0f18 MDAPI: fix openshift configmap syntax
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-12 15:15:58 +01:00
Clement Verna
ab0cff4741 mdapi: boilerplate to move mdapi to openshift
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-11 20:19:11 +01:00