-
Notifications
You must be signed in to change notification settings - Fork 6
/
k8s.yaml
44 lines (44 loc) · 901 Bytes
/
k8s.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
apiVersion: v1
kind: Service
metadata:
name: layer5adapterservice
namespace: istio-system
labels:
app: layer5adapter
spec:
type: ClusterIP
ports:
- name: grpc
protocol: TCP
port: 49494
targetPort: 49494
selector:
app: layer5adapter
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: layer5adapter
namespace: istio-system
labels:
app: layer5adapter
spec:
replicas: 1
selector:
matchLabels:
app: layer5adapter
template:
metadata:
labels:
app: layer5adapter
annotations:
# sidecar.istio.io/inject: "false" # commenting for mTLS
sidecar.istio.io/inject: "true"
scheduler.alpha.kubernetes.io/critical-pod: ""
spec:
containers:
- name: layer5adapter
image: layer5/layer5-istio-adapter:latest
imagePullPolicy: Always
ports:
- containerPort: 49494