Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.42 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.42 KB

Guard Reverse Proxy Sidecar

guard-rproxy is a reverse proxy embedded with a guard-gate and packed as a container image. The container image can than be used:

  1. As a sidecar while deploying a Kubernetes microservice. This is the recommended mode of operation and offers both client request monitoring and control and microservice pod monitoring and control.

  2. As a standalone exposed microservice protecting a second, unexposed microservice. This mode is simple to try out. It offers client request monitoring and control but does not offer microservice pod monitoring and control.

Environment Variables

variable meaning default
SERVICE_NAME Unique name given to the service - used also as the guardian name (required)
NAMESPACE namespace used (required)
PROTECTED_SERVICE The :port (for example ":8080") or url (for example "http://127.0.0.1:8080") where the service we protect can be reached (required)
USE_CRD if true crd is used, if false configmap is used instead false
MONITOR_POD if true the pod is monitored (sidecar use case) false
GUARD_SERVICE_URL the url of the guard-service "https://guard-service.knative-serving"
LOG_LEVEL the log level info
PORT the port exposed by the pod 22000
POD_MONITOR_INTERVAL time interval for monitoring the pod 5s
GUARDIAN_SYNC_INTERVAL tim interval to sync with guard-service 60s