Let's inspect our new namespace a bit more. Run the describe command as follows:
$ kubectl describe namespace/test
The following screenshot is the result of the preceding command:
Kubernetes allows you to both limit the resources used by individual pods or containers and the resources used by the overall namespace using quotas. You'll note that there are no resource limits or quotas currently set on the test namespace.
Suppose we want to limit the footprint of this new namespace; we can set quotas such as the following:
apiVersion: v1 kind: ResourceQuota metadata: name: test-quotas namespace: test spec: hard: ...