Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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-1981 Windows HostProcess containers KEP updates for beta #2865
KEP-1981 Windows HostProcess containers KEP updates for beta #2865
Changes from 8 commits
ee65b93
6400ce3
ab9a168
c69229b
b33bcd6
6e6c57d
46102b0
0996fc0
74c7961
dd7a06c
b60e9b4
42562cc
e7eb2a6
a7ad4b9
2f113f3
4d7a053
d0aad04
5586e1f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Are there any thoughts on how
emptyDir
[https://kubernetes.io/docs/concepts/storage/volumes/#emptydir] would look like in case of ahostProcess
? Consumption and tracking ofemptyDir
volumes will be a factor in request/limit tracking of ephemeral storage.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.
emptyDir volume mounts should "just work" (but we will do some validation). As Danny mentioned below the mounts associated with hostProcess containers are actual windows volumes just like with normal containers. The differences are in where they are mounted and how they are exposed to the main OS and containers.
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.
Well, the mounts are just symlinks for these. The only thing that gets surfaced as an actual volume (think viewable by
mountvol
) is the containers rootfs volume that the envvar points to. Probably worded that poorly below haha. Mounts will show up under this rootfs location is likely where the confusion lied.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.
If a executable has a dependency on a version of a library that is not backwards compatible then there could be unexpected behavior. We may want to call that out here and add it to the documentation.
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 tried to call that out with
There will always be runtime requirements that will need to be satisfied for any executable or script that people want to use in HostProcess containers.
I was hoping we can be more explicit here in the docs we are going to write for how to build / test container images that are meant to be run as HostProcess containrs.
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.
can't comment on lines outside the diff, but I'd like to see Were upgrade and rollback tested? Was the upgrade->downgrade->upgrade path tested? updated with a commitment to a manual test.