Available in editions: CE, BE, SE, SE+, EE
The module starts reading logs only if log-pipeline is created. Log-pipeline consists of ClusterLoggingConfig/PodLoggingConfig connected to ClusterLogDestination.
The module has 5 alerts.
The module is enabled by default in the following bundles: Default, Managed.
The module is disabled by default in the Minimal bundle.
Settings
The module is configured using the ModuleConfig custom resource named log-shipper (learn more about setting up Deckhouse…).
Example of the ModuleConfig/log-shipper resource for configuring the module:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: log-shipper
spec:
  version: 1
  enabled: true
  settings: # <-- Module parameters from the "Parameters" section below.
Parameters
Schema version: 1
- objectsettings- booleansettings.debugEnable or disable agent debug logging. Default: false.Default: false
- objectsettings.nodeSelectorThe same as in the Pods’ spec.nodeSelectorparameter in Kubernetes.If the parameter is omitted or false,nodeSelectorwill be determined automatically.
- objectsettings.resourcesRequestsMax amounts of CPU and memory resources that the pod can request when selecting a node. If the vertical-pod-autoscalermodule is disabled, then these values become the default ones.Examples: resourcesRequests: mode: VPA vpa: mode: Auto cpu: min: 50m max: 2 memory: min: 256Mi max: 2GiresourcesRequests: mode: VPA vpa: mode: Initial cpu: min: 1 max: 3000m memory: min: 1024 max: 4096resourcesRequests: mode: Static static: cpu: 55m memory: 256Ki- stringsettings.resourcesRequests.modeRequired value Resource request management mode: Default: VPAAllowed values: VPA,Static
- objectsettings.resourcesRequests.staticResource request management options for the Staticmode.- settings.resourcesRequests.static.cpuRequired value Configuring CPU requests. Default: 50m
- settings.resourcesRequests.static.memoryRequired value Configuring memory requests. Default: 64Mi
 
- objectsettings.resourcesRequests.vpaResource request management options for the VPA mode. - objectsettings.resourcesRequests.vpa.cpuRequired value CPU-related parameters. - settings.resourcesRequests.vpa.cpu.maxThe maximum value that the VPA can set for the CPU requests. Default: 500m
- settings.resourcesRequests.vpa.cpu.minThe minimum value that the VPA can set for the CPU requests. Default: 50m
 
- objectsettings.resourcesRequests.vpa.memoryRequired value The amount of memory requested. - settings.resourcesRequests.vpa.memory.maxThe maximum memory requests the VPA can set. Default: 2048Mi
- settings.resourcesRequests.vpa.memory.minThe minimum memory requests the VPA can set. Default: 64Mi
 
- stringsettings.resourcesRequests.vpa.modeRequired value The VPA usage mode. Default: InitialAllowed values: Initial,Auto
 
 
- array of objectssettings.tolerationsThe same as in the Pods’ spec.tolerationsparameter in Kubernetes;If the parameter is omitted or false,tolerationswill be determined automatically.- stringsettings.tolerations.effect
- stringsettings.tolerations.key
- stringsettings.tolerations.operator
- integersettings.tolerations.tolerationSeconds
- stringsettings.tolerations.value