forked from openshift-qe/v3-testfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment-with-service.yaml
96 lines (96 loc) · 2.19 KB
/
deployment-with-service.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
apiVersion: v1
items:
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: hello-openshift
name: hello-openshift
spec:
tags:
- annotations:
openshift.io/imported-from: openshift/hello-openshift
from:
kind: DockerImage
name: openshift/hello-openshift
generation: null
importPolicy: {}
name: latest
status:
dockerImageRepository: ""
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: hello-openshift
name: hello-openshift
spec:
replicas: 1
selector:
app: hello-openshift
deploymentconfig: hello-openshift
strategy:
resources: {}
template:
metadata:
annotations:
openshift.io/container.hello-openshift.image.entrypoint: '["/hello-openshift"]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: hello-openshift
deploymentconfig: hello-openshift
spec:
containers:
- image: openshift/hello-openshift
name: hello-openshift
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8888
protocol: TCP
resources: {}
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- hello-openshift
from:
kind: ImageStreamTag
name: hello-openshift:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: hello-openshift
name: hello-openshift
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
- name: 8888-tcp
port: 8888
protocol: TCP
targetPort: 8888
selector:
app: hello-openshift
deploymentconfig: hello-openshift
status:
loadBalancer: {}
kind: List
metadata: {}