-
Notifications
You must be signed in to change notification settings - Fork 769
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
Support for: tmpfs #436
Comments
There is actually equivalent in Kubernetes. |
My proposal is to convert for docker-compose.yml like this: version: "2"
services:
foo:
image: busybox
command: ["sh","-c", "mount | grep /foo; sleep 3200"]
tmpfs:
- /foo kompose should generate objects that have PodSpec like this: metadata:
labels:
service: foo
spec:
containers:
- args:
- sh
- -c
- mount | grep /foo; sleep 3200
image: busybox
name: foo
volumeMounts:
- mountPath: /foo
name: foo-claim0
restartPolicy: Always
volumes:
- name: foo-claim0
emptyDir:
- medium: "Memory"
|
@kadel That looks great. I think that'd be the best way to convert 'tmpfs" to Kubernetes. Even if it's not used very much in docker-compose I think it's an awesome way to convert to a kubernetes-equivilant. |
I would like to work on it :) |
fixes kubernetes#436 This commit will add support for tmpfs, configEmptyVolumeSource function is being modified as it have to work in two ways now. (For emptyvols and tmpfs) Added unit test for tmpfs too.
fixes kubernetes#436 This commit will add support for tmpfs, configEmptyVolumeSource function is being modified as it have to work in two ways now. (For emptyvols and tmpfs) Added unit test for tmpfs too.
fixes kubernetes#436 This commit will add support for tmpfs, configEmptyVolumeSource function is being modified as it have to work in two ways now. (For emptyvols and tmpfs) Added unit test for tmpfs too.
fixes kubernetes#436 This commit will add support for tmpfs, configEmptyVolumeSource function is being modified as it have to work in two ways now. (For emptyvols and tmpfs) Added unit test for tmpfs too.
fixes kubernetes#436 This commit will add support for tmpfs, configEmptyVolumeSource function is being modified as it have to work in two ways now. (For emptyvols and tmpfs) Added unit test for tmpfs too.
No error / warning when using this key.
The text was updated successfully, but these errors were encountered: