2018-10-03 10:09:55,026 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,030 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,031 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,045 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,052 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,057 - legion.k8s.services - DEBUG - Analyzing service model 2018-10-03 10:09:55,061 - legion.edi.server - INFO - Building model client: ModelClient('demo-abc-model', 'http://100.69.155.26:5000', , False, 3) 2018-10-03 10:09:55,091 - legion.utils - DEBUG - Calling > 2018-10-03 10:09:55,301 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198882"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198875","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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,"unavailableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:09:55,542 - legion.edi.server - INFO - Building model client: ModelClient('demo-abc-model', 'http://100.69.125.175:5000', , False, 3) 2018-10-03 10:09:58,551 - legion.edi.server - ERROR - Cannot connect to model endpoint to get info: HTTPConnectionPool(host='100.69.125.175', port=5000): Max retries exceeded with url: /api/model/demo-abc-model/1.1/info (Caused by ConnectTimeoutError(, 'Connection to 100.69.125.175 timed out. (connect timeout=3)')) 2018-10-03 10:09:58,551 - legion.utils - DEBUG - Calling > 2018-10-03 10:09:58,564 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198894"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198875","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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,"unavailableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:09:58,654 - legion.edi.server - INFO - Building model client: ModelClient('edi-test-model', 'http://100.70.155.6:5000', , False, 3) 2018-10-03 10:10:01,657 - legion.edi.server - ERROR - endpoint to get info: HTTPConnectionPool(host='100.70.155.6', port=5000): Max retries exceeded with url: /api/model/edi-test-model/1.2/info (Caused by ConnectTimeoutError(, 'Connection to 100.70.155.6 timed out. (connect timeout=3)')) 2018-10-03 10:10:01,657 - legion.utils - DEBUG - Calling > 2018-10-03 10:10:01,670 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198904"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198875","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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,"unavailableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:10:01,760 - legion.utils - DEBUG - Retry 1/5 was failed 2018-10-03 10:10:01,760 - legion.utils - DEBUG - Waiting 2s before next retry analysis [pid: 1836|app: 0|req: 391/1494] 100.120.0.0 () {34 vars in 382 bytes} [Wed Oct 3 10:10:02 2018] GET / => generated 226 bytes in 0 msecs (HTTP/1.1 200) 2 headers in 72 bytes (2 switches on core 0) 100.120.0.0 - - [03/Oct/2018:10:10:02 +0000] "GET / HTTP/1.1" 200 226 "-" "kube-probe/1.9" 2018-10-03 10:10:03,761 - legion.utils - DEBUG - Calling > 2018-10-03 10:10:03,774 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198912"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198911","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:10:03,867 - legion.utils - DEBUG - Retry 2/5 was failed 2018-10-03 10:10:03,868 - legion.utils - DEBUG - Waiting 2s before next retry analysis 2018-10-03 10:10:05,869 - legion.utils - DEBUG - Calling > 2018-10-03 10:10:05,889 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198920"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198911","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:10:05,972 - legion.utils - DEBUG - Retry 3/5 was failed 2018-10-03 10:10:05,972 - legion.utils - DEBUG - Waiting 2s before next retry analysis 2018-10-03 10:10:07,973 - legion.utils - DEBUG - Calling > 2018-10-03 10:10:07,985 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198926"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198911","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:10:08,076 - legion.utils - DEBUG - Retry 4/5 was failed 2018-10-03 10:10:08,076 - legion.utils - DEBUG - Waiting 2s before next retry analysis 2018-10-03 10:10:10,077 - legion.utils - DEBUG - Calling > 2018-10-03 10:10:10,089 - kubernetes.client.rest - DEBUG - response body: {"kind":"DeploymentList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments","resourceVersion":"198930"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/airflow-company-a-flower","uid":"3351fcdc-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172393","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-flower","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"3352bf12-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172413","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","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-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33535e26-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172397","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-scheduler","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"335418c8-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172534","generation":1,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-web","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"/admin/airflow/dag_stats","port":8080,"scheme":"HTTP"},"initialDelaySeconds":60,"timeoutSeconds":3,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/admin/rest_api/api?api=rest_api_plugin_version","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":1,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","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":"33553321-c6d9-11e8-a15b-1262d552d640","resourceVersion":"198658","generation":5,"creationTimestamp":"2018-10-03T06:54:40Z","labels":{"chart":"airflow-0.0.1","component":"airflow-company-a-worker","heritage":"Tiller","release":"airflow-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"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/legion/k8s-airflow:0.9.0-20181003063726.448.c9f0259","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":"EDI_URL","value":"http://legion-company-a-edi"},{"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":5,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2018-10-03T06:54:40Z","lastTransitionTime":"2018-10-03T06:54:40Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/event-collector-company-a-fluentd","uid":"6e24d8ed-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172601","generation":1,"creationTimestamp":"2018-10-03T06:56:19Z","labels":{"chart":"event-collector-0.0.1","component":"event-collector-company-a-fluentd","heritage":"Tiller","release":"event-collector-company-a"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"event-collector-company-a-fluentd"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"component":"event-collector-company-a-fluentd"},"annotations":{"iam.amazonaws.com/role":"gamma.mldev.ada.iqvia.com-company-a-event-collector-role"}},"spec":{"volumes":[{"name":"fluentd-config-values","configMap":{"name":"event-collector-company-a-fluentd-config-values","defaultMode":420}}],"containers":[{"name":"fluentd","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/k8s-fluentd:0.9.0-20181003063726.448.c9f0259","ports":[{"name":"input","containerPort":80,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"fluentd-config-values","mountPath":"/opt/config"}],"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-10-03T06:56:19Z","lastTransitionTime":"2018-10-03T06:56:19Z","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":"708bddb6-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198844","generation":1,"creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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":"20181003063636","build_id":"448","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":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-1:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:39Z","lastTransitionTime":"2018-10-03T10:09:39Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-demo-abc-model-1-1","uid":"792c1446-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198911","generation":1,"creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","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.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"spec":{"containers":[{"name":"model","image":"nexus-lo.cc.mldev.ada.iqvia.com:443/legion/test-bare-model-api-model-2:0.9.0-20181003063726.448.c9f0259","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-10-03T10:09:54Z","lastTransitionTime":"2018-10-03T10:09:54Z","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":"a5888295-c6da-11e8-a15b-1262d552d640","resourceVersion":"174894","generation":1,"creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","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":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/income:1.1-181003070331.1.c9f0259","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-10-03T07:05:01Z","lastTransitionTime":"2018-10-03T07:05:01Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/apis/extensions/v1beta1/namespaces/company-a/deployments/model-recognize-digits-1-0","uid":"285f70db-c6db-11e8-a15b-1262d552d640","resourceVersion":"175715","generation":1,"creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"replicas":1,"selector":{"matchLabels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/recognize-digits:1.0-181003070637.1.c9f0259","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-10-03T07:08:41Z","lastTransitionTime":"2018-10-03T07:08:41Z","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":"1d37d81d-c6da-11e8-a15b-1262d552d640","resourceVersion":"173922","generation":1,"creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","deployment.kubernetes.io/revision":"1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"spec":{"containers":[{"name":"model","image":"localhost:31111/legion_model/test-summation:1.0-181003065844.1.c9f0259","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-10-03T07:01:13Z","lastTransitionTime":"2018-10-03T07:01:13Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."}]}}]} 2018-10-03 10:10:10,180 - legion.utils - DEBUG - Retry 5/5 was failed 2018-10-03 10:10:10,180 - legion.utils - ERROR - No retries left for function > 2018-10-03 10:10:10,180 - legion.http - ERROR - Exception during processing request for inspect: Failed to load deployment for ModelService for model edi-test-model version 1.2 Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/legion/http.py", line 161, in decorated_function response = method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/legion/http.py", line 234, in decorated_function return method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/legion/http.py", line 205, in decorated_function return method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/legion/edi/server.py", line 280, in inspect model_api_ok, model_api_info File "/usr/local/lib/python3.6/dist-packages/legion/k8s/definitions.py", line 180, in build_from_model_service status=model_service.status, File "/usr/local/lib/python3.6/dist-packages/legion/k8s/services.py", line 402, in status self._load_deployment_data() File "/usr/local/lib/python3.6/dist-packages/legion/k8s/services.py", line 303, in _load_deployment_data raise Exception('Failed to load deployment for {!r}'.format(self)) Exception: Failed to load deployment for ModelService for model edi-test-model version 1.2 [pid: 2068|app: 0|req: 1068/1495] 100.120.0.3 () {54 vars in 819 bytes} [Wed Oct 3 10:09:54 2018] GET /api/1.0/inspect => generated 119 bytes in 15262 msecs (HTTP/1.1 500) 2 headers in 91 bytes (2 switches on core 0) 100.120.0.3 - admin [03/Oct/2018:10:10:10 +0000] "GET /api/1.0/inspect HTTP/1.1" 500 119 "-" "python-requests/2.18.4" 2018-10-03 10:10:11,015 - legion.edi.server - INFO - Command: inspect with model=None, version=None 2018-10-03 10:10:11,016 - legion.edi.server - INFO - Gathering information about models with id=None version=None 2018-10-03 10:10:11,027 - kubernetes.client.rest - DEBUG - response body: {"kind":"ServiceList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/company-a/services","resourceVersion":"198932"},"items":[{"metadata":{"name":"airflow-company-a-flower","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/airflow-company-a-flower","uid":"334bb64f-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172271","creationTimestamp":"2018-10-03T06:54:40Z","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.67.180.104","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":"334e5ddb-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172274","creationTimestamp":"2018-10-03T06:54:40Z","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.66.11.16","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":"3351728d-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172279","creationTimestamp":"2018-10-03T06:54:40Z","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.65.103.73","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"event-collector-company-a-fluentd","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/event-collector-company-a-fluentd","uid":"6e246740-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172572","creationTimestamp":"2018-10-03T06:56:19Z","labels":{"component":"event-collector-company-a-fluentd"}},"spec":{"ports":[{"name":"input","protocol":"TCP","port":80,"targetPort":80}],"selector":{"component":"event-collector-company-a-fluentd"},"clusterIP":"100.65.236.131","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":"25a5ff6d-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172141","creationTimestamp":"2018-10-03T06:54:17Z","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.67.172.13","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":"25a86878-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172144","creationTimestamp":"2018-10-03T06:54:17Z","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.67.20.218","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":"25aae0d5-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172147","creationTimestamp":"2018-10-03T06:54:17Z","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.65.255.150","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":"25ad8175-c6d9-11e8-a15b-1262d552d640","resourceVersion":"172150","creationTimestamp":"2018-10-03T06:54:17Z","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.247.241","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":"708f6c71-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198810","creationTimestamp":"2018-10-03T10:09:39Z","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":"20181003063636","build_id":"448","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":"c9f0259"}},"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.155.26","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-demo-abc-model-1-1","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-demo-abc-model-1-1","uid":"793122b0-c6f4-11e8-a15b-1262d552d640","resourceVersion":"198872","creationTimestamp":"2018-10-03T10:09:54Z","labels":{"com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","legion.component":"model","legion.system":"yes"},"annotations":{"build_date":"20181003063636","build_id":"448","build_user":"null","com.epam.legion.container_type":"model","com.epam.legion.model.id":"demo-abc-model","com.epam.legion.model.version":"1.1","git_revision":"c9f0259"}},"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.1","legion.component":"model","legion.system":"yes"},"clusterIP":"100.69.125.175","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":"a58bfdf0-c6da-11e8-a15b-1262d552d640","resourceVersion":"174808","creationTimestamp":"2018-10-03T07:05:01Z","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":"d823143c","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":"20181003063636","build_id":"448","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-sc3sm-dhcdt","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.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"income","com.epam.model.required_properties":"","com.epam.model.version":"1.1","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/42fb50d6-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-sc3sm-dhcdt","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"42fb50d6-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"59b8ab1b72f31c69d376bf66a8db086ccf1b38dee032716287dbdf99aa709f30"}},"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.70.233.207","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"model-recognize-digits-1-0","namespace":"company-a","selfLink":"/api/v1/namespaces/company-a/services/model-recognize-digits-1-0","uid":"2864100d-c6db-11e8-a15b-1262d552d640","resourceVersion":"175649","creationTimestamp":"2018-10-03T07:08:41Z","labels":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"annotations":{"annotation.io.kubernetes.container.hash":"dcd06e95","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Digit-Recognition-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 Digit-Recognition","com.epam.jenkins.node_name":"jenkins-slave-brdtk-5q7bd","com.epam.legion.class":"pyserve","com.epam.legion.container_type":"model","com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.property_values":"{}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default","com.epam.model.id":"recognize-digits","com.epam.model.required_properties":"","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/c61bee0f-c6da-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-brdtk-5q7bd","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"c61bee0f-c6da-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"1188b75f604df63def0a9f2605dbb17b8fbe96ef24ab0844d0cffe96ba4b5b45"}},"spec":{"ports":[{"name":"api","protocol":"TCP","port":5000,"targetPort":"api"}],"selector":{"com.epam.legion.model.id":"recognize-digits","com.epam.legion.model.version":"1.0","legion.component":"model","legion.system":"yes"},"clusterIP":"100.64.143.4","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":"1d3c7844-c6da-11e8-a15b-1262d552d640","resourceVersion":"173792","creationTimestamp":"2018-10-03T07:01:13Z","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":"876a59fe","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":"20181003063636","build_id":"448","build_user":"null","com.epam.jenkins.build_id":"1","com.epam.jenkins.build_number":"1","com.epam.jenkins.build_tag":"jenkins-DYNAMIC MODEL Test-Summation-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 Test-Summation","com.epam.jenkins.node_name":"jenkins-slave-tl8h6-wg76c","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\", \"number.pow_of_ten\": \"1\"}","com.epam.legion.model.version":"1.0","com.epam.legion.version":"0.9.0-20181003063726.448.c9f0259","com.epam.mode.properties_callback_exists":"True","com.epam.model.endpoints":"default, sum_and_pow","com.epam.model.id":"test-summation","com.epam.model.required_properties":"number.pow, number.pow_of_ten","com.epam.model.version":"1.0","git_revision":"c9f0259","io.kubernetes.container.logpath":"/var/log/pods/b409a932-c6d9-11e8-a15b-1262d552d640/model_0.log","io.kubernetes.container.name":"model","io.kubernetes.docker.type":"container","io.kubernetes.pod.name":"jenkins-slave-tl8h6-wg76c","io.kubernetes.pod.namespace":"company-a","io.kubernetes.pod.uid":"b409a932-c6d9-11e8-a15b-1262d552d640","io.kubernetes.sandbox.id":"9d81e80648038b3d540bef3237c1c804668080516fafbe417f1d43b1a40c2029"}},"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.162.201","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}]}