run the log store and its auth responders as pods
swarm-logs-auth and swarm-metrics-auth take --listen for a TCP address beside --socket. The log store is a Deployment on a static local volume that is its old container's data directory, behind a ClusterIP Service the gateway dials by name. Its two auth_request responders are one unpinned pod with a jwt role. The renderer gains a plain HTTP listener, a probe path, fsGroupChangePolicy, and one policy for a pod with both a listener and egress.
This commit is contained in:
parent
279f97e5ca
commit
71b2e9310c
1 changed files with 1385 additions and 746 deletions
|
|
@ -82,8 +82,8 @@ With both set, systemd creates the runtime directory under `/run/private/`
|
|||
`RuntimeDirectoryPreserve=`). No unprivileged user can traverse that, so
|
||||
nginx's `connect()` to a socket in it fails with `EACCES` whatever the
|
||||
directory and socket modes are. A unit serving a socket to another user
|
||||
runs as a static user instead (`swarm-controller`, `swarm-logs-auth`,
|
||||
`swarm-metrics-auth`, `swarm-metrics-agent-auth`).
|
||||
runs as a static user instead (`swarm-controller`, `swarm-metrics-auth`,
|
||||
`swarm-metrics-agent-auth`).
|
||||
`module-eval-core-toggle` fails on any `unix:` upstream of nginx owned by
|
||||
such a unit.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue