All Projects → kvaps → Kubectl Node Shell

kvaps / Kubectl Node Shell

Licence: apache-2.0
Exec into node via kubectl

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Kubectl Node Shell

command-line-cheat-sheet
📝 A place to quickly lookup commands (bash, vim, git, AWS, Docker, Terraform, Ansible, kubectl)
Stars: ✭ 30 (-89.17%)
Mutual labels:  kubectl
kubectl-images
🕸 Show container images used in the cluster.
Stars: ✭ 153 (-44.77%)
Mutual labels:  kubectl
zsh-kubectl-completion
Rich zsh completion for the kubectl command.
Stars: ✭ 35 (-87.36%)
Mutual labels:  kubectl
kubectl-gopass
Plugin for kubectl to support reading and writing secrets directly from/to gopass
Stars: ✭ 28 (-89.89%)
Mutual labels:  kubectl
kui
A hybrid command-line/UI development experience for cloud-native development
Stars: ✭ 2,137 (+671.48%)
Mutual labels:  kubectl
kubesort
`KUBESORT` simplified sorting for kubectl
Stars: ✭ 43 (-84.48%)
Mutual labels:  kubectl
PSKubectlCompletion
kubectl auto-completion for PowerShell
Stars: ✭ 59 (-78.7%)
Mutual labels:  kubectl
kubectl-gs
kubectl plugin helping with custom resources by Giant Swarm
Stars: ✭ 36 (-87%)
Mutual labels:  kubectl
kube-s
A lightweight CLI for quickly finding specific k8s resources (by pattern matching Names) across all clusters available to kubectl.
Stars: ✭ 23 (-91.7%)
Mutual labels:  kubectl
kubectl-view-serviceaccount-kubeconfig-plugin
A kubectl plugin that show a kubeconfig to access the apiserver with a specified serviceaccount.
Stars: ✭ 33 (-88.09%)
Mutual labels:  kubectl
refmt
Reformat HCL ⇄ JSON ⇄ YAML.
Stars: ✭ 19 (-93.14%)
Mutual labels:  kubectl
admission-webhook-example-with-openfaas
Use OpenFaaS functions as Kubernetes Validating Admission Webhook
Stars: ✭ 24 (-91.34%)
Mutual labels:  kubectl
vcluster
vcluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
Stars: ✭ 1,360 (+390.97%)
Mutual labels:  kubectl
ki
Manage multiple kubeconfigs easily
Stars: ✭ 34 (-87.73%)
Mutual labels:  kubectl
KuiClientTemplate
Use this template to make your own custom graphical terminal, via the Kui Grahpical CLI Framework
Stars: ✭ 26 (-90.61%)
Mutual labels:  kubectl
kubectl-iexec
Kubectl plugin to interactively exec into a pod
Stars: ✭ 102 (-63.18%)
Mutual labels:  kubectl
openebsctl
`openebsctl` is a kubectl plugin to manage OpenEBS storage components.
Stars: ✭ 23 (-91.7%)
Mutual labels:  kubectl
Allok8
⚡️A pretty swell Kubernetes visualization tool
Stars: ✭ 281 (+1.44%)
Mutual labels:  kubectl
kubectl-view-webhook
👀 ‼️ This projects aims to visualize critical parts of the admission webhook configuration resource
Stars: ✭ 96 (-65.34%)
Mutual labels:  kubectl
forward
🎳 forward - extended kubectl port-forward - reliable multiple port forwarding.
Stars: ✭ 17 (-93.86%)
Mutual labels:  kubectl

kubectl node-shell

(formerly known as kubectl-enter)

Start a root shell in the node's host OS running.

demo

Installation

using krew:

kubectl krew index add kvaps https://github.com/kvaps/krew-index
kubectl krew install kvaps/node-shell

or using curl:

curl -LO https://github.com/kvaps/kubectl-node-shell/raw/master/kubectl-node_shell
chmod +x ./kubectl-node_shell
sudo mv ./kubectl-node_shell /usr/local/bin/kubectl-node_shell

Usage

# Get standard bash shell
kubectl node-shell <node>

# Execute custom command
kubectl node-shell <node> -- echo 123

# Use stdin
cat /etc/passwd | kubectl node-shell <node> -- sh -c 'cat > /tmp/passwd'

# Run oneliner script
kubectl node-shell <node> -- sh -c 'cat /tmp/passwd; rm -f /tmp/passwd'

You need to be able to start privileged containers for that.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].