Skip to content

Commit 6c096e4

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: c94919d68b96ac54171fd289f9a2da25a5fbcd5e
1 parent c90fbe9 commit 6c096e4

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
@@ -720,6 +720,8 @@ type KubeletConfiguration struct {
720720
EnableSystemLogHandler *bool `json:"enableSystemLogHandler,omitempty"`
721721
// enableSystemLogQuery enables the node log query feature on the /logs endpoint.
722722
// EnableSystemLogHandler has to be enabled in addition for this feature to work.
723+
// Enabling this feature has security implications. The recommendation is to enable it on a need basis for debugging
724+
// purposes and disabling otherwise.
723725
// Default: false
724726
// +featureGate=NodeLogQuery
725727
// +optional

0 commit comments

Comments
 (0)