Giter VIP home page Giter VIP logo

kubectl-nsenter's People

Contributors

dependabot[bot] avatar miminar avatar pabateman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kubectl-nsenter's Issues

Ssh jump host support

Currently, it is expected that node has public IP address.

Looks like we can't connect to a node if it runs in private subnet.

SSH_OPTS variable is also not honored:

❯ ~ export SSH_OPTS="-J [email protected]"
❯ ~ k nsenter -u ubuntu -n kube-system coredns-66f44b9d6-cxjmd ip address
/Users/alexandr/.krew/bin/kubectl-nsenter: dial tcp 10.101.41.119:22: i/o timeout
can't dial node [email protected]

Can we have a flag like --jump-host and --jump-user or something like that to specify that we need to use jump host?

Thanks

unsupported container runtime in Openshift

Hi,
Trying on Openshift 4.10 cluster, but not working.

[root@bastion1 bin]# kubectl-nsenter -u core collector-audit-d4p9z bash
kubectl-nsenter: unsupported container runtime
[root@bastion1 bin]# oc version
Client Version: 4.10.13
Server Version: 4.10.15
Kubernetes Version: v1.23.5+3afdacb
[root@bastion1 bin]# ssh core@infra-swe1-01
Red Hat Enterprise Linux CoreOS 410.84.202205111833-0
  Part of OpenShift 4.10, RHCOS is a Kubernetes native operating system
  managed by the Machine Config Operator (`clusteroperator/machine-config`).

WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:
  https://docs.openshift.com/container-platform/4.10/architecture/architecture-rhcos.html

---
Last login: Thu Jun  2 13:03:01 2022 from 10.30.3.131
[core@infra-swe1-01 ~]$ crictl
NAME:
   crictl - client for CRI

USAGE:
   crictl [global options] command [command options] [arguments...]

VERSION:
   1.23.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.