Skip to content

Commit 14a411f

Browse files
aravindhpk8s-publishing-bot
authored andcommitted
kubelet: use env vars in node log query PS command
- Use environment variables to pass string arguments in the node log query PS command - Split getLoggingCmd into getLoggingCmdEnv and getLoggingCmdArgs for better modularization Kubernetes-commit: 00be157dabf2779609e00039a3f7552f8f3e67ab
1 parent 78330cb commit 14a411f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/v1beta1/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,8 @@ type KubeletConfiguration struct {
726726
EnableSystemLogHandler *bool `json:"enableSystemLogHandler,omitempty"`
727727
// enableSystemLogQuery enables the node log query feature on the /logs endpoint.
728728
// EnableSystemLogHandler has to be enabled in addition for this feature to work.
729+
// Enabling this feature has security implications. The recommendation is to enable it on a need basis for debugging
730+
// purposes and disabling otherwise.
729731
// Default: false
730732
// +featureGate=NodeLogQuery
731733
// +optional

0 commit comments

Comments
 (0)