kubectl-debug

This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.

APACHE-2.0 License

Stars
2.3K
Committers
21

Bot releases are hidden (Show)

kubectl-debug - v0.2.0-rc Latest Release

Published by aylei over 4 years ago

Changelog

6ad5cd7 Enable --agentless and --port-forward by default (#75) @calmkart
6a30d78 FIX:issue52, if a pod is runnning but not ready(about readiness probe), we can connect (#62) @calmkart
5021027 FIX:issue52, in Fork && AgentLess mode, we'll delete the agentPod if Fork pod error (#67) @calmkart
64720bf FIX:issue57, if target pod is not ready or completed/failed, delete the agent pod (#63) @calmkart
f08222f FIX:issue58, k8s v1.16 daemonset apiVersion change to apps/v1 (#64) @calmkart
d62a8d9 FIX:no permission to delete agentpod get panic error issue#38 (#70) @calmkart
8a77b6c FIX:only work in agentless mod need to delete the agent pod (#65) @calmkart
1ab75d9 Add containerd support (#99) @dee0
8fbb788 Typo fix: missing symbol in the binary name (#51) @soider
1e505fe enhancement: add auth config to pull image in private registry (#61) @calmkart
489450b enhancement: add the agentpod resource config in agentless mode (#73) @calmkart
63e1ecc enhancement: add the copied pod retain labels config in fork mode. (#68) (#69) @calmkart
ae58ddf enhancement: support target-container procfs correct (#83) @markzhang0928
8da3fdc remove redundant os.Exit() (#66) @abowloflrf
d25d979 update go module to the latest version to avoid build faiure. (#50) @runzhen

Thanks to the contributors @markzhang0928 @dee0 @calmkart @abowloflrf @runzhen @soider for helping in this release. Special thanks to @calmkart for various fixes and enhancements, to @markzhang0928 for the lxcfs integration and @dee0 for the containerd support!

kubectl-debug - v0.1.1

Published by aylei over 5 years ago

Changelog

6acc633 Support --version flag to print plugin version
a7cf6df Add agentless mode to debug target pod when there isn't an agent running on target host (#31, #33 ) @tkanng
90ee6bf Add ptrace and admin capbilities for debug container
412fc4a Build debug-agent image from distroless image (#30) @tkanng
6cb9957 Check if current user has permission to create pods/exec subresource (#34) @tkanng
caff131 Fix config file parsing error (#36) @tkanng

The "agentless" mode make the server-side DaemonSet optional, now, you can start debugging by using the command kubectl debug --agentless without pre-installing any server-side components.

In addition, we documented some practical examples of using kubectl-debug to help users getting started.

Thanks for @caruccio @gregwebs @klzsysy for reporting and fixing issues. A great thanks to @tkanng who contributes the major features of this release!

kubectl-debug - v0.1.0

Published by aylei over 5 years ago

Changelog

New features

  • Port-forward mode is introduced to connect the debug-agent that has no public host IP accessible #26
    @whalecold
  • Helm chart for debug-agent #21 @jseguillon
  • Krew and Brew package support
  • Better usage error suggestions when mistype the command

Bug fix

  • Omit error when configuration file not set #27

Other changes

  • Better documentation😄
  • Migrate to go module
  • The configuration key agent_port in ~/.kube/debug-config is deprecated and replaced with agentPort(camel case), the old configuration key is still considered but will be overridden if agentPort is present

Thanks!

Thanks @whalecold for the port-forward mode which has been a pain point for long, thanks @jseguillon for the great helm chart and thanks for all the feedbacks!

kubectl-debug - 0.0.2 Release

Published by aylei over 5 years ago

New Feature:

  • Add support for diagnosing CrashLoopBackOff pod #8

Bug Fix:

  • kubectl debug doesn't work on GKE due to Auth issue #2 @kklin
  • kubectl debug doesn't work for init-containers #15

Thanks for all your feedbacks, a special thanks to @kklin's contribution.

kubectl-debug - 0.0.2 Preview

Published by aylei almost 6 years ago

kubectl-debug - 0.0.1 release

Published by aylei almost 6 years ago

First version of kubectl-debug, please refer to the README for feature and usage.

Any feedback is highly appreciated!

Package Rankings
Top 4.57% on Proxy.golang.org
Badges
Extracted from project README
travis Go Report Card docker
Related Projects