My Oracle Support Banner

OLCNE/OCSK: 'kubectl' Commands to Create Reources Fails with "Error from server (Forbidden): Error When creating "XX.yaml": deployments.apps is forbidden: User "system:node:kubernetes" cannot create deployments.apps in the namespace "default"" (Doc ID 2354472.1)

Last updated on MAY 03, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

kubectl operations (such as create a Deployment/Pod, list component status, namespace, replication controller etc.,) fail with "Error from server (Forbidden)", "xxxxxxx is forbidden".

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


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