fix: make fluent-bit run on control-plane again, latest logging module
This commit is contained in:
parent
8c0551f2fe
commit
7b28096397
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user