mirtov-alexey e28fea1d04 update images and helms alias 3 years ago
..
cmd caa420d6ca add docker and helm-chart to cilium s3 3 years ago
internal caa420d6ca add docker and helm-chart to cilium s3 3 years ago
kubernetes 13d300d81c update cilium 3 years ago
Dockerfile caa420d6ca add docker and helm-chart to cilium s3 3 years ago
Dockerfile old caa420d6ca add docker and helm-chart to cilium s3 3 years ago
README.md e28fea1d04 update images and helms alias 3 years ago
config.yaml.example caa420d6ca add docker and helm-chart to cilium s3 3 years ago
go.mod caa420d6ca add docker and helm-chart to cilium s3 3 years ago
go.sum caa420d6ca add docker and helm-chart to cilium s3 3 years ago

README.md

"cilium-s3" Export flow logs of Cilium to Yandex Cloud Object Storage

Снимок экрана 2021-10-23 в 20 40 23

Снимок экрана 2021-10-23 в 20 38 08

Снимок экрана 2021-10-23 в 20 38 08

Version

Version-1.0

  • Changelog:
    • First version
  • Docker images:
    • cr.yandex/sol/cilium-s3:1
  • Helm chart:
    • cr.yandex/sol/cilium-s3-chart:0.1.0

Solution Description

Connects via gRPC to hubble-relay and sends netflow events to Object Storage Then you can pick up these events from Object Storage to any SIEM using GeeseFS or other aws compatible plugins

Or using prepared Object Storage integrations in the following SIEMs:

Installing with helm

Prerequisites

Install helm-chart

Install helm hart by replacing the values with your own (specified in the prerequisites)

helm install cilium-s3-chart oci://cr.yandex/sol/cilium-s3-chart --version 0.1.0 --namespace cilium-s3 --create-namespace \
--set yandex.secretaccesskey=<your-secretaccesskey> \
--set yandex.bucket=<your-Bucket-name> \
--set yandex.accesskeyid=<your-accesskeyid> \
--set yandex.prefix=<your-secretaccesskey> (например:k8s-cilium-flow-logs/cluster-id-1232145gfg) 

Helm values:
yandex:
-    accesskeyid: ""  # yandex access key
-    secretaccesskey: ""  # yandex secret access key
-    bucket: ""  # Yandex storage, bucket name
-    hubble_url: "hubble-relay.kube-system.svc.cluster.local:80" # Hubble-url
-    prefix: "k8s-cilium-flow-logs/" # Prefix of bucket folder
-    region: "ru-central1" # region of S3
-    endpoint: "https://storage.yandexcloud.net" # endpoint of S3