stackabletech / agent

Stackable Agent - a kubelet written in Rust which uses systemd as its backend
Apache License 2.0
15 stars 9 forks source link

Set annotation featureRestartCount #289

Closed siegfriedweber closed 3 years ago

siegfriedweber commented 3 years ago

Description

The annotation featureRestartCount is set to true if the restart count in the container status can be set properly. This is the case if systemd version 235 or newer is used. If an older systemd version is used then featureRestartCount is set to false.

Fixes #284 Tested by stackabletech/agent-integration-tests#71

Review Checklist