[cilium] monitor-aggregation

ref. https://github.com/cilium/cilium/blob/master/install/kubernetes/quick-install.yaml

  # If you want cilium monitor to aggregate tracing for packets, set this level
  # to "low", "medium", or "maximum". The higher the level, the less packets
  # that will be seen in monitor output.
  monitor-aggregation: medium

  # The monitor aggregation interval governs the typical time between monitor
  # notification events for each allowed connection.
  # Only effective when monitor aggregation is set to "medium" or higher.
  monitor-aggregation-interval: 5s

  # The monitor aggregation flags determine which TCP flags which, upon the
  # first observation, cause monitor notifications to be generated.
  # Only effective when monitor aggregation is set to "medium" or higher.
  monitor-aggregation-flags: all

It can be changed by config_map.yaml

apiVersion: v1
kind: ConfigMap
  name: cilium-config
  namespace: kube-system
  monitor-aggregation: low
  monitor-aggregation-interval: 5s
$ kubectl apply -n kube-system -f cilium_config.yaml

check it

$ kubectl get configmap -n kube-system cilium-config -o yaml | grep monitor-aggregation

and then restart cilium agent!

$ kubectl delete pod cilium-* -n kube-system

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다