Class Namespace

  • All Implemented Interfaces:
    IApiEndpoint, IApiResource, INamespaceSelector, INetworkPolicyPeer, IResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-20T02:42:01.893Z")
    @Stability(Stable)
    public class Namespace
    extends Resource
    implements INamespaceSelector, INetworkPolicyPeer
    In Kubernetes, namespaces provides a mechanism for isolating groups of resources within a single cluster.

    Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc) and not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc).