-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Add description about custom profile #48154
Add description about custom profile #48154
Conversation
/cc @ardaguclu |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking care of this. Overall looks good to me, just dropped a minor comment.
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR - this is a good detail to document.
Please consider these tweaks, which will help you align to our style guide.
@@ -718,3 +718,60 @@ Clean up the Pod when you're finished with it: | |||
```shell | |||
kubectl delete pod myapp | |||
``` | |||
|
|||
### Custom Profile {#custom-profile} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Custom Profile {#custom-profile} | |
## Custom profiles for ephemeral containers {#custom-profile} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as Debugging Profiles above, custom profile can be applied not only to an ephemeral containers, but also to a copied Pods or a debugging pods to debug nodes.
Although the following case uses an ephemeral container as an example, I think the title should remain more general, as it is now.
(While other examples can be provided, it would be redundant)
Furthermore, I think custom profile is an extension of debugging profile.
So it would be better for the Custom Profile section under Debugging Profiles to be at level ###
instead of ##
, or to add a new comprehensive section that consolidates the Debug Profile and Custom Profile.
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
/sig cli |
6655ec9
to
22c400b
Compare
@sftim |
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
@tengqm |
content/en/docs/tasks/debug/debug-application/debug-running-pod.md
Outdated
Show resolved
Hide resolved
It does not support the modification of the Pod spec. | ||
Modifications for `command`, `image`, `lifecycle`, `name` and `volumeDevices` fields | ||
via a custom profile are not allowed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph doesn't make sense.
If modifications to a Pod spec is not supported, why are we talking about the specific fields then?
@mochizuki875 Please check other task pages for reference on how we structure a task pages, for example, here are some more specific guidance on this. |
@tengqm The only point that comes to mind is the following, but could you let me know specifically what the issue is?
|
My suggestion was to improve the structure of the page so that it is more like a "task" page.
Yes.
The |
Are you suggesting that, rather than limiting the scope of this PR to the custom profile, we should revamp the entire page to follow the task style in this PR? If so, how about addressing it as a separate issue? |
I'm okay with that, considering that this PR is not about a new task page. |
@tengqm |
/lgtm |
LGTM label has been added. Git tree hash: 7846deee2092b94c295978160cc1da48fe0d99d0
|
PTAL? |
Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dipesh-rawat The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR add description about custom profile.
ref:
#4292
KEP-4292