Openshift Projects (Namespaces)
|
July 21, 2019
|
Development,
Kubernetes
A project is a kubernetes namespace with additional annotations. This is where user put their apps. Each project is isolated from other projects.
Each project has
-
objects - pods, services, replication controllers etc
-
policies - rules which users can or cannot perform actions
-
constraints - quotas and limits
-
service accounts
commands
-
oc new-project <project-name> --display-name="<display name for project" -- description="full description"
-
oc adm policy add-role-to-user admin <user> -n <project-name> (or be in the project)
-
oc delete project <project-name> *removes projects and all objects associated with it
