Skip to content

Instantly share code, notes, and snippets.

@robdewit
robdewit / remotesyslog.conf
Last active June 20, 2018 09:20
Have auditd log to a remote syslog host
# /etc/auditsp/plugins.d/remotesyslog.conf
#
# This file controls the audispd data path to the
# remote event logger. This plugin will send events to
# a remote machine (Central Logger).
active = yes
direction = out
path = /etc/audisp/remotesyslog.sh
type = always
@robdewit
robdewit / using_glusterfs_in_pod.yaml
Last active March 28, 2023 12:42
Kubernetes glusterfs in pod template
# Mock service
apiVersion: v1
kind: Service
metadata:
namespace: MY_NAMESPACE
name: MY_APPNAME_VOLNAME
spec:
ports:
- port: 1
---