Reference Guide: Optimizing Backup Strategies for Red Hat OpenShift Virtualization

How can I install T4K Log Collector?

1. Run:

(
  set -x; cd "$(mktemp -d)" &&
  OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
  ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
  KREW="krew-${OS}_${ARCH}" &&
  curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
  tar zxvf "${KREW}.tar.gz" &&
  ./"${KREW}" install krew
)

2. Add the following line to ~/.bashrc:

export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"

3. Install T4K Log Collector:

kubectl krew index add tvk-plugins https://github.com/trilioData/tvk-plugins.git
kubectl krew update
kubectl krew install tvk-plugins/tvk-log-collector
#kubectl krew upgrade tvk-log-collector # upgrade the tvk-log-collector plugin
#kubectl krew uninstall tvk-log-collector # uninstall

4. Use it:

kubectl tvk-log-collector --clustered --log-level debug

More information here: https://docs.trilio.io/kubernetes/v/3.0.x/krew-plugins/tvk-log-collector

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.