-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
ProcMount 1.30 update #45152
ProcMount 1.30 update #45152
Conversation
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
/retitle [WIP] ProcMount beta bump |
/milestone 1.30 |
Hey @haircommander 👋 please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday March 12th 2024 18:00 PST. Thank you! |
cb2c973
to
c55db29
Compare
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; it'll need a few changes before we can merge this.
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
|
||
{{< feature-state for_k8s_version="v1.12" state="alpha" >}} | ||
|
||
By default, containers have multiple paths that are both |
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.
By default, containers have multiple paths that are both | |
For runtimes that follow the OCI runtime specification, containers default to running in a mode where | |
there are multiple paths that are both |
them. A list of the paths are found in the [Kubernetes source | ||
code](https://github.com/kubernetes/kubernetes/blob/964529b227/pkg/securitycontext/util.go#L193-L211): |
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.
Avoid linking to the source code; instead, if we want to put a list in, pop it inside a new (small) page within https://kubernetes.io/docs/reference/node/
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.
how do you feel about me dropping the link to the source code but not adding a reference? having it in 3 places seems more likely to skew eventually
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.
That's fine.
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
- `/proc/timer_stats` | ||
- `/proc/sched_debug` | ||
- `/proc/scsi` | ||
- `/sys/firmware` |
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.
We might want to call out this one especially, as it's outside /proc
.
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.
What I mean is: people might think that procMount
only covers /proc
.
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.
I left a note below does that suffice?
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
Please also fix the merge conflict (rebase against dev-1.30) |
Hello @mrunalp 👋 please provide a technical review for this PR by March 26th 2024 18:00 PT to get this into the release. Thank you! |
Hey @haircommander @mrunalp 👋🏼 I'm reaching out from the Docs team. Just checking in as we approach Docs Freeze on |
9f7a627
to
e1e410e
Compare
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.
/approve
Technically LGTM from sig-node.
Just a heads up that Doc Freeze is approaching fast tomorrow March 26th at 18:00 PDT and starting this cycle, we need to file an Exception after this time. @kubernetes/sig-docs-en-owners Does this one look good for an |
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.
@haircommander The PR is currently lacking the doc change to transition the feature gate from Alpha to Beta. The necessary change should be made in the feature gate description file - proc-mount-type.md
(here).
Please refer to the documentation here for further information.
EDIT: This review comment can be disregarded as the confirmation (here) indicates that this feature is still in the alpha stage.
@dipesh-rawat I don't think PR is targeting beta. KEP-4265 was updated to |
content/en/docs/tasks/configure-pod-container/security-context.md
Outdated
Show resolved
Hide resolved
{{< note >}} | ||
<!-- remove after Kubernetes v1.30 is released --> | ||
If you are running Kubernetes v1.25, refer to the v1.25 version of this task page: | ||
[Configure a Security Context for a Pod or Container](https://v1-25.docs.kubernetes.io/docs/tasks/configure-pod-container/security-context/) (v1.25). | ||
There is an important note in that documentation about a situation where the kubelet | ||
can lose track of volume labels after restart. This deficiency has been fixed | ||
in Kubernetes 1.26. | ||
{{< /note >}} |
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.
{{< note >}} | |
<!-- remove after Kubernetes v1.30 is released --> | |
If you are running Kubernetes v1.25, refer to the v1.25 version of this task page: | |
[Configure a Security Context for a Pod or Container](https://v1-25.docs.kubernetes.io/docs/tasks/configure-pod-container/security-context/) (v1.25). | |
There is an important note in that documentation about a situation where the kubelet | |
can lose track of volume labels after restart. This deficiency has been fixed | |
in Kubernetes 1.26. | |
{{< /note >}} |
Also see #45152 (comment) |
correct! we're not bumping this to beta in this release |
e1e410e
to
198826d
Compare
Signed-off-by: Peter Hunt <pehunt@redhat.com>
198826d
to
c3e2106
Compare
Looks like feedback was addressed. @kubernetes/sig-docs-en-owners Is this ready to approve? |
Looks like feed back has been addressed and there is a technical lgtm from SIG Node |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrunalp, reylejano 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 |
/lgtm |
LGTM label has been added. Git tree hash: ad6831d71905f05dcaa0904442d3075d6baf7d32
|
@@ -523,3 +575,7 @@ kubectl delete pod security-context-demo-4 | |||
* For more information about security mechanisms in Linux, see | |||
[Overview of Linux Kernel Security Features](https://www.linux.com/learn/overview-linux-kernel-security-features) | |||
(Note: Some information is out of date) | |||
* Read about [User Namespaces](/docs/concepts/workloads/pods/user-namespaces.md) |
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.
Ideally we'd have fixed this broken link before a merge. I'll file an issue.
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.
Actually, I'll just send in a PR.
/milestone 1.30 |
KEP: kubernetes/enhancements#4265