Skip to content

Instantly share code, notes, and snippets.

@bbl
Last active January 18, 2019 09:11
Show Gist options
  • Save bbl/445f4b6c982dbd30936ad9466a1fe8e9 to your computer and use it in GitHub Desktop.
Save bbl/445f4b6c982dbd30936ad9466a1fe8e9 to your computer and use it in GitHub Desktop.
Openshift Kubelet Logs

The kubelet in Openshift is run using hyperkube.
It is evaluated as a systemd service called origin-node.

  • To view the logs you can use:
$ journalctl -u origin-node
  • To check the status simply run:
$ service origin-node status

● origin-node.service - OpenShift Node
   Loaded: loaded (/etc/systemd/system/origin-node.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-11-13 11:38:31 CET; 2 months 2 days ago
     Docs: https://github.com/openshift/origin
 Main PID: 5035 (hyperkube)
   CGroup: /system.slice/origin-node.service
           └─5035 /usr/bin/hyperkube kubelet --v=2 --address=0.0.0.0 --allow-privileged=true --anonymous-auth=true --authentication-token-webhook=true --authentication-token-webhook-cache-ttl=5m --auth...
q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment