blob: ff957064daafb00505fc84a6ecc29b2341a3d58d [file] [log] [blame]
Lorenz Brun842536b2021-01-26 13:54:57 +01001Copyright 2020 The Monogon Project Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15
Lorenz Brun6211e4d2023-11-14 19:09:40 +010016From b395122005928737cd78a2b46f15c1731f82bc9e Mon Sep 17 00:00:00 2001
Lorenz Brun842536b2021-01-26 13:54:57 +010017From: Lorenz Brun <lorenz@brun.one>
18Date: Mon, 25 Jan 2021 17:20:51 +0100
19Subject: [PATCH] Change hardcoded pod logs root dir
20
21---
22 pkg/kubelet/kuberuntime/kuberuntime_manager.go | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/pkg/kubelet/kuberuntime/kuberuntime_manager.go b/pkg/kubelet/kuberuntime/kuberuntime_manager.go
Lorenz Brun6211e4d2023-11-14 19:09:40 +010026index 49add764798..fef6591a5ba 100644
Lorenz Brun842536b2021-01-26 13:54:57 +010027--- a/pkg/kubelet/kuberuntime/kuberuntime_manager.go
28+++ b/pkg/kubelet/kuberuntime/kuberuntime_manager.go
Lorenz Brun6211e4d2023-11-14 19:09:40 +010029@@ -70,7 +70,7 @@ const (
Lorenz Brun842536b2021-01-26 13:54:57 +010030 // The api version of kubelet runtime api
31 kubeRuntimeAPIVersion = "0.1.0"
32 // The root directory for pod logs
33- podLogsRootDirectory = "/var/log/pods"
34+ podLogsRootDirectory = "/data/kubelet/logs"
35 // A minimal shutdown window for avoiding unnecessary SIGKILLs
36 minimumGracePeriodInSeconds = 2
Lorenz Brun6211e4d2023-11-14 19:09:40 +010037
38--
392.41.0
Lorenz Brun842536b2021-01-26 13:54:57 +010040