blob: 8b37544c69268441aad7d76ffb12231208424bee [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
16From 9b6bdecfd07d026eae2c1b62cc8b7b06d14292ee Mon Sep 17 00:00:00 2001
17From: 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
26index eebba49bbbe..c24b3133bcc 100644
27--- a/pkg/kubelet/kuberuntime/kuberuntime_manager.go
28+++ b/pkg/kubelet/kuberuntime/kuberuntime_manager.go
29@@ -57,7 +57,7 @@ const (
30 // 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
37
38--
392.25.1
40