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: fixes markdown in hostnet policy troubleshooting #13146

Merged
merged 2 commits into from
Sep 30, 2020

Conversation

jedsalazar
Copy link
Contributor

Signed-off-by: Jed Salazar jed@isovalent.com

Signed-off-by: Jed Salazar jed@isovalent.com
@jedsalazar jedsalazar requested a review from a team as a code owner September 10, 2020 22:02
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Sep 10, 2020
@joestringer joestringer added needs-backport/1.8 release-note/misc This PR makes changes that have no direct user impact. labels Sep 10, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Sep 10, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.4 Sep 10, 2020
@@ -1124,7 +1124,7 @@ is labeled correctly in your environment. In the example configuration, you can
run ``kubectl get nodes -o wide|grep type=ingress-worker`` to verify labels
match the policy.

You can verify the policy was properly parsed and applied by ``exec``ing into
You can verify the policy was applied by running ``kubectl exec`` in
Copy link
Member

Choose a reason for hiding this comment

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

This new wording can be read as "run kubectl inside the cilium agent pod", which doesn't make sense since kubectl isn't available there. Is it important for us to even mention execing or pods here or just say "Run cilium policy get..."?

If we think this should still be here, maybe we can clarify the wording a bit more, such as:

Suggested change
You can verify the policy was applied by running ``kubectl exec`` in
You can verify the policy was applied by running ``kubectl exec -n $CILIUM_NAMESPACE cilium-xxxx cilium policy get`` for the cilium pod ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed the wording to be more clear per your suggestion but I'm open to making further changes. I was intending to assume no prior knowledge so I included the exec command in full in your example. Let me know if I should revert to something simpler.

Signed-off-by: Jed Salazar jed@isovalent.com
@jedsalazar jedsalazar changed the title fixes markdown in hostnet policy troubleshooting doc: fixes markdown in hostnet policy troubleshooting Sep 17, 2020
@joestringer joestringer removed this from Needs backport from master in 1.8.4 Sep 30, 2020
@joestringer joestringer added this to Needs backport from master in 1.8.5 Sep 30, 2020
@joestringer joestringer merged commit 062c942 into cilium:master Sep 30, 2020
@tklauser tklauser moved this from Needs backport from master to Backport done to v1.8 in 1.8.5 Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.8.5
Backport done to v1.8
Development

Successfully merging this pull request may close these issues.

None yet

4 participants