-
Notifications
You must be signed in to change notification settings - Fork 771
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
Updated conversion doc #553
Conversation
docs/conversion.md
Outdated
@@ -13,7 +13,7 @@ This document outlines all the conversion details regarding `docker-compose.yaml | |||
| depends_on | | N | | | | |||
| dns | | N | | | | |||
| dns_search | | N | | | | |||
| tmpfs | | N | | | | |||
| tmpfs | | Y | | Creates `emptyDir` volume & mounts inside container | |
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.
Description is only partially true.
This descriptions makes it look like its regular emptyDir
volume.
That is not true. Its emptDir
with medium: Memory
, it actually mounts given dir as tmpfs inside container.
cc @kadel |
I don't see any changes in the message. |
@kadel . updated |
docs/conversion.md
Outdated
@@ -15,7 +15,7 @@ This document outlines all the conversion details regarding `docker-compose.yaml | |||
| depends_on | | N | | | | |||
| dns | | N | | | | |||
| dns_search | | N | | | | |||
| tmpfs | | N | | | | |||
| tmpfs | | Y | [Tmpfs](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) | Creates `emptyDir` volume with `medium:Memory` & mounts given directory inside container | |
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.
Should be: Pod.Spec.Containers.Volumes.EmptyDir
for description instead Tmpfs.
@cdrage done |
docs/conversion.md
Outdated
@@ -15,7 +15,7 @@ This document outlines all the conversion details regarding `docker-compose.yaml | |||
| depends_on | | N | | | | |||
| dns | | N | | | | |||
| dns_search | | N | | | | |||
| tmpfs | | N | | | | |||
| tmpfs | | Y | [Pod.Spec.Containers.Volumes.EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) | Creates `emptyDir` volume with `medium:Memory` & mounts given directory inside container | |
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.
Still nitpicking this, but could be better:
Creates emptyDir
volume with medium
set to memory
Just medium:Memory
is a tad confusing..
Solves kubernetes#548 `docs/conversion.md` is updated as `tmpfs` is supported now.
LGTM! Merging' |
docs/conversion.md
is updated astmpfs
is supported now.