Namespace [page]deterministic
Namespace provides a scope for Names. Use of multiple namespaces is optional.
`apiVersion: v1`
`import "k8s.io/api/core/v1"`
## Namespace {#Namespace}
Namespace provides a scope for Names. Use of multiple namespaces is optional.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">NamespaceSpec</a></em></td> <td>Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> <tr> <td><code>status</code><br/><em><a href="">NamespaceStatus</a></em></td> <td>Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> </tbody> </table>
## NamespaceSpec {#NamespaceSpec}
NamespaceSpec describes the attributes on a Namespace.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>finalizers</code><br/><em>string array</em></td> <td>Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/</td> </tr> </tbody> </table>
## NamespaceStatus {#NamespaceStatus}
NamespaceStatus is information about the current status of a Namespace.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>conditions</code><br/><em><a href="">NamespaceCondition array</a></em><br/><em>patch strategy: merge on key <code>type</code></em></td> <td>Represents the latest available observations of a namespace's current state.</td> </tr> <tr> <td><code>phase</code><br/><em>string</em></td> <td>Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/<br/><br/>Possible enum values:<br/> - `"Active"` means the namespace is available for use in the system<br/> - `"Terminating"` means the namespace is undergoing graceful termination</td> </tr> </tbody> </table>
## NamespaceList {#NamespaceList}
NamespaceList is a list of Namespaces.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>items</code> <strong>*</strong><br/><em><a href="">Namespace array</a></em></td> <td>Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/</td> </tr> <tr> <t …(trimmed)