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: 1e458081bb4dd1e84c552d54ff96589b973c4e2e
This commit is contained in:
parent
495660dc99
commit
4cc38003ba
|
@ -699,6 +699,8 @@ type KubeletConfiguration struct {
|
||||||
EnableSystemLogHandler *bool `json:"enableSystemLogHandler,omitempty"`
|
EnableSystemLogHandler *bool `json:"enableSystemLogHandler,omitempty"`
|
||||||
// enableSystemLogQuery enables the node log query feature on the /logs endpoint.
|
// enableSystemLogQuery enables the node log query feature on the /logs endpoint.
|
||||||
// EnableSystemLogHandler has to be enabled in addition for this feature to work.
|
// 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
|
// Default: false
|
||||||
// +featureGate=NodeLogQuery
|
// +featureGate=NodeLogQuery
|
||||||
// +optional
|
// +optional
|
||||||
|
|
Loading…
Reference in New Issue