-
Notifications
You must be signed in to change notification settings - Fork 0
/
httpd.deployment.yaml
43 lines (43 loc) · 1.16 KB
/
httpd.deployment.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
kind: Deployment
apiVersion: apps/v1
metadata:
annotations:
alpha.image.policy.openshift.io/resolve-names: '*'
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"httpd:latest","namespace":"rbohne-vw-autostadt"},"fieldPath":"spec.template.spec.containers[?(@.name==\"httpd\")].image","pause":"false"}]'
name: httpd
labels:
app: httpd
app.kubernetes.io/component: httpd
app.kubernetes.io/instance: httpd
app.kubernetes.io/name: httpd
app.kubernetes.io/part-of: tomcat-example
app.openshift.io/runtime: apache
app.openshift.io/runtime-version: latest
spec:
replicas: 1
selector:
matchLabels:
app: httpd
template:
metadata:
creationTimestamp: null
labels:
app: httpd
deployment: httpd
spec:
containers:
- name: httpd
image: 'dummy'
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8443
protocol: TCP
resources: {}
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600