Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legionctl freezes with verbose flag #383

Closed
kirillmakhonin opened this issue Aug 29, 2018 · 6 comments · Fixed by #483
Closed

Legionctl freezes with verbose flag #383

kirillmakhonin opened this issue Aug 29, 2018 · 6 comments · Fixed by #483
Assignees
Labels
bug [Fixed] for any bug fixes.
Milestone

Comments

@kirillmakhonin
Copy link
Member

No description provided.

@kirillmakhonin kirillmakhonin added the bug [Fixed] for any bug fixes. label Aug 29, 2018
@ablatov
Copy link
Member

ablatov commented Aug 29, 2018

On the screenshot we can see that when we use verbose option with legionctl we got stuck for a long time.

@ablatov
Copy link
Member

ablatov commented Aug 29, 2018

screenshot 49

@ablatov
Copy link
Member

ablatov commented Aug 30, 2018

``2018-08-30 14:20:10,070 - legion.edi.server - INFO - Command: inspect with model=None, version=None
2018-08-30 14:20:10,082 - kubernetes.client.rest - DEBUG - response body: {"kind":"ServiceList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/company-a/services","resourceVersion":"49605"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/airflow-company-a-flower","uid":"0d2861cb-ac31-11e8-baee-1209376cced2","resourceVersion":"4559","creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"}},"spec":{"ports":[{"name":"flower","protocol":"TCP","port":5555,"targetPort":"flower"}],"selector":{"app":"airflow-company-a-airflow-flower"},"clusterIP":"100.65.98.175","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/airflow-company-a-redis","uid":"0d2f5bd9-ac31-11e8-baee-1209376cced2","resourceVersion":"4562","creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"}},"spec":{"ports":[{"name":"node","protocol":"TCP","port":6379,"targetPort":"node"}],"selector":{"app":"airflow-company-a-redis"},"clusterIP":"100.68.208.224","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/airflow-company-a-web","uid":"0d33467b-ac31-11e8-baee-1209376cced2","resourceVersion":"4565","creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"}},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":"web"}],"selector":{"app":"airflow-company-a-airflow-web"},"clusterIP":"100.66.76.11","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"legion-company-a-edge","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/legion-company-a-edge","uid":"e4d7ea22-ac30-11e8-baee-1209376cced2","resourceVersion":"4335","creationTimestamp":"2018-08-30T08:44:23Z","labels":{"component":"legion-company-a-edge","legion.component":"edge","legion.system":"yes"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":80,"targetPort":80}],"selector":{"component":"legion-company-a-edge"},"clusterIP":"100.68.155.186","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"legion-company-a-edi","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/legion-company-a-edi","uid":"e4dbb416-ac30-11e8-baee-1209376cced2","resourceVersion":"4339","creationTimestamp":"2018-08-30T08:44:23Z","labels":{"component":"legion-company-a-edi","legion.component":"edi","legion.system":"yes"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":80,"targetPort":5000}],"selector":{"component":"legion-company-a-edi"},"clusterIP":"100.71.64.167","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"legion-company-a-grafana","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/legion-company-a-grafana","uid":"e4df1712-ac30-11e8-baee-1209376cced2","resourceVersion":"4342","creationTimestamp":"2018-08-30T08:44:23Z","labels":{"component":"legion-company-a-grafana","legion.component":"grafana","legion.port":"80","legion.system":"yes"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":80,"targetPort":3000}],"selector":{"component":"legion-company-a-grafana"},"clusterIP":"100.67.137.7","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"legion-company-a-graphite","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/legion-company-a-graphite","uid":"e4e25ed9-ac30-11e8-baee-1209376cced2","resourceVersion":"4345","creationTimestamp":"2018-08-30T08:44:23Z","labels":{"component":"legion-company-a-graphite","legion.component":"graphite","legion.system":"yes"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":80,"targetPort":80},{"name":"carbon-reciever","protocol":"TCP","port":2003,"targetPort":2003},{"name":"statsd-admin","protocol":"TCP","port":8126,"targetPort":8126},{"name":"statsd","protocol":"UDP","port":8125,"targetPort":8125}],"selector":{"component":"legion-company-a-graphite"},"clusterIP":"100.69.180.217","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-demo-abc-model-1-0","uid":"cc6c8e78-ac5f-11e8-baee-1209376cced2","resourceVersion":"49596","creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"clusterIP":"100.69.74.95","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-income-1-1","uid":"4247b242-ac55-11e8-baee-1209376cced2","resourceVersion":"39005","creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"clusterIP":"100.64.218.179","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-nrx-model-1-0","uid":"be7e3062-ac39-11e8-baee-1209376cced2","resourceVersion":"13136","creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"clusterIP":"100.66.194.245","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-test-summation-1-0","uid":"6f7d7467-ac54-11e8-baee-1209376cced2","resourceVersion":"38229","creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"clusterIP":"100.68.176.123","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-trx-model-1-0","uid":"76d1890e-ac39-11e8-baee-1209376cced2","resourceVersion":"12838","creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"clusterIP":"100.68.164.133","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}]}

2018-08-30 14:20:10,172 - legion.k8s.services - DEBUG - Analyzing service model
2018-08-30 14:20:10,173 - legion.k8s.services - DEBUG - Analyzing service model
2018-08-30 14:20:10,173 - legion.k8s.services - DEBUG - Analyzing service model
2018-08-30 14:20:10,173 - legion.k8s.services - DEBUG - Analyzing service model
2018-08-30 14:20:10,173 - legion.k8s.services - DEBUG - Analyzing service model
2018-08-30 14:20:10,173 - legion.edi.server - INFO - Building model client: ModelClient('demo-abc-model', 'http://100.69.74.95:5000', <module 'requests' from '/usr/local/lib/python3.6/dist-packages/requests/__init__.py'>, False, 3)
2018-08-30 14:20:13,178 - legion.edi.server - ERROR - Cannot connect to model <ModelService for model demo-abc-model version 1.0> endpoint to get info: HTTPConnectionPool(host='100.69.74.95', port=5000): Max retries exceeded with url: /api/model/demo-abc-model/1.0/info (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fb698fb2438>, 'Connection to 100.69.74.95 timed out. (connect timeout=3)'))
2018-08-30 14:20:13,191 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"49617"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"0d346922-ac31-11e8-baee-1209376cced2","resourceVersion":"7558","generation":2,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-flower"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-flower"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"flower","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","flower"],"ports":[{"name":"flower","containerPort":5555,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"FLOWER_PORT","value":"5555"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":5555,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":8,"periodSeconds":8,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-redis","uid":"0d35ec8b-ac31-11e8-baee-1209376cced2","resourceVersion":"4633","generation":1,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-redis"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-redis"}},"spec":{"containers":[{"name":"redis","image":"redis:3","ports":[{"name":"node","containerPort":6379,"protocol":"TCP"}],"resources":{},"livenessProbe":{"exec":{"command":["sh","-c","redis-cli -h $(hostname) ping"]},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-scheduler","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-scheduler","uid":"0d39543e-ac31-11e8-baee-1209376cced2","resourceVersion":"7482","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-scheduler"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-scheduler"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"scheduler","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","scheduler"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"exec":{"command":["sh","-c","ps x |grep \"[a]irflow scheduler\""]},"initialDelaySeconds":10,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-web","uid":"0d3f1dbc-ac31-11e8-baee-1209376cced2","resourceVersion":"7692","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-web"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-web"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"connections-config","secret":{"secretName":"airflow-company-a-connections-config","defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"web","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","webserver"],"ports":[{"name":"web","containerPort":8080,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"BOOTUP_DIRECTORY","value":"/opt/bootup"},{"name":"SECRETS_DIRECTORY","value":"/opt/secrets"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"connections-config","mountPath":"/opt/secrets"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-worker","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-worker","uid":"0d42f115-ac31-11e8-baee-1209376cced2","resourceVersion":"39950","generation":4,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-worker"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-worker"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"worker","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","worker"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"MODEL_SERVER_URL","value":"http://legion-company-a-edge"},{"name":"NAMESPACE","value":"company-a"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"airflow-company-a-airflow-worker","serviceAccount":"airflow-company-a-airflow-worker","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":4,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-0","uid":"cc67643a-ac5f-11e8-baee-1209376cced2","resourceVersion":"49612","generation":1,"creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"d8a6a0f"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.8.0-20180830083103.301.d8a6a0f","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T14:20:08Z","lastTransitionTime":"2018-08-30T14:20:08Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-income-1-1","uid":"424348f2-ac55-11e8-baee-1209376cced2","resourceVersion":"39047","generation":1,"creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-180830130202.1.934ac0b","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T13:04:41Z","lastTransitionTime":"2018-08-30T13:04:41Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-nrx-model-1-0","uid":"be7949b1-ac39-11e8-baee-1209376cced2","resourceVersion":"13315","generation":1,"creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/nrx-model:1.0-180830094453.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:47:44Z","lastTransitionTime":"2018-08-30T09:47:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-test-summation-1-0","uid":"6f76d9e3-ac54-11e8-baee-1209376cced2","resourceVersion":"38361","generation":1,"creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-180830125705.2.3d8756d","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T12:58:48Z","lastTransitionTime":"2018-08-30T12:58:48Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-trx-model-1-0","uid":"76c89705-ac39-11e8-baee-1209376cced2","resourceVersion":"12995","generation":1,"creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/trx-model:1.0-180830094252.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:45:44Z","lastTransitionTime":"2018-08-30T09:45:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]}

2018-08-30 14:20:13,280 - legion.edi.server - INFO - Building model client: ModelClient('income', 'http://100.64.218.179:5000', <module 'requests' from '/usr/local/lib/python3.6/dist-packages/requests/__init__.py'>, False, 3)
2018-08-30 14:20:13,296 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"49617"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"0d346922-ac31-11e8-baee-1209376cced2","resourceVersion":"7558","generation":2,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-flower"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-flower"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"flower","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","flower"],"ports":[{"name":"flower","containerPort":5555,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"FLOWER_PORT","value":"5555"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":5555,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":8,"periodSeconds":8,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-redis","uid":"0d35ec8b-ac31-11e8-baee-1209376cced2","resourceVersion":"4633","generation":1,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-redis"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-redis"}},"spec":{"containers":[{"name":"redis","image":"redis:3","ports":[{"name":"node","containerPort":6379,"protocol":"TCP"}],"resources":{},"livenessProbe":{"exec":{"command":["sh","-c","redis-cli -h $(hostname) ping"]},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-scheduler","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-scheduler","uid":"0d39543e-ac31-11e8-baee-1209376cced2","resourceVersion":"7482","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-scheduler"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-scheduler"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"scheduler","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","scheduler"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"exec":{"command":["sh","-c","ps x |grep \"[a]irflow scheduler\""]},"initialDelaySeconds":10,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-web","uid":"0d3f1dbc-ac31-11e8-baee-1209376cced2","resourceVersion":"7692","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-web"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-web"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"connections-config","secret":{"secretName":"airflow-company-a-connections-config","defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"web","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","webserver"],"ports":[{"name":"web","containerPort":8080,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"BOOTUP_DIRECTORY","value":"/opt/bootup"},{"name":"SECRETS_DIRECTORY","value":"/opt/secrets"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"connections-config","mountPath":"/opt/secrets"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-worker","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-worker","uid":"0d42f115-ac31-11e8-baee-1209376cced2","resourceVersion":"39950","generation":4,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-worker"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-worker"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"worker","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","worker"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"MODEL_SERVER_URL","value":"http://legion-company-a-edge"},{"name":"NAMESPACE","value":"company-a"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"airflow-company-a-airflow-worker","serviceAccount":"airflow-company-a-airflow-worker","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":4,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-0","uid":"cc67643a-ac5f-11e8-baee-1209376cced2","resourceVersion":"49612","generation":1,"creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"d8a6a0f"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.8.0-20180830083103.301.d8a6a0f","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T14:20:08Z","lastTransitionTime":"2018-08-30T14:20:08Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-income-1-1","uid":"424348f2-ac55-11e8-baee-1209376cced2","resourceVersion":"39047","generation":1,"creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-180830130202.1.934ac0b","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T13:04:41Z","lastTransitionTime":"2018-08-30T13:04:41Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-nrx-model-1-0","uid":"be7949b1-ac39-11e8-baee-1209376cced2","resourceVersion":"13315","generation":1,"creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/nrx-model:1.0-180830094453.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:47:44Z","lastTransitionTime":"2018-08-30T09:47:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-test-summation-1-0","uid":"6f76d9e3-ac54-11e8-baee-1209376cced2","resourceVersion":"38361","generation":1,"creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-180830125705.2.3d8756d","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T12:58:48Z","lastTransitionTime":"2018-08-30T12:58:48Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-trx-model-1-0","uid":"76c89705-ac39-11e8-baee-1209376cced2","resourceVersion":"12995","generation":1,"creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/trx-model:1.0-180830094252.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:45:44Z","lastTransitionTime":"2018-08-30T09:45:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]}

2018-08-30 14:20:13,387 - legion.edi.server - INFO - Building model client: ModelClient('nrx-model', 'http://100.66.194.245:5000', <module 'requests' from '/usr/local/lib/python3.6/dist-packages/requests/__init__.py'>, False, 3)
2018-08-30 14:20:13,414 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"49617"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"0d346922-ac31-11e8-baee-1209376cced2","resourceVersion":"7558","generation":2,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-flower"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-flower"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"flower","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","flower"],"ports":[{"name":"flower","containerPort":5555,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"FLOWER_PORT","value":"5555"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":5555,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":8,"periodSeconds":8,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-redis","uid":"0d35ec8b-ac31-11e8-baee-1209376cced2","resourceVersion":"4633","generation":1,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-redis"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-redis"}},"spec":{"containers":[{"name":"redis","image":"redis:3","ports":[{"name":"node","containerPort":6379,"protocol":"TCP"}],"resources":{},"livenessProbe":{"exec":{"command":["sh","-c","redis-cli -h $(hostname) ping"]},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-scheduler","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-scheduler","uid":"0d39543e-ac31-11e8-baee-1209376cced2","resourceVersion":"7482","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-scheduler"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-scheduler"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"scheduler","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","scheduler"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"exec":{"command":["sh","-c","ps x |grep \"[a]irflow scheduler\""]},"initialDelaySeconds":10,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-web","uid":"0d3f1dbc-ac31-11e8-baee-1209376cced2","resourceVersion":"7692","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-web"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-web"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"connections-config","secret":{"secretName":"airflow-company-a-connections-config","defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"web","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","webserver"],"ports":[{"name":"web","containerPort":8080,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"BOOTUP_DIRECTORY","value":"/opt/bootup"},{"name":"SECRETS_DIRECTORY","value":"/opt/secrets"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"connections-config","mountPath":"/opt/secrets"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-worker","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-worker","uid":"0d42f115-ac31-11e8-baee-1209376cced2","resourceVersion":"39950","generation":4,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-worker"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-worker"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"worker","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","worker"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"MODEL_SERVER_URL","value":"http://legion-company-a-edge"},{"name":"NAMESPACE","value":"company-a"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"airflow-company-a-airflow-worker","serviceAccount":"airflow-company-a-airflow-worker","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":4,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-0","uid":"cc67643a-ac5f-11e8-baee-1209376cced2","resourceVersion":"49612","generation":1,"creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"d8a6a0f"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.8.0-20180830083103.301.d8a6a0f","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T14:20:08Z","lastTransitionTime":"2018-08-30T14:20:08Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-income-1-1","uid":"424348f2-ac55-11e8-baee-1209376cced2","resourceVersion":"39047","generation":1,"creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-180830130202.1.934ac0b","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T13:04:41Z","lastTransitionTime":"2018-08-30T13:04:41Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-nrx-model-1-0","uid":"be7949b1-ac39-11e8-baee-1209376cced2","resourceVersion":"13315","generation":1,"creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/nrx-model:1.0-180830094453.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:47:44Z","lastTransitionTime":"2018-08-30T09:47:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-test-summation-1-0","uid":"6f76d9e3-ac54-11e8-baee-1209376cced2","resourceVersion":"38361","generation":1,"creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-180830125705.2.3d8756d","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T12:58:48Z","lastTransitionTime":"2018-08-30T12:58:48Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-trx-model-1-0","uid":"76c89705-ac39-11e8-baee-1209376cced2","resourceVersion":"12995","generation":1,"creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/trx-model:1.0-180830094252.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:45:44Z","lastTransitionTime":"2018-08-30T09:45:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]}

2018-08-30 14:20:13,504 - legion.edi.server - INFO - Building model client: ModelClient('test-summation', 'http://100.68.176.123:5000', <module 'requests' from '/usr/local/lib/python3.6/dist-packages/requests/__init__.py'>, False, 3)
2018-08-30 14:20:13,528 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"49617"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"0d346922-ac31-11e8-baee-1209376cced2","resourceVersion":"7558","generation":2,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-flower"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-flower"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"flower","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","flower"],"ports":[{"name":"flower","containerPort":5555,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"FLOWER_PORT","value":"5555"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":5555,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":8,"periodSeconds":8,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-redis","uid":"0d35ec8b-ac31-11e8-baee-1209376cced2","resourceVersion":"4633","generation":1,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-redis"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-redis"}},"spec":{"containers":[{"name":"redis","image":"redis:3","ports":[{"name":"node","containerPort":6379,"protocol":"TCP"}],"resources":{},"livenessProbe":{"exec":{"command":["sh","-c","redis-cli -h $(hostname) ping"]},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-scheduler","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-scheduler","uid":"0d39543e-ac31-11e8-baee-1209376cced2","resourceVersion":"7482","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-scheduler"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-scheduler"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"scheduler","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","scheduler"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"exec":{"command":["sh","-c","ps x |grep \"[a]irflow scheduler\""]},"initialDelaySeconds":10,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-web","uid":"0d3f1dbc-ac31-11e8-baee-1209376cced2","resourceVersion":"7692","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-web"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-web"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"connections-config","secret":{"secretName":"airflow-company-a-connections-config","defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"web","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","webserver"],"ports":[{"name":"web","containerPort":8080,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"BOOTUP_DIRECTORY","value":"/opt/bootup"},{"name":"SECRETS_DIRECTORY","value":"/opt/secrets"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"connections-config","mountPath":"/opt/secrets"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-worker","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-worker","uid":"0d42f115-ac31-11e8-baee-1209376cced2","resourceVersion":"39950","generation":4,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-worker"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-worker"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"worker","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","worker"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"MODEL_SERVER_URL","value":"http://legion-company-a-edge"},{"name":"NAMESPACE","value":"company-a"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"airflow-company-a-airflow-worker","serviceAccount":"airflow-company-a-airflow-worker","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":4,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-0","uid":"cc67643a-ac5f-11e8-baee-1209376cced2","resourceVersion":"49612","generation":1,"creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"d8a6a0f"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.8.0-20180830083103.301.d8a6a0f","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T14:20:08Z","lastTransitionTime":"2018-08-30T14:20:08Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-income-1-1","uid":"424348f2-ac55-11e8-baee-1209376cced2","resourceVersion":"39047","generation":1,"creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-180830130202.1.934ac0b","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T13:04:41Z","lastTransitionTime":"2018-08-30T13:04:41Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-nrx-model-1-0","uid":"be7949b1-ac39-11e8-baee-1209376cced2","resourceVersion":"13315","generation":1,"creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/nrx-model:1.0-180830094453.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:47:44Z","lastTransitionTime":"2018-08-30T09:47:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-test-summation-1-0","uid":"6f76d9e3-ac54-11e8-baee-1209376cced2","resourceVersion":"38361","generation":1,"creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-180830125705.2.3d8756d","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T12:58:48Z","lastTransitionTime":"2018-08-30T12:58:48Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-trx-model-1-0","uid":"76c89705-ac39-11e8-baee-1209376cced2","resourceVersion":"12995","generation":1,"creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/trx-model:1.0-180830094252.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:45:44Z","lastTransitionTime":"2018-08-30T09:45:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]}

2018-08-30 14:20:13,618 - legion.edi.server - INFO - Building model client: ModelClient('trx-model', 'http://100.68.164.133:5000', <module 'requests' from '/usr/local/lib/python3.6/dist-packages/requests/__init__.py'>, False, 3)
2018-08-30 14:20:13,637 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"49617"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"0d346922-ac31-11e8-baee-1209376cced2","resourceVersion":"7558","generation":2,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-flower"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-flower"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"flower","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","flower"],"ports":[{"name":"flower","containerPort":5555,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"FLOWER_PORT","value":"5555"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":5555,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":8,"periodSeconds":8,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-redis","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-redis","uid":"0d35ec8b-ac31-11e8-baee-1209376cced2","resourceVersion":"4633","generation":1,"creationTimestamp":"2018-08-30T08:45:30Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-redis","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-redis"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-redis"}},"spec":{"containers":[{"name":"redis","image":"redis:3","ports":[{"name":"node","containerPort":6379,"protocol":"TCP"}],"resources":{},"livenessProbe":{"exec":{"command":["sh","-c","redis-cli -h $(hostname) ping"]},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-scheduler","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-scheduler","uid":"0d39543e-ac31-11e8-baee-1209376cced2","resourceVersion":"7482","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-scheduler"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-scheduler"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"scheduler","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","scheduler"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"exec":{"command":["sh","-c","ps x |grep \"[a]irflow scheduler\""]},"initialDelaySeconds":10,"timeoutSeconds":3,"periodSeconds":3,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-web","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-web","uid":"0d3f1dbc-ac31-11e8-baee-1209376cced2","resourceVersion":"7692","generation":2,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-web"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-web"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"connections-config","secret":{"secretName":"airflow-company-a-connections-config","defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"web","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","webserver"],"ports":[{"name":"web","containerPort":8080,"protocol":"TCP"}],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"BOOTUP_DIRECTORY","value":"/opt/bootup"},{"name":"SECRETS_DIRECTORY","value":"/opt/secrets"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"connections-config","mountPath":"/opt/secrets"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"airflow-company-a-worker","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-worker","uid":"0d42f115-ac31-11e8-baee-1209376cced2","resourceVersion":"39950","generation":4,"creationTimestamp":"2018-08-30T08:45:31Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"2"}},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"airflow-company-a-airflow-worker"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"airflow-company-a-airflow-worker"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-airflow-role"}},"spec":{"volumes":[{"name":"airflow-config-dir","configMap":{"name":"airflow-company-a-log-config","defaultMode":420}},{"name":"airflow-config","secret":{"secretName":"airflow-company-a-config","items":[{"key":"airflow.cfg","path":"airflow.cfg"}],"defaultMode":420}},{"name":"dag-volume","persistentVolumeClaim":{"claimName":"legion-airflow-dags"}}],"containers":[{"name":"worker","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/ada/k8s-airflow:latest","args":["airflow","worker"],"env":[{"name":"POSTGRES_HOST","value":"gamma-airflow-rds.c7ze6ukv9t4l.us-east-1.rds.amazonaws.com"},{"name":"POSTGRES_PORT","value":"5432"},{"name":"REDIS_HOST","value":"airflow-company-a-redis"},{"name":"AIRFLOW_HOME","value":"/home/airflow"},{"name":"MODEL_SERVER_URL","value":"http://legion-company-a-edge"},{"name":"NAMESPACE","value":"company-a"}],"resources":{},"volumeMounts":[{"name":"airflow-config","mountPath":"/home/airflow/airflow.cfg","subPath":"airflow.cfg"},{"name":"dag-volume","mountPath":"/airflow-dags"},{"name":"airflow-config-dir","mountPath":"/home/airflow/config"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"airflow-company-a-airflow-worker","serviceAccount":"airflow-company-a-airflow-worker","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":4,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T08:45:31Z","lastTransitionTime":"2018-08-30T08:45:31Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-0","uid":"cc67643a-ac5f-11e8-baee-1209376cced2","resourceVersion":"49612","generation":1,"creationTimestamp":"2018-08-30T14:20:08Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"d8a6a0f"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20180830083034","build_id":"301","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.0","git_revision":"d8a6a0f"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.8.0-20180830083103.301.d8a6a0f","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T14:20:08Z","lastTransitionTime":"2018-08-30T14:20:08Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-income-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-income-1-1","uid":"424348f2-ac55-11e8-baee-1209376cced2","resourceVersion":"39047","generation":1,"creationTimestamp":"2018-08-30T13:04:41Z","labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"income","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"cc9fc00","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Sklearn-Income-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Sklearn-Income","com.epam.jenkins.node_name":"jenkins-slave-ncskq-4tz08","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"income","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.1","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/b2d0ea9b-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-ncskq-4tz08","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b2d0ea9b-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"188a98a9817daf026d8312003e59c2086d695a2ef98f2f68e0e402d12f608605"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-180830130202.1.934ac0b","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T13:04:41Z","lastTransitionTime":"2018-08-30T13:04:41Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-nrx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-nrx-model-1-0","uid":"be7949b1-ac39-11e8-baee-1209376cced2","resourceVersion":"13315","generation":1,"creationTimestamp":"2018-08-30T09:47:44Z","labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"nrx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"437c8a42","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_NRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_NRX","com.epam.jenkins.node_name":"jenkins-slave-knh1x-1d69l","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"nrx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"nrx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/5615763e-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-knh1x-1d69l","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"5615763e-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"bc0f05e345001175b99864af553b1e20c0a7286570b1767f8e9ef8a210a06328"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/nrx-model:1.0-180830094453.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:47:44Z","lastTransitionTime":"2018-08-30T09:47:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-test-summation-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-test-summation-1-0","uid":"6f76d9e3-ac54-11e8-baee-1209376cced2","resourceVersion":"38361","generation":1,"creationTimestamp":"2018-08-30T12:58:48Z","labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"test-summation","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"4a15ffeb","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","build_date":"20180830071904","build_id":"299","build_user":"null","com.epam.jenkins.build_id":"2","com.epam.jenkins.build_number":"2","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-2","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC MODEL Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-jlkzj-1n7cg","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"test-summation","com.epam.legion.model.property_values":"{\"number.pow\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow","com.epam.model.version":"1.0","git_revision":"3d8756d","io.kubernetes.container.logpath":"/var/log/pods/1dcd5045-ac54-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-jlkzj-1n7cg","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"1dcd5045-ac54-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"23bcd77d542fa01b6057106fa4353c3a9e98cbebd4decb6f91dda9b609c4c62a"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-180830125705.2.3d8756d","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T12:58:48Z","lastTransitionTime":"2018-08-30T12:58:48Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-trx-model-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-trx-model-1-0","uid":"76c89705-ac39-11e8-baee-1209376cced2","resourceVersion":"12995","generation":1,"creationTimestamp":"2018-08-30T09:45:44Z","labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"trx-model","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dc50d1fc","annotation.io.kubernetes.container.restartCount":"0","annotation.io.kubernetes.container.terminationMessagePath":"/dev/termination-log","annotation.io.kubernetes.container.terminationMessagePolicy":"File","annotation.io.kubernetes.pod.terminationGracePeriod":"30","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC_MODEL_TRX-1","com.epam.jenkins.build_url":"None","com.epam.jenkins.git_branch":"None","com.epam.jenkins.git_commit":"None","com.epam.jenkins.job_name":"DYNAMIC_MODEL_TRX","com.epam.jenkins.node_name":"jenkins-slave-98pd7-tsjg0","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"trx-model","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.8.0-20180830071933.299.3d8756d","com.epam.model.endpoints":"default","com.epam.model.id":"trx-model","com.epam.model.required_properties":"","com.epam.model.version":"1.0","io.kubernetes.container.logpath":"/var/log/pods/02a4f436-ac35-11e8-baee-1209376cced2/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-98pd7-tsjg0","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"02a4f436-ac35-11e8-baee-1209376cced2","io.kubernetes.sandbox.id":"9df692071776c0270e860ad47060134bb2d214a24591a547546539dfd90d701b"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/trx-model:1.0-180830094252.1.c2e0da3","ports":[{"name":"api","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"STATSD_HOST","value":"legion-company-a-graphite.company-a"},{"name":"STATSD_PORT","value":"80"}],"resources":{},"livenessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":10},"readinessProbe":{"httpGet":{"path":"/healthcheck","port":5000,"scheme":"HTTP"},"initialDelaySeconds":2,"timeoutSeconds":2,"periodSeconds":10,"successThreshold":1,"failureThreshold":5},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"model","serviceAccount":"model","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":1,"maxSurge":1}}},"status":{"observedGeneration":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-08-30T09:45:44Z","lastTransitionTime":"2018-08-30T09:45:44Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]}

[pid: 36|app: 0|req: 598/2122] 100.110.0.2 () {54 vars in 817 bytes} [Thu Aug 30 14:20:10 2018] GET /api/1.0/inspect => generated 51808 bytes in 3662 msecs (HTTP/1.1 200) 2 headers in 74 bytes (3 switches on core 0)
100.110.0.2 - admin [30/Aug/2018:14:20:13 +0000] "GET /api/1.0/inspect HTTP/1.1" 200 51808 "-" "python-requests/2.18.4"
[pid: 37|app: 0|req: 1525/2123] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:20:13 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:20:13 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1526/2124] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:20:23 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:20:23 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1527/2125] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:20:33 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:20:33 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1528/2126] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:20:43 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:20:43 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1529/2127] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:20:53 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:20:53 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1530/2128] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:03 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:03 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1531/2129] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:13 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:13 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1532/2130] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:23 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:23 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1533/2131] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:33 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:33 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1534/2132] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:43 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:43 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 599/2133] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:21:53 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:21:53 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1535/2134] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:03 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:22:03 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1536/2135] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:13 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:22:13 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1537/2136] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:23 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:22:23 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
100.120.0.0 - - [30/Aug/2018:14:22:33 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1538/2137] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:33 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 0)
[pid: 37|app: 0|req: 1539/2138] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:43 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:22:43 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1540/2139] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:22:53 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:22:53 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1541/2140] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:03 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:03 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1542/2141] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:13 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:13 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1543/2142] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:23 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:23 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 600/2143] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:33 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:33 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1544/2144] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:43 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:43 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1545/2145] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:23:53 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:23:53 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1546/2146] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:03 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:03 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 601/2147] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:13 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:13 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1547/2148] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:23 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:23 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 602/2149] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:33 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:33 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 603/2150] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:43 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:43 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 37|app: 0|req: 1548/2151] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:24:53 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)
100.120.0.0 - - [30/Aug/2018:14:24:53 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
100.120.0.0 - - [30/Aug/2018:14:25:03 +0000] "GET / HTTP/1.1" 200 194 "-" "kube-probe/1.9"
[pid: 36|app: 0|req: 604/2152] 100.120.0.0 () {34 vars in 382 bytes} [Thu Aug 30 14:25:03 2018] GET / => generated 194 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0)

@ablatov
Copy link
Member

ablatov commented Aug 30, 2018

@kirillmakhonin 14:20:04 legionctl deploy command was executed with verbose. You can see EDI logs in the comment before.

@kirillmakhonin
Copy link
Member Author

In order to catch this bug I've started daemon job on big Jenkins that starts strace command for each process that contains legionctl in CLI arguments

@kirillmakhonin
Copy link
Member Author

It looks like there is a problem with stderror PIPE (strace says that process hangs on writing to fd no. 2).
Possible situation is subprocess documentation:

Note This will deadlock when using stdout=PIPE or stderr=PIPE and the child process generates enough output to a pipe such that it blocks waiting for the OS pipe buffer to accept more data. Use Popen.communicate() when using pipes to avoid that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [Fixed] for any bug fixes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants