You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`--exclude-container`, `-E` | `[]` | Container name to exclude when multiple containers in pod. (regular expression)
83
83
`--exclude-pod` | `[]` | Pod name to exclude. (regular expression)
84
84
`--field-selector` | | Selector (field query) to filter on. If present, default to ".*" for the pod-query.
85
-
`--formatter`, `-F` | `default` | Specify formatter template (transformation from a specific log format to human-friendly output). Currently support: [default, zap-json]
@@ -432,7 +389,6 @@ func (o *options) AddFlags(fs *pflag.FlagSet) {
432
389
fs.StringSliceVarP(&o.namespaces, "namespace", "n", o.namespaces, "Kubernetes namespace to use. Default to namespace configured in kubernetes context. To specify multiple namespaces, repeat this or set comma-separated value.")
433
390
fs.IntVar(&o.maxLogRequests, "max-log-requests", o.maxLogRequests, "Maximum number of concurrent logs to request. Defaults to 50, but 5 when specifying --no-follow")
fs.StringVarP(&o.formatter, "formatter", "F", o.formatter, "Specify formatter template (transformation from a specific log format to human-friendly output). Currently support: [default, zap-json]")
fs.StringVarP(&o.selector, "selector", "l", o.selector, "Selector (label query) to filter on. If present, default to \".*\" for the pod-query.")
438
394
fs.StringVar(&o.fieldSelector, "field-selector", o.fieldSelector, "Selector (field query) to filter on. If present, default to \".*\" for the pod-query.")
0 commit comments