Git Product home page Git Product logo

Comments (9)

Aaina26 avatar Aaina26 commented on September 23, 2024 1

I ran these commands on k8s v1.29 cluster
kubectl attach -it nginx -c shell command does give the following output. I think it needs to be changed in the documentation
image

The suggested command kubectl exec -it nginx -c shell -- /bin/sh works fine
Screenshot from 2024-05-28 15-31-06

from website.

k8s-ci-robot avatar k8s-ci-robot commented on September 23, 2024

This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

from website.

novellat avatar novellat commented on September 23, 2024

what works though is
kubectl exec -it nginx -c shell -- /bin/sh

from website.

dipesh-rawat avatar dipesh-rawat commented on September 23, 2024

Page reported in issue (based on issue title): https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
/language en

from website.

dipesh-rawat avatar dipesh-rawat commented on September 23, 2024

/retitle "kubectl attach" command hangs without providing interactive shell following "Share Process Namespace between Containers in a Pod" task

from website.

k8s-triage-robot avatar k8s-triage-robot commented on September 23, 2024

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

from website.

Aaina26 avatar Aaina26 commented on September 23, 2024

I see that this issue is yet to be resolved..If replacing the command in documentation is the right solution then I will raise a PR for the same.

from website.

Aaina26 avatar Aaina26 commented on September 23, 2024

I tried kubectl attach command with various options. It seems like there is some issue with the command itself at the moment. It gets stuck as shared in screenshots above. Since, kubectl exec command is working fine, I think it can be used without affecting the task in documentation. So I think kubectl attach can be replaced with kubectl exec for now.
@dipesh-rawat what are your views on this? I can raise a PR for the same.

from website.

Aaina26 avatar Aaina26 commented on September 23, 2024

/remove-lifecycle stale

from website.

Related Issues (20)

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.