k8s-bigip-ctlr icon indicating copy to clipboard operation
k8s-bigip-ctlr copied to clipboard

Ingress support partition annotation when using as3 agent

Open myf5 opened this issue 3 years ago • 5 comments

Title

Ingress support partition annotation when using as3 agent

Description

There is Ingress annotation "virtual-server.f5.com/partition" currently, but it is no effect when using as3 agent. Request enable this feature in as3 mode.

Actual Problem

The current Ingress provides the Partion option in Annotation, but it does not take effect after Ingress is applied, and the default Partion which in the configuraton of CIS will be used. In the customer's design of K8S cluster, each project team has a Namespace, and each Namespace corresponds a Partition on the VE. This issue resulted in customers not being able to accurately distinguish between applications which distributed through ingress. The customers expect that the Ingress can specify the Partion which is configured in Annotation. If the Parttion is not specified, the default Partititon is used.

Solution Proposed

Ingress support partition annotation when using as3 agent. Using the default partition that controller specified if no the annotation.

Alternatives

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

myf5 avatar Nov 16 '21 01:11 myf5

This issue resulted in customers not being able to accurately distinguish between applications which distributed through ingress. As a result, all applications which published by the project team through ingress are in the same Partition, which is deviate from the customer's K8S management plan.

gazhuchao avatar Nov 16 '21 01:11 gazhuchao

@trinaths in review only for CRDs? Or will Ingress also be covered. I dont believe but want to validate. I will can create a demo once Image is available

mdditt2000 avatar Nov 30 '21 22:11 mdditt2000

@mdditt2000 - Partition support in CRDs is a WIP (~ CIS 2.8). For Ingress partition support we need to investigate. Consider this requirement as a spike.

trinaths avatar Dec 01 '21 05:12 trinaths

Thanks @trinaths @mdditt2000

myf5 avatar Dec 01 '21 09:12 myf5

Created CONTCNTR-3053 for investigating this issue.

trinaths avatar Dec 08 '21 07:12 trinaths

Feature added to CIS 2.12. See PR https://github.com/F5Networks/k8s-bigip-ctlr/pull/2722/files and JIRA CONTCNTR-3128

trinaths avatar Feb 02 '23 18:02 trinaths