Specify network in kube file #13854
imperialguy
started this conversation in
General
Replies: 1 comment 1 reply
-
It is not possible to use networks with the k8s yaml format yet: #12965 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say I do the following:
podman network create sample
podman pod create --name p1
podman run -d --rm -it --name c1 --pod p1 --network sample docker.io/alpine:latest
podman run -d --rm -it --name c2 --pod p1 --network sample docker.io/alpine:latest
podman generate kube p1
Here's the yaml file it generates.
The problem is the generated yaml file does not include the network name. How do I add the network name to the generated kube yaml file?
Beta Was this translation helpful? Give feedback.
All reactions