Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This article explains what information to provide support to help troubleshoot kubernetes Kubernetes issues.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.1.0P1

...

Tip

You will find in our GitHub Repo an overview of all supported k8s flavors.

General data

  • Diagnostic
    • please send us a dump of the support diagnostics so we can have a closer look at what might be happening. Detailed instructions on how to create such a dump are available in our official guide:

...

  • Local files
  • OMD Config
  • Checkmk Overview
  • Checkmk Configuration files
  • Performance Graphs of Checkmk Server
  • Global Settings
  • What kind of Kubernetes distro + version are you using?

    Code Block
    languagebash
    themeRDark
    uname -a
    cat /etc/os-release


  • The debug of the special agent:
    Please run the special agent on the command line. You will find here some information on how to get the correct command: Special Agents, and here you will find all the debug options for Debugging the kubernetes Kubernetes - k8s special agent.


  • Some additional outputs, as described in  Debug Kubernetes Cluster Components

    Code Block
    languagebash
    themeRDark
    kubectl get pods
    kubectl get nodes
    kubectl version -o json
    



Debug Kubernetes Cluster Components

A couple of pods are deployed to the Kubernetes cluster for monitoring:

...

In addition to the above steps, you can ask the client to set the log level to debug. This is done in the yaml manifests or helm charts used to deploy the kubernetes Kubernetes components. Once the modifications have been made, the components must be deployed to the cluster again.

...

Code Block
languagebash
themeRDark
kubectl get pods
kubectl get nodes
kubectl version -o json


Filter by label (Content by label)
showLabelsfalse
max5
spacesCON
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("kubernetes","k8s","howto") and type = "page" and space = "KB"
labelsk8s kubernetes

...