karan / debug-vm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README
======

This is a debug pod that will record system level metrics to stdout and to
the systemd log for offline analysis.

You can run this either as a one-shot command to test it out:

  kubectl apply -f oneShot.yaml
  # Wait for pods/oneShot to complete.
  kubectl logs oneShot

To run as a daemonset:

  kubectl apply -f deploy.yaml

to deploy a daemonset to your cluster. The daemonset by default will only deploy
on nodes with the label `debug-vm: true`, so you must apply the label to have it
run:

  kubectl label nodes/gke-xxxx debug-vm=true

Results can be seen on the VM serial console or via `kubectl logs`.

About


Languages

Language:Shell 93.3%Language:Dockerfile 5.2%Language:Makefile 1.6%