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 laterInformation in this document applies to any platform.
Symptoms
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.
Cause
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
Symptoms |
Cause |
Solution |