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

AdminNetworkPolicy support #2091

Closed
abhiraut opened this issue Oct 8, 2020 · 42 comments
Closed

AdminNetworkPolicy support #2091

abhiraut opened this issue Oct 8, 2020 · 42 comments
Assignees
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/network Categorizes an issue or PR as relevant to SIG Network. tracked/out-of-tree Denotes an out-of-tree enhancement issue, which does not need to be tracked by the Release Team

Comments

@abhiraut
Copy link
Contributor

abhiraut commented Oct 8, 2020

Enhancement Description

Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.

/sig network

@k8s-ci-robot k8s-ci-robot added the sig/network Categorizes an issue or PR as relevant to SIG Network. label Oct 8, 2020
@abhiraut
Copy link
Contributor Author

abhiraut commented Oct 8, 2020

/cc @andrewsykim @jayunit100 @rikatz

@kikisdeliveryservice kikisdeliveryservice added the tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team label Oct 9, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 13, 2021
@abhiraut
Copy link
Contributor Author

We are actively working on a proposal for this and a KEP should be submitted for review soon.

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 13, 2021
@jayunit100
Copy link
Member

can you post a link to the ongoing design work in here @abhiraut ?

@rikatz
Copy link
Contributor

rikatz commented Jan 25, 2021

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Jan 25, 2021
@abhiraut abhiraut changed the title Allow expressing administrator intent using a cluster scoped NetworkPolicy Allow expressing administrator intent using a Cluster scoped NetworkPolicy Feb 18, 2021
@thockin thockin changed the title Allow expressing administrator intent using a Cluster scoped NetworkPolicy Cluster scoped NetworkPolicy Apr 30, 2021
@abhiraut
Copy link
Contributor Author

@thockin you can find the KEP here -> #2522
I now updated this issue with the KEP link as well.

@abhiraut
Copy link
Contributor Author

Update from 6/10/21 sig-network meeting:

  • Get reviews from sig-network folks on user stories -> https://github.com/kubernetes-sigs/network-policy-api/pulls (added some folks on individual PRs)
  • Need to close on some fundamental disagreements:
    -- IPBlock (external traffic; original source IP or follow NetworkPolicy v1)
    -- DNP CRD to solve weak (default) security rules or pick one of the alternatives suggested in the KEP
    -- Allow, Deny with Exceptions (authorize) model works for everyone? or Priority based or NP like whitelist

@abhiraut
Copy link
Contributor Author

Most recent commits address the following:

Update in semantics from Authorize to Empower (no longer allowed but rather bypasses the Deny as exceptions)
updates to user stories
updates to Namespaces struct to include matching strategies -> Self, SameLabels; Selector
updates to KEP timelines/milestones

Key outstanding issues:

IPBlock external traffic -> we shall discuss this in sig-network for all things Netpol
Get feedback on `Empower`, `Deny` and `Allow` actions for CNP
Is "namespace user CAN override cluster admin rules" a valid use case to solve with this KEP? If yes, is DNP CRD overkill or we want to explore the alternatives suggested with a single CRD.

@thockin
Copy link
Member

thockin commented Sep 3, 2021

For the record: this is NOT flagged for 1.23

@abhiraut
Copy link
Contributor Author

abhiraut commented Sep 3, 2021

updated release targets

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. and removed lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. labels Dec 2, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@gracenng gracenng added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Mar 30, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. and removed lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. labels Jun 28, 2022
@rikatz
Copy link
Contributor

rikatz commented Jun 28, 2022

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 28, 2022
@thockin
Copy link
Member

thockin commented Sep 29, 2022

Not really release-locked (yet?)

@astoycos
Copy link

should we track this somewhere else @thockin? How did gateway-api go about this?

@thockin
Copy link
Member

thockin commented Jan 5, 2023

Status: waiting on implementations. It's all out-of-tree so no milestone needed yet?

@adibraver
Copy link

Hello All. I am interested in using the AdminNetworkPolicy. I see that its status is "frozen". What does this mean in practice? Is it something I can use and rely on for the future? Thanks!

@tssurya
Copy link

tssurya commented Mar 12, 2023

Hello All. I am interested in using the AdminNetworkPolicy. I see that its status is "frozen". What does this mean in practice? Is it something I can use and rely on for the future? Thanks!

the v1alpha1 API for ANP is here: https://github.com/kubernetes-sigs/network-policy-api ; anyone can use it provided the CNI implements it.

@Atharva-Shinde Atharva-Shinde removed the tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team label May 14, 2023
@astoycos
Copy link

@thockin I think we should close this issue, since AdminNetworkPolicy is being implemented and tracked out of tree at https://github.com/kubernetes-sigs/network-policy-api

@thockin
Copy link
Member

thockin commented Jun 26, 2024

I have been meaning to figure out how we want to track it. Happy to close this.

@thockin thockin closed this as completed Jun 26, 2024
@aauren
Copy link

aauren commented Jun 26, 2024

Is there another issue in https://github.com/kubernetes-sigs/network-policy-api where we can easily watch for updates on this? I'm very interested in this effort and it would be good to have a centralized place where I can get email updates as progress occures.

@aojea
Copy link
Member

aojea commented Jun 27, 2024

@aauren sync wiht @astoycos and @tssurya and @npinaeva , they have periodic meetings and there is also a slack channel

@tssurya
Copy link

tssurya commented Jun 27, 2024

@aauren : Added you to slack channel.. let us know if you have any questions. Also see https://network-policy-api.sigs.k8s.io/

@aauren
Copy link

aauren commented Jun 27, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/network Categorizes an issue or PR as relevant to SIG Network. tracked/out-of-tree Denotes an out-of-tree enhancement issue, which does not need to be tracked by the Release Team
Projects
Status: No status
Development

No branches or pull requests