-
Notifications
You must be signed in to change notification settings - Fork 427
/
Copy pathconsul-deployment.yaml
43 lines (43 loc) · 1.15 KB
/
consul-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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: consul
name: consul
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: consul
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
sidecar.istio.io/statsInclusionPrefixes: cluster.outbound,cluster_manager,listener_manager,http_mixer_filter,tcp_mixer_filter,server,cluster.xds-grp,listener,connection_manager
sidecar.istio.io/statsInclusionRegexps: http.*
creationTimestamp: null
labels:
io.kompose.service: consul
spec:
containers:
- image: hashicorp/consul:latest
name: consul
ports:
- containerPort: 8300
- containerPort: 8400
- containerPort: 8500
- containerPort: 53
protocol: UDP
resources:
requests:
cpu: 100m
limits:
cpu: 1000m
restartPolicy: Always
status: {}