User manual
camel kubernetes logs
Print the logs of a Kubernetes pod
This command is provided by the kubernetes plugin. Install it with camel plugin add kubernetes. |
Options
| Option | Description | Default | Type |
|---|---|---|---|
| Name identifying the pod container to grab the logs from. | String | |
| Path to the kube config file to initialize Kubernetes client | String | |
| Label name and value used as a pod selector. | String | |
| The integration name. Use this when the name should not get derived otherwise. | String | |
| Namespace to use for all operations | String | |
| The number of lines from the end of the logs to show. Defaults to -1 to show all the lines. | -1 | int |
| Display the help and sub-commands | boolean |