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

doc: Document seamless upgrade process for remote-node identity change #13042

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

tgraf
Copy link
Member

@tgraf tgraf commented Sep 1, 2020

This PR builds on top of #13038

The upgrade instructions have been incomplete and did not allow for a
seamless upgrade from 1.6.x to 1.7.0.

The upgrade instructions have been incomplete and did not allow for a
seamless upgrade from 1.6.x to 1.7.0.

Signed-off-by: Thomas Graf <thomas@cilium.io>
@tgraf tgraf added area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. backport/1.7 labels Sep 1, 2020
@tgraf tgraf requested a review from a team as a code owner September 1, 2020 22:17
@maintainer-s-little-helper maintainer-s-little-helper bot added the kind/backports This PR provides functionality previously merged into master. label Sep 1, 2020
Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

LGTM. Just one question on whether the last two steps could be combined.

Comment on lines +484 to +495
3. A third rolling upgrade must be performed with the option
``allow-host-src: false`` set. This will enable the additional security
check and start dropping traffic originating from the host identity
received over the network. It is important to make this change
independent of enabling the transmission to a avoid a mix of nodes with
restrictive receive behavior while old nodes are still transmitting with
the legacy host identity.

4. Network policies must be audited to ensure policies no longer allow on the
old behavior of the host entity allowing from all nodes in the cluster.
After this step has been completed, remote node identity policy can be
enabled by setting ``enable-remote-node-identity: true``.
Copy link
Member

Choose a reason for hiding this comment

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

I wonder whether there is a practical difference to splitting these into separate steps or whether they could be combined together? Until step 4 is executed, from a policy perspective, allows "from host" will still allow traffic from remote nodes.

@joestringer
Copy link
Member

test-docs-please

@joestringer joestringer merged commit d7ca75c into v1.7 Sep 2, 2020
@joestringer joestringer deleted the pr/tgraf/1.7-remote-node-upgrade branch September 2, 2020 00:36
@joestringer
Copy link
Member

We can iterate further on top if necessary, merged.

It likely also makes sense for us to revisit forward-porting these docs changes to master / v1.8 given that these instructions are also present there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants