Releases: kvaps/kubectl-node-shell
Releases · kvaps/kubectl-node-shell
v1.11.0
What's Changed
- Add flags for netns attach by @jmcshane in #68
- Add KUBECTL_NODE_SHELL_IMAGE_PULL_SECRET_NAME to customize imagePullSecrets by @huandu in #62
- [Feature] Adding ability to mount CSI volumes in privildeged shell by @bernardgut in #64
- Replicate nsenter options to pod spec by @kvaps in #69
New Contributors
- @jmcshane made their first contribution in #68
- @huandu made their first contribution in #62
- @bernardgut made their first contribution in #64
Full Changelog: v1.10.2...v1.11.0
v1.10.2
What's Changed
- Update krew install doc by @astraw99 in #42
- Add the ability to change the image using --image by @liorfranko in #66
- qfix readme.md and add tag by @KatachiNo in #67
New Contributors
- @astraw99 made their first contribution in #42
- @liorfranko made their first contribution in #66
- @KatachiNo made their first contribution in #67
Full Changelog: v1.10.1...v1.10.2
v1.10.1
fix grep for check resource quota
Full Changelog: v1.10.0...v1.10.1
v1.10.0
v1.9.0
What's Changed
- feat(node-shell): optional pod running timeout by @maxime1907 in #57
New Contributors
- @maxime1907 made their first contribution in #57
Full Changelog: v1.8.1...v1.9.0
v1.8.1
v1.8.0
What's Changed
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