cloudfoundry / stratos

Stratos: Web-based Management UI for Cloud Foundry and Kubernetes
Apache License 2.0
251 stars 133 forks source link

support for network policies #4058

Open anishp55 opened 5 years ago

anishp55 commented 5 years ago

Frontend Deployment type

Backend (Jet Stream) Deployment type

Detailed Description

support for configuring and displaying network policies.

Context

this is useful for auditors or people unfamiliar with the CLI to get a quick view of network policies for C2C networking, and possible edit them.

Possible Implementation

implement a networks tab that has this detail (the T is for trash/delete)

+-------------------------------------------------------------------------------+---+
|   Source App        |    Destination App        |    Protocol     | Port(s)   | T |
+-------------------------------------------------------------------------------+---+
|   App  a            |    App b                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
|   App  a            |    App c                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
|   App  b            |    App a                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
|   App  b            |    App c                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
|   App  c            |    App a                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
|   App  c            |    App b                  |    tcp          | 8080      |   |
+-------------------------------------------------------------------------------+---+
richard-cox commented 5 years ago

This would be a cool feature to implement. There's some things we need to investigate though

anishp55 commented 5 years ago

are there any talks on how container to container networking will be handled on Erini? is there a strawman implementation currently that we can look at as a reference?

richard-cox commented 4 years ago

I'm not familiar with the plans, however do know that it's currently not supported in v1