Add PodLogsPath to kubelet config

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>

Kubernetes-commit: d9e2487d0c3f1d62e9702af98c3a9acc5b1dde32
This commit is contained in:
Maksym Pavlenko 2022-10-07 13:54:52 -07:00 committed by Kubernetes Publisher
parent 85fe082664
commit c16ee65406
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ type KubeletConfiguration struct {
// Default: ""
// +optional
StaticPodPath string `json:"staticPodPath,omitempty"`
// podLogsDir is a custom root directory path kubelet will use to place pod's log files.
// Default: "/var/log/pods"
// +optional
PodLogsDir string `json:"podLogsDir,omitempty"`
// syncFrequency is the max period between synchronizing running
// containers and config.
// Default: "1m"