# Command Line Tools

    Kubeprober uses kubectl and kubectl-probe plug-in to complete all operations.

    Usage:
      kubectl-probe [flags]
      kubectl-probe [command]
    
    Available Commands:
      help        Help about any command
      once        Perform one-time diagnostics of remote cluster or local cluster
      oncestatus  Print One-time probe status of remote cluster or local cluster
      status      Print probe status of remote cluster or local cluster
      version     Print the version number of Kubeprober
    
    Flags:
      -h, --help   help for kubectl-probe
    
    Use "kubectl-probe [command] --help" for more information about a command.
    
    • View the cluster list

      kubectl get cluster
      
    • View the probe list

      kubectl get probe
      
    • Associate cluster

      kubectl label cluster <clusterName> probe/<probeName>=true
      
    • View the diagnosis results

      kubectl probe status -c <clusterName>
      
    • Run one-time diagnosis for the cluster

      kubectl probe once -c <clusterName>
      
    • View the one-time diagnosis history of the cluster

      kubectl probe oncestatus -c <clusterName> -l
      
    • View the one-time diagnosis results of the cluster

      kubectl probe oncestatus -c <clusterName> -i <onceID>
      
    • Help

      kubectl probe help