RPC service variables

The variables in the following table must be set identically on all Control Center cluster hosts, except:
  • SERVICED_RPC_PORT, set only on the master
  • SERVICED_MAX_RPC_CLIENTS, set only on delegates

By default, serviced uses TLS to encrypt all RPC traffic. The SERVICED_KEY_FILE and SERVICED_CERT_FILE variables identify the digital certificate used for RPC, mux, and HTTP traffic.

The SERVICED_AUTH_TOKEN_EXPIRATION variable affects RPC, mux, and internal services endpoint traffic.

Variable Where to set
SERVICED_ENDPOINT Master, delegates
SERVICED_MAX_RPC_CLIENTS Delegates
SERVICED_RPC_PORT Master
SERVICED_RPC_CERT_VERIFY Master, delegates
SERVICED_RPC_DISABLE_TLS Master, delegates
SERVICED_RPC_TLS_MIN_VERSION Master, delegates
SERVICED_RPC_TLS_CIPHERS Master, delegates
SERVICED_KEY_FILE Master
SERVICED_CERT_FILE Master
SERVICED_RPC_DIAL_TIMEOUT Master, delegates
SERVICED_AUTH_TOKEN_EXPIRATION Master