-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifests.yaml
45 lines (45 loc) · 884 Bytes
/
manifests.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
apiVersion: v1
kind: Service
metadata:
name: envoy-als
namespace: monitoring
spec:
selector:
app: envoy-als
type: LoadBalancer
ports:
- name: grpc-als
protocol: TCP
appProtocol: grpc
port: 8080
targetPort: 8080
- name: http-monitoring
protocol: TCP
port: 19001
targetPort: 19001
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: envoy-als
namespace: monitoring
spec:
replicas: 1
selector:
matchLabels:
app: envoy-als
template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "19001"
labels:
app: envoy-als
spec:
containers:
- name: envoy-als
image: ghcr.io/zirain/als:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
- containerPort: 19001