You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use systemd socket activation with the soci-snapshotter-grpc helper, so that system administrators can decide how they expose this endpoint to services like prometheus
Describe the solution you'd like
I would like soci-snapshotter-grpc to expose a flag or configuration to allow it to use the file descriptors provided by systemd when the soci-snapshotter-grpc service is activated through a socket. For more details refer to system.socket. This feature is already supported by other services like docker, see this file for reference. The docker implementation is a bit overkill for SOCI, so the functionality I would like is:
Extend the --address flag to understand the "protocol", e.g.: file://, unix://, fd://, similar to what Docker does
Parse the given address, and use that to start the server. Unlike the docker implementation, only one server should be started instead of one per "host" provided.
Describe any alternative solutions/features you've considered
I could use something like socat and redirect traffic with it, however this adds an additional dependency, and that wouldn't be great for container-optimized distributions like Bottlerocket.
Any additional context or information about the feature request
No response
The text was updated successfully, but these errors were encountered:
Description
I would like to use systemd socket activation with the
soci-snapshotter-grpc
helper, so that system administrators can decide how they expose this endpoint to services like prometheusDescribe the solution you'd like
I would like
soci-snapshotter-grpc
to expose a flag or configuration to allow it to use the file descriptors provided by systemd when thesoci-snapshotter-grpc
service is activated through a socket. For more details refer to system.socket. This feature is already supported by other services like docker, see this file for reference. The docker implementation is a bit overkill for SOCI, so the functionality I would like is:--address
flag to understand the "protocol", e.g.:file://
,unix://
,fd://
, similar to what Docker doesDescribe any alternative solutions/features you've considered
I could use something like
socat
and redirect traffic with it, however this adds an additional dependency, and that wouldn't be great for container-optimized distributions like Bottlerocket.Any additional context or information about the feature request
No response
The text was updated successfully, but these errors were encountered: