package
0.0.0-20210624121128-6b231d83a5d4
Repository: https://github.com/tkestack/kube-jarvis.git
Documentation: pkg.go.dev

# README

master-components diagnostic

Check if the core components are working properly (include k8s node components) Also check if they have been restarted within a special time

config

diagnostics:
 - type: "master-components"
   # default values
   name: "master-components"
   catalogue: ["master"]
   config: 
     restarttime: "24h"  
     components:
       - "kube-apiserver"
       - "kube-scheduler"
       - "kube-controller-manager"
       - "etcd"
       - "kube-proxy"
       - "coredns"
       - "kube-dns"
       - "kubelet"
       - "dockerd"
       - "containerd"

supported cluster type

  • all

# Functions

NewDiagnostic return a master-components diagnostic.

# Constants

DiagnosticType is type name of this Diagnostic.

# Structs

Diagnostic check that the core components are working properly (include k8s node components)also check if they have been restarted within 24 hours.