Conflict error occurs in PDB when the same resource name is used in KafkaConnect and KafkaConnectS2I

Solution Verified - Updated -

Issue

  • Conflict error occurs in PDB when the same resource name is used in KafkaConnect and KafkaConnectS2I
    • The PDB naming conventions are the same for KafkaConnect and KafkaConnectS2I: -connect
    • "Failed to sync pdb" error(1) occurs continuously due to the conflict of PDB.

(1) PDB error

Failed to sync pdb kafka-example-project/my-connect-cluster-connect: 
Operation cannot be fulfilled on poddisruptionbudgets.policy "my-connect-cluster-connect": StorageError:
invalid object, Code: 4, Key: /kubernetes.io/poddisruptionbudgets/kafka-example-project/my-connect-cluster-connect,
ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 9xxx9999-9x99-99xx-9x99-99xx99xx9x99,
UID in object meta:

Environment

  • Red Hat AMQ Streams 1.4 on OpenShift

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