-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploymentconfig.yaml
56 lines (56 loc) · 1.28 KB
/
deploymentconfig.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
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
generation: 2
labels:
app: golang-ex
name: golang-ex
spec:
replicas: 1
selector:
app: golang-ex
deploymentconfig: golang-ex
strategy:
activeDeadlineSeconds: 21600
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftWebConsole
creationTimestamp: null
labels:
app: golang-ex
deploymentconfig: golang-ex
spec:
containers:
- image: 172.30.1.1:5000/test/golang-ex
imagePullPolicy: Always
name: golang-ex
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- golang-ex
from:
kind: ImageStreamTag
name: golang-ex:latest
namespace: test
type: ImageChange