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

agent: Remove awareness of IPv4 cluster-range #10194

Merged
merged 1 commit into from Feb 19, 2020

Conversation

tgraf
Copy link
Member

@tgraf tgraf commented Feb 14, 2020

While operating in direct-routing mode (--tunnel=disabled), traffic with a
destination address matching a particular CIDR is automatically excluded from
being masqueraded. So far, this CIDR consisted of <alloc-cidr>/<size> where
the size could be set with the option --ipv4-cluster-cidr-mask-size. This was
not always desirable and limiting, therefore Cilium 1.6 had already introduced
the option --native-routing-cidr allowing to explicitly specify the CIDR for
native routing. With Cilium 1.8, the option --ipv4-cluster-cidr-mask-size is
being deprecated and all users must use the option --native-routing-cidr
instead.

Updates: #9919


This change is Reviewable

@tgraf tgraf added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Feb 14, 2020
@tgraf tgraf requested review from a team February 14, 2020 15:26
@tgraf tgraf requested review from a team as code owners February 14, 2020 15:26
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Feb 14, 2020
While operating in direct-routing mode (`--tunnel=disabled`), traffic with a
destination address matching a particular CIDR is automatically excluded from
being masqueraded. So far, this CIDR consisted of `<alloc-cidr>/<size>` where
the size could be set with the option `--ipv4-cluster-cidr-mask-size`. This was
not always desirable and limiting, therefore Cilium 1.6 had already introduced
the option `--native-routing-cidr` allowing to explicitly specify the CIDR for
native routing. With Cilium 1.8, the option `--ipv4-cluster-cidr-mask-size` is
being deprecated and all users must use the option `--native-routing-cidr`
instead.

Updates: #9919

Signed-off-by: Thomas Graf <thomas@cilium.io>
@tgraf tgraf force-pushed the pr/tgraf/remove-ipv4-cluster-dependency branch from 3165035 to ad81272 Compare February 14, 2020 15:35
@tgraf
Copy link
Member Author

tgraf commented Feb 14, 2020

test-me-please

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 44.481% when pulling ad81272 on pr/tgraf/remove-ipv4-cluster-dependency into 1810709 on master.

@aanm aanm added this to the 1.8 milestone Feb 18, 2020
@aanm
Copy link
Member

aanm commented Feb 19, 2020

test-me-please

hudson.plugins.git.GitException: Failed to fetch from https://github.com/cilium/cilium

@tgraf
Copy link
Member Author

tgraf commented Feb 19, 2020

test-me-please

@tgraf tgraf merged commit 293bdc5 into master Feb 19, 2020
1.8.0 automation moved this from In progress to Merged Feb 19, 2020
@tgraf tgraf deleted the pr/tgraf/remove-ipv4-cluster-dependency branch February 19, 2020 16:28
gandro added a commit to gandro/cilium that referenced this pull request Jan 10, 2022
The `single-cluster-route` flag was intended to instruct Cilium to use a
single route covering the entire cluster CIDR to point to the
`cilium_host` interface in tunnel mode, instead of per-host or
per-endpoint routes.

However, the underlying concept of a cluster prefix used for routing was
removed in PR cilium#10194. It seems the `single-cluster-route`
flag was likely even broken prior to that and accidentally used the
per-node mask instead of the per-cluster mask for the route. In summary,
this flag has not been functional for almost two years. As no one seems
to have noticed, it should be safe to remove this defunct flag without a
deprecation period.

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants