Skip to content

Releases: aylei/kubectl-debug

v0.2.0-rc

28 Apr 12:29
Compare
Choose a tag to compare
v0.2.0-rc Pre-release
Pre-release

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!

v0.1.1

01 Jun 07:19
Compare
Choose a tag to compare

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!

v0.1.0

13 Apr 07:30
Compare
Choose a tag to compare

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!

0.0.2 Release

25 Feb 12:47
16e8ddb
Compare
Choose a tag to compare

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.

0.0.2 Preview

17 Jan 05:53
Compare
Choose a tag to compare
0.0.2 Preview Pre-release
Pre-release
lint codes

Signed-off-by: Yeh-lei Wu <rayingecho@gmail.com>

0.0.1 release

22 Dec 13:55
Compare
Choose a tag to compare

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

Any feedback is highly appreciated!