Skip to content

Commit 4450722

Browse files
committed
Apply review suggestions
1 parent f8ecd2e commit 4450722

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/en/blog/_posts/2024-06-21-custom-profiling-kubectl-debug.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: blog
3-
title: "Kubernetes 1.31: Custom Profiling in kubectl debug graduates to beta"
3+
title: "Kubernetes 1.31: Custom Profiling in Kubectl Debug Graduates to Beta"
44
date: 2024-08-22
55
slug: kubernetes-1-31-custom-profiling-kubectl-debug
66
author: >
@@ -53,7 +53,7 @@ env:
5353
and execute:
5454

5555
```shell
56-
$ kubectl debug example-pod -it --image=customapp --custom=partial_container.yaml
56+
kubectl debug example-pod -it --image=customapp --custom=partial_container.yaml
5757
```
5858

5959
Here is another example that modifies multiple fields at once (change port number, add resource limits, modify environment variable) in JSON:
@@ -91,9 +91,8 @@ In the future, more fields can be added to the disallowed list if required.
9191

9292
## Limitations
9393

94-
kubectl debug command has 3 aspects: Debugging with ephemeral containers, pod copying and node debugging. The largest intersection set of these aspects is `Container` spec.
95-
That's why, custom profiling only supports the modification of the fields that are defined in `Container`. This leads us to a limitation that if user needs to modify the
96-
other fields in the `Pod` spec, it is not supported.
94+
The `kubectl debug` command has 3 aspects: Debugging with ephemeral containers, pod copying, and node debugging. The largest intersection set of these aspects is the container spec within a Pod
95+
That's why, custom profiling only supports the modification of the fields that are defined with `containers`. This leads to a limitation that if user needs to modify the other fields in the Pod spec, it is not supported.
9796

9897
## Acknowledgments
9998

0 commit comments

Comments
 (0)