diff --git a/deploy/contents/k8s/cp-run-policy-manager/cp-run-policy-manager-dpl.yaml b/deploy/contents/k8s/cp-run-policy-manager/cp-run-policy-manager-dpl.yaml index d4cf008685..a68c7680fd 100644 --- a/deploy/contents/k8s/cp-run-policy-manager/cp-run-policy-manager-dpl.yaml +++ b/deploy/contents/k8s/cp-run-policy-manager/cp-run-policy-manager-dpl.yaml @@ -13,6 +13,9 @@ spec: spec: nodeSelector: cloud-pipeline/cp-run-policy-manager: "true" + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule containers: - name: cp-run-policy-manager image: ${CP_DOCKER_DIST_SRV}lifescience/cloud-pipeline:run-policy-manager-$CP_VERSION diff --git a/deploy/docker/cp-run-policy-manager/init b/deploy/docker/cp-run-policy-manager/init index c63d98b286..9c67cba750 100644 --- a/deploy/docker/cp-run-policy-manager/init +++ b/deploy/docker/cp-run-policy-manager/init @@ -34,3 +34,5 @@ function sigterm_handler { } trap 'kill $! ; sigterm_handler' SIGTERM +tail -F $RUN_POLICY_MANAGER_LOG_FILE & +wait "$!"