-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
conduit install and conduit inject both output kubernetes config files. we should provide flags to these commands to set log levels in the kubernetes configs.
install
conduit install generates a Kubernetes config with controller components initialized at a default log level of info.
For debugging users' control-plane deployments, we can set a log-level, for example:
conduit install --controller-log-level=debug... which would set a command-line parameter on each controller component, for example:
- args:
- telemetry
- -log-level=debuginject
conduit inject modifies Kubernetes configs by injecting a conduit-proxy sidecar into each pod.
For debugging users' data-plane deployments, we can set a log-level, for example:
conduit inject --proxy-log-level=trace,conduit_proxy=trace,hyper=trace
... which would set an environment variable on each sidecar proxy, for example:
- env:
- name: CONDUIT_PROXY_LOG
value: trace,conduit_proxy=trace,hyper=traceReactions are currently unavailable