New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KEP 1441 - kubectl debug #1441
Comments
|
/stage alpha |
|
Hey there @soltysh can you confirm that this will be in the 1.18 release? To make it into the release, the KEP will need to be merged as |
|
@jeremyrickard yup, I confirm. The KEP should be merged later today after SIG-CLI call, then we'll start with the implementation right away. |
|
Thanks for getting the KEP in @soltysh 🎊 |
|
Updated the issue description with KEP link. |
|
Hello, @soltysh, I'm 1.18 docs lead. |
|
@VineethReddy02 ack, this will include doc updates and we will open a placeholder PR by Feb 28. Thanks! |
|
@helayoty I expect this to merge in time. |
|
Add support for override image command & args for debug some error between container starting? kubectl run nginx --image nginx --debug
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
run: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
run: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: nginx
spec:
containers:
- image: nginx
name: nginx
command: ["sleep"]
args: ["1d"]
resources: {} |
|
@cnk8s This is indeed included in the proposal. See Pod Troubleshooting by Copy |
|
@aylei Are you interested in working on Pod Troubleshooting by Copy for 1.19? or anything else related to debug? |
|
@verb Absolutely |
|
I will draft a PR this week |
|
@verb reading the KEP, I still don't get how pod-troubleshooting by copy would work, what does copy mean in this case? |
@verb can you make sure this is addressed? |
@sftim @soltysh The PR you linked (kubernetes/website#32265) is for 1.24, but we didn't end up merging any changes in 1.24 so I let the PR expire.
I'm motivated to write docs, but it's hard for me to know what SIG Docs considers a good level of coverage. I'm happy to add items to the graduation criteria if you have guidance for deliverables (e.g. add a new troubleshooting doc, split the existing pod troubleshooting doc) otherwise I'll try to figure it out when the time comes and reach out if it's non-trivial. |
|
kubernetes/website#35031 is the main piece that I think is missing. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
|
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
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/test-infra repository. |
|
Let's reopen this since development has picked up again. I think we should finish implementing debug profiles, mark kubectl debug as stable and then improve it with future KEPs. wdyt @ardaguclu? /reopen |
|
@verb: Reopened this issue. In response to this:
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/test-infra repository. |
|
@verb I have a question (and I hope this is the right place to raise it). Specifically it relates to the In line with the goal of the netadmin profile "This profile offers elevated privileges for network debugging." I wonder if it would be possible to modify the spec (and implementation) to also include NET_RAW in the netadmin profile. Thanks 🙂 |
|
@aecay Thanks for bringing this up, I think this was an oversight. I agree that we should add |
|
I'm fine adding
@verb I agree with you that would be better to mark kubectl debug as stable to move forward for the new features(e.g. custom profiles) |
|
@ardaguclu Agree about custom profiles with a new KEP. I think Since we're adding a capability I think backwards compatibility won't be much of a concern. The only problem would be if there was an admission controller that was only allowing |
|
@verb @ardaguclu |
|
@verb @ardaguclu |
Enhancement Description
The text was updated successfully, but these errors were encountered: