kube-debug

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

#A toolbox for debugging Docker container and Kubernetes with visual Web UI.


kube-debug


  (1) Initialize the kube-debug environment: 
          kube-debug -init 
  (2) Debug the local host: 
          kube-debug -localhost 
  (3) Debug the target container (container ID is '9a64c7a0d6bd') on the local host: 
          kube-debug -container "9a64c7a0d6bd" 
  (4) Debug the target k8s-node host (IP is 192.168.1.13), and the custom debug listening port is 38080: 
          kube-debug -node "192.168.1.13" -hostport 38080 
  (5) Debug the pod 'test-6bfb69dc64-hdblq' in the 'testns' namespace: 
          kube-debug -pod "test-6bfb69dc64-hdblq" -namespace "testns" -kubeconfig "/etc/kubernetes/pki/kubectl.kubeconfig" 
  (6) Clean up the local host debugging environment: 
          kube-debug -clear 

Use the browser to access http://hostIP:3080


kube-debug



kube-debug



The parameters about kube-debug can be viewed using the `kube-debug -help` command. You can also see more detailed param eter introduction here.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL