k8s-bigip-ctlr
k8s-bigip-ctlr copied to clipboard
Ingress support partition annotation when using as3 agent
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.
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.
@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 - Partition support in CRDs is a WIP (~ CIS 2.8). For Ingress partition support we need to investigate. Consider this requirement as a spike.
Thanks @trinaths @mdditt2000
Created CONTCNTR-3053 for investigating this issue.
Feature added to CIS 2.12. See PR https://github.com/F5Networks/k8s-bigip-ctlr/pull/2722/files and JIRA CONTCNTR-3128