Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.53 KB

1_dev_scoped.md

File metadata and controls

46 lines (30 loc) · 1.53 KB

Create/Update developer focused NetworkPolicy API

To get more context on this document please refer to this original proposal.

Summary

Simplify application developer focused NetworkPolicy APIs.

Motivation

The current NetworkPolicy API is confusing to users in the following ways:

  • Misunderstanding of the default behavior (the difference in the semantics of the default ingress and egress policies dont help)
  • Unable to understand the impact of the NetworkPolicy

In addition to the lack of clarity, some use cases documented hint at adding more features to the NetworkPolicy API to assist developers in protecting their workloads.

Goals

The goals of this initiative are to enhance the developer focused NetworkPolicy APIs. This could be achieved in the following two ways:

  • Add new features to the existing NetworkPolicy API which are additive and can be added without backwards incompatibility
  • Alternatively, create a new Application NetworkPolicy resource which gets rid of all the defaults of the prior definition and adds new features according to the user stories collected

Non-Goals

  • Add features that may be required by a cluster administrator
  • Add a CLI/devOps tool to gain more visibility in traffic pattern

User Stories

Please refer to this doc for detailed developer focused user stories collected from the community.

Design Details

Alternatives