How To Install rsyslog-mmkubernetes on Rocky Linux 8
Introduction
In this tutorial we learn how to install rsyslog-mmkubernetes
on Rocky Linux 8.
What is rsyslog-mmkubernetes
The rsyslog-mmkubernetes package provides module for adding kubernetes container metadata.
We can use yum
or dnf
to install rsyslog-mmkubernetes
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rsyslog-mmkubernetes.
Install rsyslog-mmkubernetes on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rsyslog-mmkubernetes
using dnf
by running the following command:
sudo dnf -y install rsyslog-mmkubernetes
Install rsyslog-mmkubernetes on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rsyslog-mmkubernetes
using yum
by running the following command:
sudo yum -y install rsyslog-mmkubernetes
How To Uninstall rsyslog-mmkubernetes on Rocky Linux 8
To uninstall only the rsyslog-mmkubernetes
package we can use the following command:
sudo dnf remove rsyslog-mmkubernetes
rsyslog-mmkubernetes Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/8ea1af84f5184f2fa4f97d47f0238d40f3b069
/usr/lib64/rsyslog/mmkubernetes.so
/usr/share/doc/rsyslog/k8s_container_name.rulebase
/usr/share/doc/rsyslog/k8s_filename.rulebase
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/9c92e4690417b69277b8bd7f17acc2d0fc47cc
/usr/lib64/rsyslog/mmkubernetes.so
/usr/share/doc/rsyslog/k8s_container_name.rulebase
/usr/share/doc/rsyslog/k8s_filename.rulebase
References
Summary
In this tutorial we learn how to install rsyslog-mmkubernetes
on Rocky Linux 8 using yum and dnf.