Comments (9)
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
The suggested command kubectl exec -it nginx -c shell -- /bin/sh
works fine
from website.
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.
what works though is
kubectl exec -it nginx -c shell -- /bin/sh
from website.
Page reported in issue (based on issue title): https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
/language en
from website.
/retitle "kubectl attach" command hangs without providing interactive shell following "Share Process Namespace between Containers in a Pod" task
from website.
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.
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.
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.
/remove-lifecycle stale
from website.
Related Issues (20)
- Error when it Install kubeadm HOT 2
- Sub-Umbrella Issue: List of Prioritized Content to Localize in Bangla HOT 2
- [pt-br] Install kubectl on Linux page is outdated HOT 4
- Define a Command and Arguments for a Container HOT 7
- document need bridge-nf-call-iptables and bridge-nf-call-ip6tables tips HOT 8
- Improvement for k8s.io/docs/home/supported-doc-versions/ HOT 5
- [ja] Translate content/en/blog/_posts/2024-08-15-consistent-read-from-cache.md into Japanese HOT 2
- Kubernetes Documentation HOT 4
- Update Reviewers/Approvers for localized READMEs HOT 8
- `trafficDistribution` shows as alpha despite graduating to beta in v1.31 HOT 6
- 下载 Kubernetes HOT 5
- 容器运行时 HOT 1
- Incorrect indentation in network policy example HOT 13
- Workloads - 'Pod' Capitalization HOT 10
- Improvement for k8s.io/docs/reference/networking/ports-and-protocols/ HOT 2
- Fix missing hyphen in NetworkPolicy example for ports field HOT 8
- Node-pressure Eviction HOT 10
- Deprecated note/link on page "Set up a High Availability etcd Cluster with kubeadm" HOT 4
- [SidecarContainer] Need to provide sidecar implementation best practices HOT 3
- Hello Minikube HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from website.