forked from ligato/cn-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrpc.conf
42 lines (30 loc) · 1.38 KB
/
grpc.conf
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
# GRPC endpoint defines IP address and port (if tcp type) or unix domain socket file (if unix type).
endpoint: 0.0.0.0:9111
# If unix domain socket file is used for GRPC communication, permissions to the file can be set here.
# Permission value uses standard three-or-four number linux binary reference.
permission: 000
# If socket file exists in defined path, it is not removed by default, GRPC plugin tries to use it.
# Set the force removal flag to 'true' ensures that the socket file will be always re-created
force-socket-removal: false
# Available socket types: tcp, tcp4, tcp6, unix, unixpacket. If not set, defaults to tcp.
network: tcp
# Maximum message size in bytes for inbound mesages. If not set, GRPC uses the default 4MB.
max-msg-size: 4096
# Limit of server streams to each server transport.
max-concurrent-streams: 0
# TLS configuration:
# If `true` TLS configuration from this config will be SKIPPED.
#insecure-transport: false
# Required for creating secure connection.
#cert-file: /path/to/cert.pem
# Also required for creating secure connection.
#key-file: /path/to/key.pem
# Set custom CA to verify client's certificate.
# If not set, client's certificate is not required.
#ca-files:
# - /path/to/ca1.pem
# - /path/to/ca2.pem
# Enables logging additional GRPC transport messages
#extended-logging: false
# Enables prometheus metrics for GRPC server
#prometheus-metrics: false