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 29, 2018

Applies to:

Linux OS - Version Oracle Linux 7.2 with Unbreakable Enterprise Kerne [4.1.12] and later
Linux x86-64

Symptoms

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

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms