Replies: 1 comment
-
|
Kubernetes does not support socket activation so it does not make much sense for Podman to support socket activation for kube units (quadlets) in my opinion. To support it properly in Podman for kube units, there would need to be a new syntax (maybe some annotations) that maps sockets (from I did a minimal test to see if socket activation currently works for a Pod. Details:
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
What I want:
Run a kube deployment with several containers without access to outside world. Only allow access from outside via a few endpoints using systemd socket activation.
What I tried:
Created a systemd .kube file, systemd .socket file and the corresponding yaml kubernetes config. The .kube file depends on a systemd socket.
Result:
Containers do not inherit the systemd socket. Seems that only the
-servicescontainer inherits the socket, but that makes it useless.,I can run this setup using a systemd pod, but I found this configuration to be less ergonomic. It needs a bunch of separate files to describe the setup and it is not possible to generate it from an existing set of containers as
podman kube generatedoes.Question:
Is there a way to make this work with a kube?
more info in eriksjolund/podman-traefik-socket-activation#3
Beta Was this translation helpful? Give feedback.
All reactions