Skip to content

clair: systemd integrations#2367

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

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

Conversation

@hdonnay
Copy link
Copy Markdown
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.

hdonnay added 5 commits March 31, 2026 12:43
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>




Change-Id: Ifa138b1cb5ed3adb88b47a2b8a8530126a6a6964
JJ: See-Also: CLAIRDEV-NNNN
JJ: Closes: #NNNN
@hdonnay hdonnay force-pushed the hack/systemd/socket-activation branch from 9ee57ed to 1257b7c Compare March 31, 2026 17:43
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: Id8fbc5fa619881707bb81a2a7cd387246a6a6964
@hdonnay hdonnay force-pushed the hack/systemd/socket-activation branch from 1257b7c to 15c40e1 Compare March 31, 2026 18:15
hdonnay added 3 commits March 31, 2026 13:28
This will allow for Clair instances to start on-demand.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>








Change-Id: I72c1ad6e7a99444cbb0a92d35ae26df16a6a6964
JJ: See-Also: CLAIRDEV-NNNN
JJ: Closes: #NNNN
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>
@hdonnay hdonnay force-pushed the hack/systemd/socket-activation branch from 15c40e1 to 327b04d Compare March 31, 2026 18:28
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