-
Notifications
You must be signed in to change notification settings - Fork 0
/
relay-deployment.yaml
50 lines (50 loc) · 1 KB
/
relay-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
apiVersion: v1
kind: Service
metadata:
name: kubearmor
namespace: kube-system
spec:
selector:
kubearmor-app: kubearmor-relay
ports:
- name: "grpc-port"
port: 32767
protocol: TCP
- name: "http-port"
port: 2801
protocol: TCP
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubearmor-relay
namespace: kube-system
labels:
kubearmor-app: kubearmor-relay
spec:
replicas: 1
selector:
matchLabels:
kubearmor-app: kubearmor-relay
template:
metadata:
labels:
kubearmor-app: kubearmor-relay
annotations:
kubearmor-policy: audited
spec:
serviceAccountName: kubearmor
containers:
- name: kubearmor-relay-server
image: daemon1024/kubearmor-relay-server
imagePullPolicy: Always
ports:
- containerPort: 32767
- containerPort: 2801
resources:
requests:
cpu: 250m
memory: 64Mi
limits:
cpu: 500m
memory: 128Mi