Main Menu

Search

LINUX: JOURNALCTL Command To List Logs With Word Wrapping Enabled


Below JOURNALCTL  command can be used To List Logs With Word Wrapping Enabled


journalctl -u kubelet --no-pager


Below is sample output.


-- Logs begin at Wed 2023-10-18 18:45:11 GMT, end at Thu 2023-10-19 04:13:49 GMT. --

Oct 18 18:45:29 cne1-ha-control1 systemd[1]: Started kubelet: The Kubernetes Node Agent.

Oct 18 18:45:33 cne1-ha-control1 kubelet[2791]: Flag --address has been deprecated, This parameter should be set via

 the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/k

ubelet-config-file/ for more information.

Oct 18 18:45:33 cne1-ha-control1 kubelet[2791]: Flag --authorization-mode has been deprecated, This parameter should

 be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administe

r-cluster/kubelet-config-file/ for more information.

Oct 18 18:45:33 cne1-ha-control1 kubelet[2791]: Flag --container-runtime has been deprecated, will be removed in 1.2

7 as the only valid value is 'remote'

Oct 18 18:45:33 cne1-ha-control1 kubelet[2791]: Flag --pod-infra-container-image has been deprecated, will be remove

d in 1.27. Image garbage collector will get sandbox image information from CRI.

Oct 18 18:45:33 cne1-ha-control1 kubelet[2791]: Flag --provider-id has been deprecated, This parameter should be set

 via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-clust

er/kubelet-config-file/ for more information. 

No comments:

Post a Comment