|
| 1 | +{ |
| 2 | + "kind": "Template", |
| 3 | + "apiVersion": "v1", |
| 4 | + "metadata": { |
| 5 | + "name": "innovation-toolkit", |
| 6 | + "creationTimestamp": null |
| 7 | + }, |
| 8 | + "objects": [ |
| 9 | + { |
| 10 | + "kind": "DeploymentConfig", |
| 11 | + "apiVersion": "v1", |
| 12 | + "metadata": { |
| 13 | + "name": "innovation-toolkit", |
| 14 | + "generation": 1, |
| 15 | + "creationTimestamp": null, |
| 16 | + "labels": { |
| 17 | + "app": "innovation-toolkit" |
| 18 | + }, |
| 19 | + "annotations": { |
| 20 | + "openshift.io/generated-by": "OpenShiftNewApp" |
| 21 | + } |
| 22 | + }, |
| 23 | + "spec": { |
| 24 | + "strategy": { |
| 25 | + "type": "Rolling", |
| 26 | + "rollingParams": { |
| 27 | + "updatePeriodSeconds": 1, |
| 28 | + "intervalSeconds": 1, |
| 29 | + "timeoutSeconds": 600, |
| 30 | + "maxUnavailable": "25%", |
| 31 | + "maxSurge": "25%" |
| 32 | + }, |
| 33 | + "resources": {}, |
| 34 | + "activeDeadlineSeconds": 21600 |
| 35 | + }, |
| 36 | + "triggers": [ |
| 37 | + { |
| 38 | + "type": "ConfigChange" |
| 39 | + }, |
| 40 | + { |
| 41 | + "type": "ImageChange", |
| 42 | + "imageChangeParams": { |
| 43 | + "automatic": true, |
| 44 | + "containerNames": [ |
| 45 | + "innovation-toolkit" |
| 46 | + ], |
| 47 | + "from": { |
| 48 | + "kind": "ImageStreamTag", |
| 49 | + "namespace": "guides", |
| 50 | + "name": "innovation-toolkit:latest" |
| 51 | + } |
| 52 | + } |
| 53 | + } |
| 54 | + ], |
| 55 | + "replicas": 1, |
| 56 | + "test": false, |
| 57 | + "selector": { |
| 58 | + "app": "innovation-toolkit", |
| 59 | + "deploymentconfig": "innovation-toolkit" |
| 60 | + }, |
| 61 | + "template": { |
| 62 | + "metadata": { |
| 63 | + "creationTimestamp": null, |
| 64 | + "labels": { |
| 65 | + "app": "innovation-toolkit", |
| 66 | + "deploymentconfig": "innovation-toolkit" |
| 67 | + }, |
| 68 | + "annotations": { |
| 69 | + "openshift.io/generated-by": "OpenShiftNewApp" |
| 70 | + } |
| 71 | + }, |
| 72 | + "spec": { |
| 73 | + "containers": [ |
| 74 | + { |
| 75 | + "name": "innovation-toolkit", |
| 76 | + "image": "172.50.0.2:5000/guides/innovation-toolkit@sha256:e2da593f8d590abd8e4e94217aa189815960e46e64891f306b87574e6be8c56c", |
| 77 | + "ports": [ |
| 78 | + { |
| 79 | + "containerPort": 4000, |
| 80 | + "protocol": "TCP" |
| 81 | + } |
| 82 | + ], |
| 83 | + "resources": {}, |
| 84 | + "terminationMessagePath": "/dev/termination-log", |
| 85 | + "terminationMessagePolicy": "File", |
| 86 | + "imagePullPolicy": "Always" |
| 87 | + } |
| 88 | + ], |
| 89 | + "restartPolicy": "Always", |
| 90 | + "terminationGracePeriodSeconds": 30, |
| 91 | + "dnsPolicy": "ClusterFirst", |
| 92 | + "securityContext": {}, |
| 93 | + "schedulerName": "default-scheduler" |
| 94 | + } |
| 95 | + } |
| 96 | + }, |
| 97 | + "status": { |
| 98 | + "latestVersion": 0, |
| 99 | + "observedGeneration": 0, |
| 100 | + "replicas": 0, |
| 101 | + "updatedReplicas": 0, |
| 102 | + "availableReplicas": 0, |
| 103 | + "unavailableReplicas": 0 |
| 104 | + } |
| 105 | + }, |
| 106 | + { |
| 107 | + "kind": "Service", |
| 108 | + "apiVersion": "v1", |
| 109 | + "metadata": { |
| 110 | + "name": "innovation-toolkit", |
| 111 | + "creationTimestamp": null, |
| 112 | + "labels": { |
| 113 | + "app": "innovation-toolkit" |
| 114 | + }, |
| 115 | + "annotations": { |
| 116 | + "openshift.io/generated-by": "OpenShiftNewApp" |
| 117 | + } |
| 118 | + }, |
| 119 | + "spec": { |
| 120 | + "ports": [ |
| 121 | + { |
| 122 | + "name": "4000-tcp", |
| 123 | + "protocol": "TCP", |
| 124 | + "port": 4000, |
| 125 | + "targetPort": 4000 |
| 126 | + } |
| 127 | + ], |
| 128 | + "selector": { |
| 129 | + "app": "innovation-toolkit", |
| 130 | + "deploymentconfig": "innovation-toolkit" |
| 131 | + }, |
| 132 | + "type": "ClusterIP", |
| 133 | + "sessionAffinity": "None" |
| 134 | + }, |
| 135 | + "status": { |
| 136 | + "loadBalancer": {} |
| 137 | + } |
| 138 | + } |
| 139 | + ] |
| 140 | +} |
0 commit comments