Exploring the daemon sets
Each FileIntegrity object represents a scan on several nodes. The scan itself is performed by pods managed by a daemon set. The config maps created by the AIDE daemon are not retained and are deleted after the File Integrity Operator processes them. However, on failure and error, the contents of these config maps are copied to the config map that the FileIntegrityNodeStatus object points to.
Procedure
-
To find the daemon set that represents a
FileIntegrityobject, run:$ oc -n openshift-file-integrity get ds/aide-worker-fileintegrity -
To list the pods in that daemon set, run:
$ oc -n openshift-file-integrity get pods -lapp=aide-worker-fileintegrity -
To view logs of a single AIDE pod, call
oc logson one of the pods:$ oc -n openshift-file-integrity logs pod/aide-worker-fileintegrity-mr8x6Example outputStarting the AIDE runner daemon initializing AIDE db initialization finished running aide check ...