Jump to navigation ↓

Namespace core/v1

Namespace provides a scope for Names. Use of multiple namespaces is optional.

Fields

apiVersion: v1
kind: Namespace
metadata (ObjectMeta)

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

spec (NamespaceSpec)

Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

status (NamespaceStatus)

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

NamespaceSpec

NamespaceSpec describes the attributes on a Namespace.

finalizers ([]string)

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/

NamespaceStatus

NamespaceStatus is information about the current status of a Namespace.

conditions ([]NamespaceCondition)

Represents the latest available observations of a namespace's current state.

phase (string)

Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

NamespaceCondition

NamespaceCondition contains details about state of namespace.

status (string)

Status of the condition, one of True, False, Unknown.

type (string)

Type of namespace controller condition.

lastTransitionTime (Time)

Last time the condition transitioned from one status to another.

message (string)

Human-readable message indicating details about last transition.

reason (string)

Unique, one-word, CamelCase reason for the condition's last transition.

NamespaceList

NamespaceList is a list of Namespaces.

apiVersion: v1
kind: NamespaceList
metadata (ListMeta)

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

items ([]Namespace)

Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/