diff --git a/roles/openshift-apps/poddlers/templates/deploymentconfig.yml.j2 b/roles/openshift-apps/poddlers/templates/deploymentconfig.yml.j2 index f864d052c0..18de537cd9 100644 --- a/roles/openshift-apps/poddlers/templates/deploymentconfig.yml.j2 +++ b/roles/openshift-apps/poddlers/templates/deploymentconfig.yml.j2 @@ -31,6 +31,21 @@ spec: volumeMounts: {{ common_volume_mounts() }} + livenessProbe: + timeoutSeconds: 10 + initialDelaySeconds: 5 + periodSeconds: 60 + httpGet: + path: "/live" + port: 8070 + readinessProbe: + timeoutSeconds: 10 + initialDelaySeconds: 10 + periodSeconds: 60 + httpGet: + path: "/ready" + port: 8070 + volumes: {{ common_volumes() }} diff --git a/roles/openshift-apps/poddlers/templates/fedora-messaging.toml b/roles/openshift-apps/poddlers/templates/fedora-messaging.toml index e38212a992..2a43b2bb63 100644 --- a/roles/openshift-apps/poddlers/templates/fedora-messaging.toml +++ b/roles/openshift-apps/poddlers/templates/fedora-messaging.toml @@ -409,6 +409,9 @@ pagure_api_key = "{{ toddlers_pagure_fas_groups_sync_token }}" infra-sig = 'fedora-infra' metrics-sig = 'metrics' +[monitoring] +port = 8070 + [qos] prefetch_size = 0 prefetch_count = 1