My Oracle Support Banner

Kubernetes deployment fails: Failed to execute apply manifest. Error Message: io.kubernetes.client.openapi.ApiException - OCI DevOps Deployment (Doc ID 2776944.1)

Last updated on JULY 05, 2021

Applies to:

Oracle Cloud Infrastructure DevOps - Version N/A and later
Information in this document applies to any platform.


The Oracle Kubernetes Engine (OKE) deployment fails with the following error: 

"Failed to execute apply manifest. Error Message: io.kubernetes.client.openapi.ApiException: class V1Status {\n apiVersion: v1\n code: 500\n details: null\n kind: Status\n message: failed to create typed patch object: .spec.ports: element 0: associative list with keys has an element that omits key field \"protocol\"\n metadata: class V1ListMeta {\n _continue: null\n remainingItemCount: null\n resourceVersion: null\n selfLink: null\n }\n reason: null\n status: Failure\n} Will Retry.."

If you try same manifest from Kubectl CLI with --server-side flag, the Kubernetes deployment fails and the same error message appears.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.