-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
68 lines (64 loc) · 1.45 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: body-rewrite-demo
namespace: body-rewrite-demo
annotations:
spec:
replicas: 1
selector:
matchLabels:
app: body-rewrite-demo
template:
metadata:
creationTimestamp: null
labels:
app: body-rewrite-demo
spec:
containers:
- name: body-rewrite-container
image: >-
release.daocloud.io/skoala/envoy-extproc-body-rewrite:331998d232a0d311d1a0b63a702c4fae717e75d5
ports:
- containerPort: 50051
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
---
apiVersion: v1
kind: Service
metadata:
name: body-rewrite-demo
namespace: body-rewrite-demo
annotations:
spec:
ports:
- protocol: TCP
port: 50051
targetPort: 50051
nodePort: 31928
selector:
app: body-rewrite-demo
type: NodePort
sessionAffinity: None
externalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
internalTrafficPolicy: Cluster
---