kubectl-istiolog

command module
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

kubectl-istiolog build License

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.

Directories

Path Synopsis
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL