Automatic merge from submit-queue.
Update Example conventions
**Why this PR is needed**
Currently `kubectl-conventions.md` contains incorrect conventions for command examples. File currently stipulates that example commands should start with a `$`, this is incorrect.
Currently conventions stipulate that command example comments should terminate with a period. This is overly restrictive and trivial. Conventions would be better if this was relaxed to allow developer discretion.
**What this PR does**
Remove `$` convention and stipulate explicitly that command examples **do not** start with a `$`. Remove convention stipulating command examples terminate with a period.
Automatic merge from submit-queue.
Propose a feature to troubleshoot running pods
This feature allows troubleshooting of running pods by running a new "Debug Container" in the pod namespaces.
This proposal was originally opened and reviewed in kubernetes/kubernetes#35584.
This proposal needs LGTM by the following SIGs:
- [ ] SIG Node
- [ ] SIG CLI
- [ ] SIG Auth
- [x] API Reviewer
Work in Progress:
- [x] Prototype `kubectl attach` for debug containers
- [x] Talk to sig-api-machinery about `/debug` subresource semantics
I believe it is time to adopt a new development process given the
current scale of Kubernetes. The inadequacy of our current process
is particularly apparent within SIGs with cross project concerns
such as SIG Release, SIG Testing, SIG Architecture, and SIG PM
so additional process around proposing changes to Kubernetes is
suggested.
This updates the Pod Troubleshooting Design Proposal for recent
developments in the community and to reflect the consensus from the API
review: using the existing /exec endpoint as a starting point for this
feature.
The biggest change is a reworking of the Kubernetes API changes after
chatting with sig-api-machinery. The Debug Container is now created in a
standalone API call and the client is responsible for attaching.
Automatic merge from submit-queue. .
Rename security-context-constraints.md to pod-security-policy.md
It's counter intuitive that proposal about PSP has name `security-context-constraints.md`.
@pweil- Do you have objections against renaming a file?
CC @simo5
Automatic merge from submit-queue. .
Clean up the bad link
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
1. Remove the title link
2. Modify the links which don't work