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
This commit is contained in:
parent
c90fbe90d2
commit
6c096e4999
|
@ -720,6 +720,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
|
||||
|
|
Loading…
Reference in New Issue