Skip to content

Releases: kvaps/kubectl-node-shell

v1.10.1

22 Jan 00:38
76cc9c4
Compare
Choose a tag to compare

fix grep for check resource quota

Full Changelog: v1.10.0...v1.10.1

v1.10.0

18 Jan 17:13
07e606c
Compare
Choose a tag to compare

What's Changed

  • Automatically set or not set resource quota through the cluster by @pycgo in #59
  • Set correct powershell path for Windows by @feiskyer in #47

New Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0

18 Jan 17:13
8e91eb1
Compare
Choose a tag to compare

What's Changed

  • feat(node-shell): optional pod running timeout by @maxime1907 in #57

New Contributors

Full Changelog: v1.8.1...v1.9.0

v1.8.1

26 Dec 09:26
b4c24ea
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.0...v1.8.1

v1.8.0

16 Aug 21:20
bfa4119
Compare
Choose a tag to compare

What's Changed

  • Add X-mode for debugging minimal systems by @kvaps in #51

X-mode

X-mode can be useful for debugging minimal systems that do not have a built-in shell (eg. Talos).
Here's an example of how you can debug the network for a rootless kube-apiserver container without a filesystem:

kubectl node-shell -x <node>

# Download crictl
wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.28.0/crictl-v1.28.0-linux-amd64.tar.gz -O- | \
  tar -xzf- -C /usr/local/bin/

# Setup CRI endpoint
export CONTAINER_RUNTIME_ENDPOINT=unix:///host/run/containerd/containerd.sock

# Find your container
crictl ps | grep kube-apiserver
#3ff4626a9f10e       e7972205b6614       6 hours ago         Running             kube-apiserver         0                   215107b47bd7e       kube-apiserver-talos-rzq-nkg

# Find pid of the container
crictl inspect 3ff4626a9f10e | grep pid
#    "pid": 2152,
#            "pid": 1
#            "type": "pid"
#                "getpid",
#                "getppid",
#                "pidfd_open",
#                "pidfd_send_signal",
#                "waitpid",

# Go to network namespace of the pid, but keep mount namespace of the debug container
nsenter -t 2152 -n

Full Changelog: v1.7.0...v1.8.0

v1.7.0

23 Jan 18:25
4717bd2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

23 Mar 22:07
e4e79ee
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.5...v1.6.0

v1.5.5

14 Jan 12:35
e52ee65
Compare
Choose a tag to compare
  • add container cpu and memory limits and requests (#38)

Full Changelog: v1.5.4...v1.5.5

v1.5.4

06 Jan 20:09
c1b05c6
Compare
Choose a tag to compare

What's Changed

  • allow for node/$nodename resource form by @madeddie in #36

New Contributors

Full Changelog: v1.5.3...v1.5.4

v1.5.3

13 Jul 18:32
a8b820a
Compare
Choose a tag to compare
  • Feature: add support for embedded ctrl-[ (\x1b) #34