Skip to content

clair: systemd integrations#2367

Draft
hdonnay wants to merge 8 commits intoquay:mainfrom
hdonnay:hack/systemd/socket-activation
Draft

clair: systemd integrations#2367
hdonnay wants to merge 8 commits intoquay:mainfrom
hdonnay:hack/systemd/socket-activation

Conversation

@hdonnay
Copy link
Member

@hdonnay hdonnay commented Feb 2, 2026

While retooling my testing setup, I really wanted to have a Clair instance that would spin up and down on demand. This is a series of changes to that effect.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This will allow for Clair instances to start on-demand.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This will allow for Clair instances to spin down when they stop
receiving requests for some period. This is particularly useful when
combined with a systemd socket unit.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This allows Clair to inform a process supervisor about its state.

Currently, only systemd is supported and only "ready" and "stopping"
messages are used.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant