forked from youtube/doorman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoorman-server.yaml
49 lines (46 loc) · 985 Bytes
/
doorman-server.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
apiVersion: v1
kind: ReplicationController
apiVersion: v1
kind: Service
metadata:
labels:
name: doorman
name: doorman
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "3668"
spec:
ports:
- port: 3667
name: grpc
- port: 3668
name: http
selector:
app: doorman-server
---
apiVersion: v1
kind: ReplicationController
metadata:
name: doorman-server
spec:
replicas: 1
selector:
app: doorman-server
template:
metadata:
name: doorman-server
labels:
app: doorman-server
spec:
containers:
- name: doorman-server
image: gcr.io/google.com/doorman/doorman-server:v0.1.7
command: ["doorman", "-logtostderr", "-port=3667", "-debug_port=3668", "-config=./config.yml"]
resources:
limits:
cpu: 0.8
ports:
- containerPort: 3667
name: grpc
- containerPort: 3668
name: http