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

Add NetworkPolicy component #34

Open
AlexisNeveu opened this issue Sep 12, 2024 · 0 comments · May be fixed by #36
Open

Add NetworkPolicy component #34

AlexisNeveu opened this issue Sep 12, 2024 · 0 comments · May be fixed by #36
Assignees

Comments

@AlexisNeveu
Copy link

AlexisNeveu commented Sep 12, 2024

Description

As a User,

I want To have NetworkPolicy components in the Kub plugin

so that I can use them in the draw view and cover the most frequent cases.

A NetworkPolicy in Kubernetes is a resource used to control the traffic flow to and from a pod. It allows you to define rules for what kind of traffic is allowed, based on labels, namespaces, and IP addresses. Here is a basic NetworkPolicy component as it should be created when drag and dropping one from the draw view:

Image

Here is an example of the smallest valid NetworkPolicy that selects all pods in the default namespace but doesn't explicitly define any rules (effectively blocking all ingress and egress traffic), all other fields are optional:

apiVersion: networking.k8s.io/v1

kind: NetworkPolicy

metadata:

name: deny-all

spec:

podSelector: {}

@AlexisNeveu AlexisNeveu changed the title Add NetworkPolicies component Add NetworkPolicy component Sep 12, 2024
@AlexisNeveu AlexisNeveu linked a pull request Oct 8, 2024 that will close this issue
@AlexisNeveu AlexisNeveu self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant