Application namespaces¶
To deploy a (micro) service, usually a Paas would be extended by one or more namespaces. Mostly these namespaces would be used for running the actual application components. All application namespaces use a combined quota belonging specifically to this Paas.
Setting Paas application namespace quota¶
Each Paas spec has a required
field for specifying quota.
Each quota has a name referring to the exact Resource Type
and has a value defined as a k8s Resource Quantity.
This setting is applied to a Cluster Resource Quota which is applied to all application namespaces created for this Paas.
Note
Capabilities have their own separate quotas which can be set from the capability block of a Paas. Capability quotas do not need to be included in the application quota.
Example
Adding namespaces in the Paas spec¶
It is possible to define a list of extra namespaces to be created within the Paas. These can be used for various purposes like dev, test and prod or for example a team member's personal test.
These namespaces count towards the global quota requested by the Paas.
Example
Adding PaasNs resources¶
Alternatively, a PaasNs resource could be added to a namespace belonging to the Paas. Read more about this feature in the PaasNs documentation.