mirror of https://github.com/k3s-io/k3s
Fixed the issue with log rotation
Fixed the issue where log files where being rotated every 1mb instead of 1gbpull/6/head
parent
3a8ba99d30
commit
a6f50e0678
|
@ -57,7 +57,7 @@ nssm set kubelet AppRotateFiles 1
|
|||
nssm set kubelet AppRotateOnline 1
|
||||
# Rotate Logs Every 24 hours or 1 gb
|
||||
nssm set kubelet AppRotateSeconds 86400
|
||||
nssm set kubelet AppRotateBytes 1048576
|
||||
nssm set kubelet AppRotateBytes 1073741824
|
||||
nssm set kubelet AppEnvironmentExtra CONTAINER_NETWORK=$ContainerNetwork
|
||||
|
||||
|
||||
|
@ -81,7 +81,7 @@ nssm set kube-proxy AppRotateFiles 1
|
|||
nssm set kube-proxy AppRotateOnline 1
|
||||
# Rotate Logs Every 24 hours or 1 gb
|
||||
nssm set kube-proxy AppRotateSeconds 86400
|
||||
nssm set kube-proxy AppRotateBytes 1048576
|
||||
nssm set kube-proxy AppRotateBytes 1073741824
|
||||
nssm set kube-proxy AppEnvironmentExtra INTERFACE_TO_ADD_SERVICE_IP=$InterfaceForServiceIP
|
||||
|
||||
# Start kubelet and kube-proxy Services
|
||||
|
|
Loading…
Reference in New Issue