Skip to content

fix: Cilium-Istio compatibility fixes #856

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

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

dkoshkin
Copy link
Contributor

@dkoshkin dkoshkin commented Aug 14, 2024

What problem does this PR solve?:

Setting cni.exclusive: false and socketLB.hostNamespaceOnly: true.

See Cilium's docs https://docs.cilium.io/en/latest/network/servicemesh/istio/. Without these value Cilium can interfere with Istio functionality, by always cleaning up cni config directory on the host, thus preventing Istio Pods from coming up, and interfere with Istio load-balancing once they do come up.

It's safe to always set these value, because it is not Cilium's responsibility to prevent other applications from acting like a network plugin.

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Special notes for your reviewer:

See Cilium's docs https://docs.cilium.io/en/latest/network/servicemesh/istio/.
Without this value Cilium always cleans up cni config directory on the host,
which prevents Istio Pods from coming up.
I think it's safe to always set this value,
because I don't believe that it is Cilium's responsibility
to prevent other applications from acting like a network plugin.
Copy link

@msdolbey msdolbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
We're not seeing each other exclusively, I thought

Copy link
Member

@jimmidyson jimmidyson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per https://docs.cilium.io/en/latest/network/servicemesh/istio/#cilium-configuration let's also set socketLB.hostNamespaceOnly: true

@jimmidyson jimmidyson changed the title fix: set cni.exclusive=false in Cilium fix: Cilium-Istio compatibility fixes (cni.exclusive:false, socketLB.hostNamespaceOnly: true) Aug 14, 2024
@jimmidyson jimmidyson changed the title fix: Cilium-Istio compatibility fixes (cni.exclusive:false, socketLB.hostNamespaceOnly: true) fix: Cilium-Istio compatibility fixes Aug 14, 2024
@github-actions github-actions bot added fix and removed fix labels Aug 14, 2024
@jimmidyson jimmidyson enabled auto-merge (squash) August 14, 2024 10:28
@jimmidyson jimmidyson merged commit 67c6244 into main Aug 14, 2024
26 checks passed
@jimmidyson jimmidyson deleted the dkoshkin/fix-istio-with-cilium branch August 14, 2024 10:41
jimmidyson added a commit that referenced this pull request Aug 14, 2024
🤖 I have created a release *beep* *boop*
---


## 0.14.0 (2024-08-14)

<!-- Release notes generated using configuration in .github/release.yaml
at main -->

## What's Changed
### Exciting New Features 🎉
* feat: Run hooks in parallel with aggregated responses by @jimmidyson
in
#855
### Fixes 🔧
* fix: Cilium-Istio compatibility fixes by @dkoshkin in
#856
### Other Changes
* build: Latest devbox update by @jimmidyson in
#857


**Full Changelog**:
v0.13.7...v0.14.0

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants