OCP4: Custom Annotations applied to EgressIP objects are removed automatically

Solution Verified - Updated -

Issue

  • EgressIP objects with custom annotations are observed to have the value replaced/removed after some time:
apiVersion: v1
items:
- apiVersion: k8s.ovn.org/v1
  kind: EgressIP
  metadata:
    annotations:
      test-annotation: "true" ##<---
    name: eip-testing
  • After reconciliation, the controller replaces/removes the annotation with a managed value:
apiVersion: v1
items:
- apiVersion: k8s.ovn.org/v1
  kind: EgressIP
  metadata:
    annotations:
      k8s.ovn.org/egressip-mark: "50000" ##<--- test annotation replaced
    name: eip-testing

Environment

  • Red Hat OpenShift container Platform (RHOCP) 4
  • OVN-Kubernetes

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content