Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add iptables logging rules using calico ? #7

Open
codecap opened this issue May 21, 2019 · 4 comments
Open

How to add iptables logging rules using calico ? #7

codecap opened this issue May 21, 2019 · 4 comments

Comments

@codecap
Copy link

codecap commented May 21, 2019

Hi Guys,

nice project! I would like to try it out in my environment, but have now troubles configuring iptables LOG rule.

We use calico for networking, calico default setting are to insert iptables rules before any host ones and to check it regularly, so after we configure needed rules manually, calico pushes them to the end or even removes the rules... anyways nothing is being logged.

So how should iptables logging rules be added using calico?

It might be a good idea to better document it ?

Kind regards,
Vlad

@mtparet
Copy link

mtparet commented May 22, 2019

Hi Codecap,

We had same questions and we built a helm chart which ease the installation/configuration.
https://github.com/honestica/lifen-charts/blob/master/kube-iptables-tailer/README.md

This chart include setup for calico loggin https://github.com/honestica/lifen-charts/blob/master/kube-iptables-tailer/templates/networkpolicy-loggin-calico.yml

If you have any questions, do not hesitate to open isssue and contribute :)

@codecap
Copy link
Author

codecap commented May 22, 2019

nice @mtparet 👍,

why not to merge your work into the parent repository?

@mtparet
Copy link

mtparet commented May 22, 2019

Yes if @dilyar85 wish also to maintain the chart, we could merge into the parent repository.

@dilyar85
Copy link
Contributor

Hi @mtparet,

Honestly I am not an expert to Helm, but feel free to push a PR with your chart. I would love to review it and merge to this repo if it helps people like @codecap to set up calico logging easily. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants