forked from openshift-qe/v3-testfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdc-with-two-containers.yaml
55 lines (55 loc) · 1.18 KB
/
dc-with-two-containers.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
apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp:
labels:
run: dctest
name: dctest
spec:
replicas: 1
selector:
run: dctest
strategy:
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
labels:
run: dctest
spec:
containers:
- image: yapei/hello-openshift
imagePullPolicy: IfNotPresent
name: dctest-1
ports:
-
containerPort: 8080
protocol: TCP
resources:
limits:
memory: 256Mi
terminationMessagePath: /dev/termination-log
- image: yapei/hello-openshift-fedora
imagePullPolicy: IfNotPresent
name: dctest-2
ports:
-
containerPort: 8081
protocol: TCP
resources:
limits:
memory: 256Mi
terminationMessagePath: /dev/termination-log
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
triggers:
- type: ConfigChange
status: