{ "kind": "Deployment", "apiVersion": "extensions/v1beta1", "metadata": { "name": "chaos-tomcat", "namespace": "chaos-sandbox", "selfLink": "/apis/extensions/v1beta1/namespaces/chaos-sandbox/deployments/chaos-tomcat", "uid": "a6bf1b98-7e2c-11e8-9a0d-0021f61f1352", "resourceVersion": "4010062", "generation": 2, "creationTimestamp": "2018-07-02T19:18:07Z", "labels": { "app": "tomcat", "chart": "tomcat-0.1.0", "heritage": "Tiller", "kube-monkey/enabled": "enabled", "kube-monkey/identifier": "chaos-tomcat", "kube-monkey/kill-mode": "fixed", "kube-monkey/kill-value": "1", "kube-monkey/mtbf": "1", "release": "chaos-tomcat" }, "annotations": { "deployment.kubernetes.io/revision": "2" } }, "spec": { "replicas": 1, "selector": { "matchLabels": { "app": "tomcat", "release": "chaos-tomcat" } }, "template": { "metadata": { "creationTimestamp": null, "labels": { "app": "tomcat", "kube-monkey/enabled": "enabled", "kube-monkey/identifier": "chaos-tomcat", "kube-monkey/kill-mode": "fixed", "kube-monkey/kill-value": "1", "kube-monkey/mtbf": "1", "release": "chaos-tomcat" } }, "spec": { "volumes": [ { "name": "app-volume", "emptyDir": {} } ], "containers": [ { "name": "war", "image": "ananwaresystems/webarchive:1.0", "resources": {}, "volumeMounts": [ { "name": "app-volume", "mountPath": "/app" } ], "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "imagePullPolicy": "IfNotPresent" }, { "name": "tomcat", "image": "tomcat:7.0", "ports": [ { "hostPort": 8009, "containerPort": 7070, "protocol": "TCP" } ], "resources": {}, "volumeMounts": [ { "name": "app-volume", "mountPath": "/usr/local/tomcat/webapps" } ], "livenessProbe": { "exec": { "command": [ "cat", "/usr/local/tomcat/webapps/sample/index.html" ] }, "initialDelaySeconds": 15, "timeoutSeconds": 1, "periodSeconds": 20, "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": "25%", "maxSurge": "25%" } }, "revisionHistoryLimit": 10, "progressDeadlineSeconds": 600 }, "status": { "observedGeneration": 2, "replicas": 1, "updatedReplicas": 1, "readyReplicas": 1, "availableReplicas": 1, "conditions": [ { "type": "Available", "status": "True", "lastUpdateTime": "2018-07-03T17:53:17Z", "lastTransitionTime": "2018-07-03T17:53:17Z", "reason": "MinimumReplicasAvailable", "message": "Deployment has minimum availability." }, { "type": "Progressing", "status": "True", "lastUpdateTime": "2018-07-03T18:06:30Z", "lastTransitionTime": "2018-07-02T19:18:07Z", "reason": "NewReplicaSetAvailable", "message": "ReplicaSet \"chaos-tomcat-76b6cdf678\" has successfully progressed." } ] } }