.
This commit is contained in:
@@ -25,7 +25,7 @@ storage:
|
|||||||
mode: 0755
|
mode: 0755
|
||||||
- path: /var/lib/rsyslog
|
- path: /var/lib/rsyslog
|
||||||
overwrite: true
|
overwrite: true
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
files:
|
files:
|
||||||
- path: /etc/hostname
|
- path: /etc/hostname
|
||||||
@@ -170,26 +170,26 @@ storage:
|
|||||||
ForwardToSyslog=yes
|
ForwardToSyslog=yes
|
||||||
|
|
||||||
- path: /etc/rsyslog.conf
|
- path: /etc/rsyslog.conf
|
||||||
mode: 0644
|
mode: 0644
|
||||||
contents:
|
contents:
|
||||||
inline: |
|
inline: |
|
||||||
# Minimal rsyslog: receive from journald syslog socket and forward to remote
|
# Minimal rsyslog: receive from journald syslog socket and forward to remote
|
||||||
|
|
||||||
global(workDirectory="/var/lib/rsyslog")
|
global(workDirectory="/var/lib/rsyslog")
|
||||||
|
|
||||||
# This is the important part: pick up what journald forwards when ForwardToSyslog=yes
|
# This is the important part: pick up what journald forwards when ForwardToSyslog=yes
|
||||||
module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog")
|
module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog")
|
||||||
|
|
||||||
# Forward everything to your syslog server (TCP recommended)
|
# Forward everything to your syslog server (TCP recommended)
|
||||||
action(
|
action(
|
||||||
type="omfwd"
|
type="omfwd"
|
||||||
target="syslog.undercloud.local"
|
target="syslog.undercloud.local"
|
||||||
port="514"
|
port="514"
|
||||||
protocol="tcp"
|
protocol="tcp"
|
||||||
action.resumeRetryCount="-1"
|
action.resumeRetryCount="-1"
|
||||||
queue.type="linkedList"
|
queue.type="linkedList"
|
||||||
queue.size="50000"
|
queue.size="50000"
|
||||||
)
|
)
|
||||||
|
|
||||||
- path: /etc/kubernetes/kubeadm-init.yaml
|
- path: /etc/kubernetes/kubeadm-init.yaml
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|||||||
Reference in New Issue
Block a user