Skip to content

Commit 2594979

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: 9c25992dcbe5af56e032ea68f9e93fa55c8a68d3
1 parent 993e56f commit 2594979

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)