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 8c0551f2fe
commit 7b28096397
3 changed files with 7 additions and 1 deletions

View File

@ -181,6 +181,10 @@ control_plane_node() {
# restore latest backup # restore latest backup
retry 10 60 30 restic restore latest --no-lock -t / # --tag $KUBE_VERSION_MINOR 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 # Make last etcd snapshot available
cp ${WORKDIR}/etcd_snapshot ${HOSTFS}/etc/kubernetes cp ${WORKDIR}/etcd_snapshot ${HOSTFS}/etc/kubernetes

View File

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

View File

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