Replies: 7 comments
-
Does the k8s yaml has support for specifying which namespaces should be shared? I only found this https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#hosts-namespaces |
Beta Was this translation helpful? Give feedback.
-
This one may be outside what Kube YAML can do. I expect we're going to run into this more and more as we start to push the boundaries with |
Beta Was this translation helpful? Give feedback.
-
Yes I think we need to say that certain features that are not implemented in kubernetes, will not translate back into generate kube, because they can not. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answers! This is what I expected. Maybe kind of warning for not translatable features during What command should be used instead to dump set of settings for further usage? |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
This is not really an issue, and I hesitate to have warning about missing features, because we will miss many. Lets continue the conversation as a discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I am not sure if this is a bug, not added feature intentionally or feature not yet implemented.
podman generate kube
for pod without shared network producesYAML
file which doesn't reproduce pod state when "played".Steps to reproduce the issue:
podman pod create --name nginxs-pod --replace=true --share pid,ipc,uts
podman run --detach -t --pod nginxs-pod --name nginx1 --replace=true -p 30080:80/TCP --rm=true docker.io/library/nginx:latest
podman run --detach -t --pod nginxs-pod --name nginx2 --replace=true -p 30081:80/TCP --rm=true docker.io/library/nginx:latest
podman generate kube nginxs-pod > nginxs-pod.yaml
podman pod rm -f nginxs-pod
podman play kube nginxs-pod.yaml
Describe the results you received:
nginx1
is not available (because ofAddress already in use
).Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Beta Was this translation helpful? Give feedback.
All reactions