OpenShift REST Resource Definition Schema: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:


{{External|https://docs.openshift.com/container-platform/latest/rest_api/openshift_v1.html#v1-objectmeta}}
{{External|https://docs.openshift.com/container-platform/latest/rest_api/openshift_v1.html#v1-objectmeta}}
==labels==
Map of key/value pairs that can be used to organize and categorize objects. The are used as arguments for selectors.
==annotations==

Revision as of 18:31, 23 November 2017

Internal

apiVersion

'apiVersion' specifies the versioned schema of the representation of the object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values.

kind

A CamelCase string representing the REST resource. Servers may infer this from the endpoint the client submits requests to. Cannot be updated in the representation.

metadata

https://docs.openshift.com/container-platform/latest/rest_api/openshift_v1.html#v1-objectmeta

labels

Map of key/value pairs that can be used to organize and categorize objects. The are used as arguments for selectors.

annotations