Skip to content

Commit

Permalink
kubelet: use env vars in node log query PS command
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
aravindhp authored and k8s-publishing-bot committed Aug 6, 2024
1 parent 78330cb commit 14a411f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,8 @@ type KubeletConfiguration struct {
EnableSystemLogHandler *bool `json:"enableSystemLogHandler,omitempty"`
// enableSystemLogQuery enables the node log query feature on the /logs endpoint.
// EnableSystemLogHandler has to be enabled in addition for this feature to work.
// Enabling this feature has security implications. The recommendation is to enable it on a need basis for debugging
// purposes and disabling otherwise.
// Default: false
// +featureGate=NodeLogQuery
// +optional
Expand Down

0 comments on commit 14a411f

Please sign in to comment.