fix: make fluent-bit run on control-plane again, latest logging module

This commit is contained in:
Stefan Reimer 2024-07-31 19:05:43 +00:00
parent f2b38c3b6b
commit f2ea52da7d
3 changed files with 7 additions and 1 deletions

View File

@ -181,6 +181,10 @@ control_plane_node() {
# restore latest backup
retry 10 60 30 restic restore latest --no-lock -t / # --tag $KUBE_VERSION_MINOR
# get timestamp from latest snap for debug / message
# we need a way to surface this info to eg. Slack
#snapTime="$(restic snapshots latest --json | jq -r '.[].time')"
# Make last etcd snapshot available
cp ${WORKDIR}/etcd_snapshot ${HOSTFS}/etc/kubernetes

View File

@ -240,6 +240,8 @@ fluent-bit:
#dnsPolicy: ClusterFirstWithHostNet
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
- key: kubezero-workergroup
effect: NoSchedule
operator: Exists

View File

@ -108,7 +108,7 @@ metrics:
logging:
enabled: false
namespace: logging
targetRevision: 0.8.11
targetRevision: 0.8.12
argo:
enabled: false