Skip to content

Improvement for k8s.io/docs/concepts/services-networking/network-policies/ #48497

@Ostromix

Description

@Ostromix

K8s documentation in some places has a good description. Some even with great explanations and varios usable examples. But not in this part....
I as new user of k8s, after first read of this part of documentation trying to apply simple rule.
For example - open connect to some pod on 3306 to other pod on port 80, and access to someserver via ipBlock.
Do i need to set ingress and egress, can i combine rules as list, and how to do it right?

And i have no idea how to make it rigth. Of course, after reading some other information from other portals and watching youtube, i made this rule.

But....why i need documentation that incomplete, unclear and without good examples?

Can you make some popular examples in documentation? Please.
FOR example. 100% popular example with webapp and 8080 port, mysql with 3306, in one example rule and some restricted webapp on 443 port, and backup server in ip range? And add some mandatory rules like 53 for DNS and other.
Or other popular usecases. Like python app with rabbit, or elastic....a lot of them.

As for me - it was easier to understood NP from medium, than from this documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    language/enIssues or PRs related to English languagelifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions