README
¶
kubectl-istiolog

A plugin to manipulate istio-proxy
logging level and also
provides tailing of logs.
Installation
Download precompiled binaries from GitHub Releases.
Via Krew
kubectl krew install istiolog
Usage
kubectl istiolog <<podname>> -n <<namespace>> -l debug -f
istio-proxy
(envoy instance) comes with a default logging level as Warning
,
the above command updates the logging level of Envoy instance to debug
and
also helps in tailing the logs of istio-proxy
container which is a sidecar
in one go.
kubectl istiolog
supports all the logger names and logger levels similar
to istio proxy-config
.
On exit, logging level of Envoy instance will be reverted back to default
logging level Warning
.
Help Menu
A Kubectl plugin to manage and set envoy log levels
Usage:
kubectl-istiolog [pod] [flags]
kubectl-istiolog [command]
Available Commands:
completion generate the autocompletion script for the specified shell
help Help about any command
version print current kubectl-istiolog version
Flags:
-f, --follow Specify if the logs should be streamed
-h, --help help for kubectl-istiolog
-l, --level string Comma-separated minimum per-logger level of messages to output (default "warning")
-n, --namespace string Namespace in current context (default "default")
--verbose Verbose mode on
Use "kubectl-istiolog [command] --help" for more information about a command.
Supported Logger Names
admin, aws, assert, backtrace, client, config, connection, conn_handler, dubbo, file, filter, forward_proxy, grpc, hc, health_checker, http, http2, hystrix, init, io, jwt, kafka, lua, main, misc, mongo, quic, pool, rbac, redis, router, runtime, stats, secret, tap, testing, thrift, tracing, upstream, udp, wasm
Supported Logger Levels
trace, debug, info, warning, error, critical, off
License
This project is distributed under the Apache License, Version 2.0, see LICENSE for more information.
Documentation
¶
Overview ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.