{ "kind": "List", "apiVersion": "v1", "metadata": {}, "items": [ { "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "eap-incremental", "labels": { "app": "eap-incremental" } }, "spec": { "tags": [ { "name": "latest" } ] } }, { "kind": "DeploymentConfig", "apiVersion": "v1", "metadata": { "name": "eap-incremental", "labels": { "app": "eap-incremental" } }, "spec": { "strategy": { "type": "Rolling", "rollingParams": { "updatePeriodSeconds": 1, "intervalSeconds": 1, "timeoutSeconds": 600, "maxUnavailable": "25%", "maxSurge": "25%" }, "resources": {} }, "triggers": [ { "type": "ImageChange", "imageChangeParams": { "automatic": true, "containerNames": [ "eap-incremental" ], "from": { "kind": "ImageStreamTag", "name": "eap-incremental:latest" } } }, { "type": "ConfigChange" } ], "replicas": 1, "selector": { "deploymentconfig": "eap-incremental" }, "template": { "metadata": { "labels": { "app": "eap-incremental", "deploymentconfig": "eap-incremental" } }, "spec": { "containers": [ { "name": "eap-incremental", "image": "eap-incremental", "ports": [ { "containerPort": 8080, "protocol": "TCP" }, { "containerPort": 8443, "protocol": "TCP" }, { "containerPort": 8778, "protocol": "TCP" } ], "resources": {}, "terminationMessagePath": "/dev/termination-log", "imagePullPolicy": "Always" } ], "restartPolicy": "Always", "terminationGracePeriodSeconds": 30, "dnsPolicy": "ClusterFirst", "securityContext": {} } } } }, { "kind": "Route", "apiVersion": "v1", "metadata": { "name": "eap-incremental", "labels": { "app": "eap-incremental" } }, "spec": { "host": "", "to": { "kind": "Service", "name": "eap-incremental" }, "port": { "targetPort": 8080 } } }, { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "eap-incremental", "labels": { "app": "eap-incremental" } }, "spec": { "ports": [ { "name": "8080-tcp", "protocol": "TCP", "port": 8080, "targetPort": 8080 }, { "name": "8443-tcp", "protocol": "TCP", "port": 8443, "targetPort": 8443 }, { "name": "8778-tcp", "protocol": "TCP", "port": 8778, "targetPort": 8778 } ], "selector": { "deploymentconfig": "eap-incremental" }, "type": "ClusterIP", "sessionAffinity": "None" } }, { "kind": "BuildConfig", "apiVersion": "v1", "metadata": { "name": "eap-incremental", "labels": { "app": "eap-incremental" }, "annotations": { "openshift.io/generated-by": "OpenShiftWebConsole" } }, "spec": { "triggers": [ { "type": "Generic", "generic": { "secret": "secret101" } }, { "type": "GitHub", "github": { "secret": "secret101" } }, { "type": "ImageChange", "imageChange": {} }, { "type": "ConfigChange" } ], "source": { "type": "Git", "git": { "uri": "https://github.com/jboss-developer/jboss-eap-quickstarts.git", "ref": "6.4.x" }, "contextDir": "kitchensink" }, "strategy": { "type": "Source", "sourceStrategy": { "from": { "kind": "ImageStreamTag", "namespace": "openshift", "name": "jboss-eap64-openshift:1.2" } } }, "output": { "to": { "kind": "ImageStreamTag", "name": "eap-incremental:latest" } }, "resources": {} } } ] }