eu-nebulous / nebulous

The main repository of the NebulOuS Meta Operating System project.
https://nebulouscloud.eu
Mozilla Public License 2.0
0 stars 0 forks source link

[TC_35] Enforcement of Ingress and Egress Network Policies in Kubernetes #54

Open jchmielewska opened 2 months ago

jchmielewska commented 2 months ago

Objective:

Preconditions:

Steps:

  1. Action:
    • Define and apply an ingress network policy for a pod (e.g., nginx-pod) that allows traffic only from a certain namespace (e.g., internal) on a specific port (e.g., 80).

Expected result:

  1. Action:
    • Test the ingress policy by sending traffic to nginx-pod from a pod within the internal namespace and then from a pod outside this namespace.

Expected result:

  1. Action:
    • Define and apply an egress network policy for another pod (e.g., backend-pod) that restricts outbound traffic to a specific external IP address range.

Expected result:

  1. Action:
    • Test the egress policy by attempting to connect from backend-pod to an allowed external IP address and then to a disallowed IP address.

Expected result:

jchmielewska commented 2 months ago
jchmielewska commented 2 months ago

for the 2nd release