このコンテンツは選択した言語では利用できません。

Chapter 3. Kubernetes v1 REST API


3.1. Overview

The Kubernetes API allows you to run containerized applications, bind persistent storage, link those applications through service discovery, and manage the cluster infrastructure.

3.1.1. Version information

Version: v1

3.1.2. URI scheme

Host: 127.0.0.1:8443
BasePath: /
Schemes: HTTPS

3.2. Paths

3.2.1. get available resources

GET /api/v1

3.2.1.1. Responses

HTTP CodeDescriptionSchema

default

success

Section 2.3.5, “unversioned.APIResourceList”

3.2.1.2. Consumes

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.1.3. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.1.4. Tags

  • apiv1

3.2.2. create a Binding

POST /api/v1/bindings

3.2.2.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.16, “v1.Binding”

 

3.2.2.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.16, “v1.Binding”

3.2.2.3. Consumes

  • /

3.2.2.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.2.5. Tags

  • apiv1

3.2.3. list objects of kind ComponentStatus

GET /api/v1/componentstatuses

3.2.3.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.3.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.23, “v1.ComponentStatusList”

3.2.3.3. Consumes

  • /

3.2.3.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.3.5. Tags

  • apiv1

3.2.4. read the specified ComponentStatus

GET /api/v1/componentstatuses/{name}

3.2.4.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

name

name of the ComponentStatus

true

string

 

3.2.4.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.22, “v1.ComponentStatus”

3.2.4.3. Consumes

  • /

3.2.4.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.4.5. Tags

  • apiv1

3.2.5. list or watch objects of kind ConfigMap

GET /api/v1/configmaps

3.2.5.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.5.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.26, “v1.ConfigMapList”

3.2.5.3. Consumes

  • /

3.2.5.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.5.5. Tags

  • apiv1

3.2.6. create a ConfigMap

POST /api/v1/configmaps

3.2.6.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.24, “v1.ConfigMap”

 

3.2.6.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.24, “v1.ConfigMap”

3.2.6.3. Consumes

  • /

3.2.6.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.6.5. Tags

  • apiv1

3.2.7. list or watch objects of kind Endpoints

GET /api/v1/endpoints

3.2.7.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.7.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.47, “v1.EndpointsList”

3.2.7.3. Consumes

  • /

3.2.7.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.7.5. Tags

  • apiv1

3.2.8. create Endpoints

POST /api/v1/endpoints

3.2.8.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.46, “v1.Endpoints”

 

3.2.8.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.46, “v1.Endpoints”

3.2.8.3. Consumes

  • /

3.2.8.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.8.5. Tags

  • apiv1

3.2.9. list or watch objects of kind Event

GET /api/v1/events

3.2.9.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.9.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.51, “v1.EventList”

3.2.9.3. Consumes

  • /

3.2.9.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.9.5. Tags

  • apiv1

3.2.10. create an Event

POST /api/v1/events

3.2.10.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.50, “v1.Event”

 

3.2.10.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.50, “v1.Event”

3.2.10.3. Consumes

  • /

3.2.10.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.10.5. Tags

  • apiv1

3.2.11. list or watch objects of kind LimitRange

GET /api/v1/limitranges

3.2.11.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.11.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.73, “v1.LimitRangeList”

3.2.11.3. Consumes

  • /

3.2.11.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.11.5. Tags

  • apiv1

3.2.12. create a LimitRange

POST /api/v1/limitranges

3.2.12.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.71, “v1.LimitRange”

 

3.2.12.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.71, “v1.LimitRange”

3.2.12.3. Consumes

  • /

3.2.12.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.12.5. Tags

  • apiv1

3.2.13. delete collection of Namespace

DELETE /api/v1/namespaces

3.2.13.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.13.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.13.3. Consumes

  • /

3.2.13.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.13.5. Tags

  • apiv1

3.2.14. list or watch objects of kind Namespace

GET /api/v1/namespaces

3.2.14.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.14.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.80, “v1.NamespaceList”

3.2.14.3. Consumes

  • /

3.2.14.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.14.5. Tags

  • apiv1

3.2.15. create a Namespace

POST /api/v1/namespaces

3.2.15.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.79, “v1.Namespace”

 

3.2.15.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.15.3. Consumes

  • /

3.2.15.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.15.5. Tags

  • apiv1

3.2.16. create a Binding

POST /api/v1/namespaces/{namespace}/bindings

3.2.16.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.16, “v1.Binding”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.16.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.16, “v1.Binding”

3.2.16.3. Consumes

  • /

3.2.16.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.16.5. Tags

  • apiv1

3.2.17. delete collection of ConfigMap

DELETE /api/v1/namespaces/{namespace}/configmaps

3.2.17.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.17.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.17.3. Consumes

  • /

3.2.17.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.17.5. Tags

  • apiv1

3.2.18. list or watch objects of kind ConfigMap

GET /api/v1/namespaces/{namespace}/configmaps

3.2.18.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.18.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.26, “v1.ConfigMapList”

3.2.18.3. Consumes

  • /

3.2.18.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.18.5. Tags

  • apiv1

3.2.19. create a ConfigMap

POST /api/v1/namespaces/{namespace}/configmaps

3.2.19.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.24, “v1.ConfigMap”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.19.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.24, “v1.ConfigMap”

3.2.19.3. Consumes

  • /

3.2.19.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.19.5. Tags

  • apiv1

3.2.20. delete a ConfigMap

DELETE /api/v1/namespaces/{namespace}/configmaps/{name}

3.2.20.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ConfigMap

true

string

 

3.2.20.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.20.3. Consumes

  • /

3.2.20.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.20.5. Tags

  • apiv1

3.2.21. replace the specified ConfigMap

PUT /api/v1/namespaces/{namespace}/configmaps/{name}

3.2.21.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.24, “v1.ConfigMap”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ConfigMap

true

string

 

3.2.21.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.24, “v1.ConfigMap”

3.2.21.3. Consumes

  • /

3.2.21.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.21.5. Tags

  • apiv1

3.2.22. read the specified ConfigMap

GET /api/v1/namespaces/{namespace}/configmaps/{name}

3.2.22.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ConfigMap

true

string

 

3.2.22.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.24, “v1.ConfigMap”

3.2.22.3. Consumes

  • /

3.2.22.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.22.5. Tags

  • apiv1

3.2.23. partially update the specified ConfigMap

PATCH /api/v1/namespaces/{namespace}/configmaps/{name}

3.2.23.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ConfigMap

true

string

 

3.2.23.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.24, “v1.ConfigMap”

3.2.23.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.23.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.23.5. Tags

  • apiv1

3.2.24. delete collection of Endpoints

DELETE /api/v1/namespaces/{namespace}/endpoints

3.2.24.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.24.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.24.3. Consumes

  • /

3.2.24.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.24.5. Tags

  • apiv1

3.2.25. list or watch objects of kind Endpoints

GET /api/v1/namespaces/{namespace}/endpoints

3.2.25.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.25.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.47, “v1.EndpointsList”

3.2.25.3. Consumes

  • /

3.2.25.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.25.5. Tags

  • apiv1

3.2.26. create Endpoints

POST /api/v1/namespaces/{namespace}/endpoints

3.2.26.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.46, “v1.Endpoints”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.26.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.46, “v1.Endpoints”

3.2.26.3. Consumes

  • /

3.2.26.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.26.5. Tags

  • apiv1

3.2.27. delete Endpoints

DELETE /api/v1/namespaces/{namespace}/endpoints/{name}

3.2.27.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Endpoints

true

string

 

3.2.27.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.27.3. Consumes

  • /

3.2.27.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.27.5. Tags

  • apiv1

3.2.28. replace the specified Endpoints

PUT /api/v1/namespaces/{namespace}/endpoints/{name}

3.2.28.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.46, “v1.Endpoints”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Endpoints

true

string

 

3.2.28.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.46, “v1.Endpoints”

3.2.28.3. Consumes

  • /

3.2.28.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.28.5. Tags

  • apiv1

3.2.29. read the specified Endpoints

GET /api/v1/namespaces/{namespace}/endpoints/{name}

3.2.29.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Endpoints

true

string

 

3.2.29.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.46, “v1.Endpoints”

3.2.29.3. Consumes

  • /

3.2.29.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.29.5. Tags

  • apiv1

3.2.30. partially update the specified Endpoints

PATCH /api/v1/namespaces/{namespace}/endpoints/{name}

3.2.30.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Endpoints

true

string

 

3.2.30.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.46, “v1.Endpoints”

3.2.30.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.30.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.30.5. Tags

  • apiv1

3.2.31. delete collection of Event

DELETE /api/v1/namespaces/{namespace}/events

3.2.31.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.31.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.31.3. Consumes

  • /

3.2.31.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.31.5. Tags

  • apiv1

3.2.32. list or watch objects of kind Event

GET /api/v1/namespaces/{namespace}/events

3.2.32.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.32.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.51, “v1.EventList”

3.2.32.3. Consumes

  • /

3.2.32.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.32.5. Tags

  • apiv1

3.2.33. create an Event

POST /api/v1/namespaces/{namespace}/events

3.2.33.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.50, “v1.Event”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.33.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.50, “v1.Event”

3.2.33.3. Consumes

  • /

3.2.33.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.33.5. Tags

  • apiv1

3.2.34. delete an Event

DELETE /api/v1/namespaces/{namespace}/events/{name}

3.2.34.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Event

true

string

 

3.2.34.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.34.3. Consumes

  • /

3.2.34.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.34.5. Tags

  • apiv1

3.2.35. replace the specified Event

PUT /api/v1/namespaces/{namespace}/events/{name}

3.2.35.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.50, “v1.Event”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Event

true

string

 

3.2.35.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.50, “v1.Event”

3.2.35.3. Consumes

  • /

3.2.35.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.35.5. Tags

  • apiv1

3.2.36. read the specified Event

GET /api/v1/namespaces/{namespace}/events/{name}

3.2.36.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Event

true

string

 

3.2.36.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.50, “v1.Event”

3.2.36.3. Consumes

  • /

3.2.36.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.36.5. Tags

  • apiv1

3.2.37. partially update the specified Event

PATCH /api/v1/namespaces/{namespace}/events/{name}

3.2.37.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Event

true

string

 

3.2.37.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.50, “v1.Event”

3.2.37.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.37.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.37.5. Tags

  • apiv1

3.2.38. delete collection of LimitRange

DELETE /api/v1/namespaces/{namespace}/limitranges

3.2.38.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.38.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.38.3. Consumes

  • /

3.2.38.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.38.5. Tags

  • apiv1

3.2.39. list or watch objects of kind LimitRange

GET /api/v1/namespaces/{namespace}/limitranges

3.2.39.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.39.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.73, “v1.LimitRangeList”

3.2.39.3. Consumes

  • /

3.2.39.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.39.5. Tags

  • apiv1

3.2.40. create a LimitRange

POST /api/v1/namespaces/{namespace}/limitranges

3.2.40.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.71, “v1.LimitRange”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.40.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.71, “v1.LimitRange”

3.2.40.3. Consumes

  • /

3.2.40.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.40.5. Tags

  • apiv1

3.2.41. delete a LimitRange

DELETE /api/v1/namespaces/{namespace}/limitranges/{name}

3.2.41.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the LimitRange

true

string

 

3.2.41.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.41.3. Consumes

  • /

3.2.41.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.41.5. Tags

  • apiv1

3.2.42. replace the specified LimitRange

PUT /api/v1/namespaces/{namespace}/limitranges/{name}

3.2.42.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.71, “v1.LimitRange”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the LimitRange

true

string

 

3.2.42.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.71, “v1.LimitRange”

3.2.42.3. Consumes

  • /

3.2.42.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.42.5. Tags

  • apiv1

3.2.43. read the specified LimitRange

GET /api/v1/namespaces/{namespace}/limitranges/{name}

3.2.43.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the LimitRange

true

string

 

3.2.43.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.71, “v1.LimitRange”

3.2.43.3. Consumes

  • /

3.2.43.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.43.5. Tags

  • apiv1

3.2.44. partially update the specified LimitRange

PATCH /api/v1/namespaces/{namespace}/limitranges/{name}

3.2.44.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the LimitRange

true

string

 

3.2.44.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.71, “v1.LimitRange”

3.2.44.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.44.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.44.5. Tags

  • apiv1

3.2.45. delete collection of PersistentVolumeClaim

DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims

3.2.45.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.45.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.45.3. Consumes

  • /

3.2.45.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.45.5. Tags

  • apiv1

3.2.46. list or watch objects of kind PersistentVolumeClaim

GET /api/v1/namespaces/{namespace}/persistentvolumeclaims

3.2.46.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.46.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.98, “v1.PersistentVolumeClaimList”

3.2.46.3. Consumes

  • /

3.2.46.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.46.5. Tags

  • apiv1

3.2.47. create a PersistentVolumeClaim

POST /api/v1/namespaces/{namespace}/persistentvolumeclaims

3.2.47.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.97, “v1.PersistentVolumeClaim”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.47.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.47.3. Consumes

  • /

3.2.47.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.47.5. Tags

  • apiv1

3.2.48. delete a PersistentVolumeClaim

DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

3.2.48.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.48.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.48.3. Consumes

  • /

3.2.48.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.48.5. Tags

  • apiv1

3.2.49. replace the specified PersistentVolumeClaim

PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

3.2.49.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.97, “v1.PersistentVolumeClaim”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.49.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.49.3. Consumes

  • /

3.2.49.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.49.5. Tags

  • apiv1

3.2.50. read the specified PersistentVolumeClaim

GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

3.2.50.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.50.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.50.3. Consumes

  • /

3.2.50.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.50.5. Tags

  • apiv1

3.2.51. partially update the specified PersistentVolumeClaim

PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

3.2.51.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.51.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.51.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.51.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.51.5. Tags

  • apiv1

3.2.52. replace status of the specified PersistentVolumeClaim

PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status

3.2.52.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.97, “v1.PersistentVolumeClaim”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.52.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.52.3. Consumes

  • /

3.2.52.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.52.5. Tags

  • apiv1

3.2.53. read status of the specified PersistentVolumeClaim

GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status

3.2.53.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.53.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.53.3. Consumes

  • /

3.2.53.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.53.5. Tags

  • apiv1

3.2.54. partially update status of the specified PersistentVolumeClaim

PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status

3.2.54.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.54.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.54.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.54.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.54.5. Tags

  • apiv1

3.2.55. delete collection of Pod

DELETE /api/v1/namespaces/{namespace}/pods

3.2.55.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.55.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.55.3. Consumes

  • /

3.2.55.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.55.5. Tags

  • apiv1

3.2.56. list or watch objects of kind Pod

GET /api/v1/namespaces/{namespace}/pods

3.2.56.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.56.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.108, “v1.PodList”

3.2.56.3. Consumes

  • /

3.2.56.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.56.5. Tags

  • apiv1

3.2.57. create a Pod

POST /api/v1/namespaces/{namespace}/pods

3.2.57.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.106, “v1.Pod”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.57.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.57.3. Consumes

  • /

3.2.57.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.57.5. Tags

  • apiv1

3.2.58. delete a Pod

DELETE /api/v1/namespaces/{namespace}/pods/{name}

3.2.58.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.58.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.58.3. Consumes

  • /

3.2.58.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.58.5. Tags

  • apiv1

3.2.59. replace the specified Pod

PUT /api/v1/namespaces/{namespace}/pods/{name}

3.2.59.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.106, “v1.Pod”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.59.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.59.3. Consumes

  • /

3.2.59.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.59.5. Tags

  • apiv1

3.2.60. read the specified Pod

GET /api/v1/namespaces/{namespace}/pods/{name}

3.2.60.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.60.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.60.3. Consumes

  • /

3.2.60.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.60.5. Tags

  • apiv1

3.2.61. partially update the specified Pod

PATCH /api/v1/namespaces/{namespace}/pods/{name}

3.2.61.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.61.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.61.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.61.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.61.5. Tags

  • apiv1

3.2.62. connect GET requests to attach of Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/attach

3.2.62.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

stdin

Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.

false

boolean

 

QueryParameter

stdout

Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.

false

boolean

 

QueryParameter

stderr

Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.

false

boolean

 

QueryParameter

tty

TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.

false

boolean

 

QueryParameter

container

The container in which to execute the command. Defaults to only container if there is only one container in the pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.62.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.62.3. Consumes

  • /

3.2.62.4. Produces

  • /

3.2.62.5. Tags

  • apiv1

3.2.63. connect POST requests to attach of Pod

POST /api/v1/namespaces/{namespace}/pods/{name}/attach

3.2.63.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

stdin

Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.

false

boolean

 

QueryParameter

stdout

Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.

false

boolean

 

QueryParameter

stderr

Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.

false

boolean

 

QueryParameter

tty

TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.

false

boolean

 

QueryParameter

container

The container in which to execute the command. Defaults to only container if there is only one container in the pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.63.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.63.3. Consumes

  • /

3.2.63.4. Produces

  • /

3.2.63.5. Tags

  • apiv1

3.2.64. create binding of a Binding

POST /api/v1/namespaces/{namespace}/pods/{name}/binding

3.2.64.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.16, “v1.Binding”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Binding

true

string

 

3.2.64.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.16, “v1.Binding”

3.2.64.3. Consumes

  • /

3.2.64.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.64.5. Tags

  • apiv1

3.2.65. create eviction of an Eviction

POST /api/v1/namespaces/{namespace}/pods/{name}/eviction

3.2.65.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.157, “v1beta1.Eviction”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Eviction

true

string

 

3.2.65.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.157, “v1beta1.Eviction”

3.2.65.3. Consumes

  • /

3.2.65.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.65.5. Tags

  • apiv1

3.2.66. connect GET requests to exec of Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/exec

3.2.66.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

stdin

Redirect the standard input stream of the pod for this call. Defaults to false.

false

boolean

 

QueryParameter

stdout

Redirect the standard output stream of the pod for this call. Defaults to true.

false

boolean

 

QueryParameter

stderr

Redirect the standard error stream of the pod for this call. Defaults to true.

false

boolean

 

QueryParameter

tty

TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.

false

boolean

 

QueryParameter

container

Container in which to execute the command. Defaults to only container if there is only one container in the pod.

false

string

 

QueryParameter

command

Command is the remote command to execute. argv array. Not executed within a shell.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.66.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.66.3. Consumes

  • /

3.2.66.4. Produces

  • /

3.2.66.5. Tags

  • apiv1

3.2.67. connect POST requests to exec of Pod

POST /api/v1/namespaces/{namespace}/pods/{name}/exec

3.2.67.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

stdin

Redirect the standard input stream of the pod for this call. Defaults to false.

false

boolean

 

QueryParameter

stdout

Redirect the standard output stream of the pod for this call. Defaults to true.

false

boolean

 

QueryParameter

stderr

Redirect the standard error stream of the pod for this call. Defaults to true.

false

boolean

 

QueryParameter

tty

TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.

false

boolean

 

QueryParameter

container

Container in which to execute the command. Defaults to only container if there is only one container in the pod.

false

string

 

QueryParameter

command

Command is the remote command to execute. argv array. Not executed within a shell.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.67.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.67.3. Consumes

  • /

3.2.67.4. Produces

  • /

3.2.67.5. Tags

  • apiv1

3.2.68. read log of the specified Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/log

3.2.68.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

container

The container for which to stream logs. Defaults to only container if there is one container in the pod.

false

string

 

QueryParameter

follow

Follow the log stream of the pod. Defaults to false.

false

boolean

 

QueryParameter

previous

Return previous terminated container logs. Defaults to false.

false

boolean

 

QueryParameter

sinceSeconds

A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.

false

integer

 

QueryParameter

sinceTime

An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.

false

string

 

QueryParameter

timestamps

If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.

false

boolean

 

QueryParameter

tailLines

If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime

false

integer

 

QueryParameter

limitBytes

If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.68.2. Responses

HTTP CodeDescriptionSchema

200

success

string

3.2.68.3. Consumes

  • /

3.2.68.4. Produces

  • text/plain
  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.68.5. Tags

  • apiv1

3.2.69. connect GET requests to portforward of Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/portforward

3.2.69.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.69.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.69.3. Consumes

  • /

3.2.69.4. Produces

  • /

3.2.69.5. Tags

  • apiv1

3.2.70. connect POST requests to portforward of Pod

POST /api/v1/namespaces/{namespace}/pods/{name}/portforward

3.2.70.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.70.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.70.3. Consumes

  • /

3.2.70.4. Produces

  • /

3.2.70.5. Tags

  • apiv1

3.2.71. connect DELETE requests to proxy of Pod

DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.71.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.71.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.71.3. Consumes

  • /

3.2.71.4. Produces

  • /

3.2.71.5. Tags

  • apiv1

3.2.72. connect PUT requests to proxy of Pod

PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.72.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.72.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.72.3. Consumes

  • /

3.2.72.4. Produces

  • /

3.2.72.5. Tags

  • apiv1

3.2.73. connect GET requests to proxy of Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.73.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.73.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.73.3. Consumes

  • /

3.2.73.4. Produces

  • /

3.2.73.5. Tags

  • apiv1

3.2.74. connect POST requests to proxy of Pod

POST /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.74.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.74.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.74.3. Consumes

  • /

3.2.74.4. Produces

  • /

3.2.74.5. Tags

  • apiv1

3.2.75. connect HEAD requests to proxy of Pod

HEAD /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.75.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.75.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.75.3. Consumes

  • /

3.2.75.4. Produces

  • /

3.2.75.5. Tags

  • apiv1

3.2.76. connect OPTIONS requests to proxy of Pod

OPTIONS /api/v1/namespaces/{namespace}/pods/{name}/proxy

3.2.76.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.76.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.76.3. Consumes

  • /

3.2.76.4. Produces

  • /

3.2.76.5. Tags

  • apiv1

3.2.77. connect DELETE requests to proxy of Pod

DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.77.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.77.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.77.3. Consumes

  • /

3.2.77.4. Produces

  • /

3.2.77.5. Tags

  • apiv1

3.2.78. connect PUT requests to proxy of Pod

PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.78.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.78.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.78.3. Consumes

  • /

3.2.78.4. Produces

  • /

3.2.78.5. Tags

  • apiv1

3.2.79. connect GET requests to proxy of Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.79.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.79.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.79.3. Consumes

  • /

3.2.79.4. Produces

  • /

3.2.79.5. Tags

  • apiv1

3.2.80. connect POST requests to proxy of Pod

POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.80.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.80.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.80.3. Consumes

  • /

3.2.80.4. Produces

  • /

3.2.80.5. Tags

  • apiv1

3.2.81. connect HEAD requests to proxy of Pod

HEAD /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.81.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.81.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.81.3. Consumes

  • /

3.2.81.4. Produces

  • /

3.2.81.5. Tags

  • apiv1

3.2.82. connect OPTIONS requests to proxy of Pod

OPTIONS /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}

3.2.82.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to pod.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.82.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.82.3. Consumes

  • /

3.2.82.4. Produces

  • /

3.2.82.5. Tags

  • apiv1

3.2.83. replace status of the specified Pod

PUT /api/v1/namespaces/{namespace}/pods/{name}/status

3.2.83.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.106, “v1.Pod”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.83.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.83.3. Consumes

  • /

3.2.83.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.83.5. Tags

  • apiv1

3.2.84. read status of the specified Pod

GET /api/v1/namespaces/{namespace}/pods/{name}/status

3.2.84.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.84.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.84.3. Consumes

  • /

3.2.84.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.84.5. Tags

  • apiv1

3.2.85. partially update status of the specified Pod

PATCH /api/v1/namespaces/{namespace}/pods/{name}/status

3.2.85.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.85.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.85.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.85.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.85.5. Tags

  • apiv1

3.2.86. delete collection of PodTemplate

DELETE /api/v1/namespaces/{namespace}/podtemplates

3.2.86.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.86.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.86.3. Consumes

  • /

3.2.86.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.86.5. Tags

  • apiv1

3.2.87. list or watch objects of kind PodTemplate

GET /api/v1/namespaces/{namespace}/podtemplates

3.2.87.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.87.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.113, “v1.PodTemplateList”

3.2.87.3. Consumes

  • /

3.2.87.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.87.5. Tags

  • apiv1

3.2.88. create a PodTemplate

POST /api/v1/namespaces/{namespace}/podtemplates

3.2.88.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.112, “v1.PodTemplate”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.88.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.112, “v1.PodTemplate”

3.2.88.3. Consumes

  • /

3.2.88.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.88.5. Tags

  • apiv1

3.2.89. delete a PodTemplate

DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}

3.2.89.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PodTemplate

true

string

 

3.2.89.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.89.3. Consumes

  • /

3.2.89.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.89.5. Tags

  • apiv1

3.2.90. replace the specified PodTemplate

PUT /api/v1/namespaces/{namespace}/podtemplates/{name}

3.2.90.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.112, “v1.PodTemplate”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PodTemplate

true

string

 

3.2.90.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.112, “v1.PodTemplate”

3.2.90.3. Consumes

  • /

3.2.90.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.90.5. Tags

  • apiv1

3.2.91. read the specified PodTemplate

GET /api/v1/namespaces/{namespace}/podtemplates/{name}

3.2.91.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PodTemplate

true

string

 

3.2.91.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.112, “v1.PodTemplate”

3.2.91.3. Consumes

  • /

3.2.91.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.91.5. Tags

  • apiv1

3.2.92. partially update the specified PodTemplate

PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}

3.2.92.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PodTemplate

true

string

 

3.2.92.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.112, “v1.PodTemplate”

3.2.92.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.92.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.92.5. Tags

  • apiv1

3.2.93. delete collection of ReplicationController

DELETE /api/v1/namespaces/{namespace}/replicationcontrollers

3.2.93.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.93.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.93.3. Consumes

  • /

3.2.93.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.93.5. Tags

  • apiv1

3.2.94. list or watch objects of kind ReplicationController

GET /api/v1/namespaces/{namespace}/replicationcontrollers

3.2.94.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.94.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.121, “v1.ReplicationControllerList”

3.2.94.3. Consumes

  • /

3.2.94.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.94.5. Tags

  • apiv1

3.2.95. create a ReplicationController

POST /api/v1/namespaces/{namespace}/replicationcontrollers

3.2.95.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.119, “v1.ReplicationController”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.95.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.95.3. Consumes

  • /

3.2.95.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.95.5. Tags

  • apiv1

3.2.96. delete a ReplicationController

DELETE /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

3.2.96.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.96.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.96.3. Consumes

  • /

3.2.96.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.96.5. Tags

  • apiv1

3.2.97. replace the specified ReplicationController

PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

3.2.97.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.119, “v1.ReplicationController”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.97.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.97.3. Consumes

  • /

3.2.97.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.97.5. Tags

  • apiv1

3.2.98. read the specified ReplicationController

GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

3.2.98.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.98.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.98.3. Consumes

  • /

3.2.98.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.98.5. Tags

  • apiv1

3.2.99. partially update the specified ReplicationController

PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

3.2.99.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.99.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.99.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.99.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.99.5. Tags

  • apiv1

3.2.100. replace scale of the specified Scale

PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale

3.2.100.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.134, “v1.Scale”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Scale

true

string

 

3.2.100.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.134, “v1.Scale”

3.2.100.3. Consumes

  • /

3.2.100.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.100.5. Tags

  • apiv1

3.2.101. read scale of the specified Scale

GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale

3.2.101.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Scale

true

string

 

3.2.101.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.134, “v1.Scale”

3.2.101.3. Consumes

  • /

3.2.101.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.101.5. Tags

  • apiv1

3.2.102. partially update scale of the specified Scale

PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale

3.2.102.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Scale

true

string

 

3.2.102.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.134, “v1.Scale”

3.2.102.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.102.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.102.5. Tags

  • apiv1

3.2.103. replace status of the specified ReplicationController

PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status

3.2.103.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.119, “v1.ReplicationController”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.103.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.103.3. Consumes

  • /

3.2.103.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.103.5. Tags

  • apiv1

3.2.104. read status of the specified ReplicationController

GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status

3.2.104.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.104.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.104.3. Consumes

  • /

3.2.104.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.104.5. Tags

  • apiv1

3.2.105. partially update status of the specified ReplicationController

PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status

3.2.105.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.105.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.105.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.105.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.105.5. Tags

  • apiv1

3.2.106. delete collection of ResourceQuota

DELETE /api/v1/namespaces/{namespace}/resourcequotas

3.2.106.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.106.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.106.3. Consumes

  • /

3.2.106.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.106.5. Tags

  • apiv1

3.2.107. list or watch objects of kind ResourceQuota

GET /api/v1/namespaces/{namespace}/resourcequotas

3.2.107.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.107.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.126, “v1.ResourceQuotaList”

3.2.107.3. Consumes

  • /

3.2.107.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.107.5. Tags

  • apiv1

3.2.108. create a ResourceQuota

POST /api/v1/namespaces/{namespace}/resourcequotas

3.2.108.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.125, “v1.ResourceQuota”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.108.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.108.3. Consumes

  • /

3.2.108.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.108.5. Tags

  • apiv1

3.2.109. delete a ResourceQuota

DELETE /api/v1/namespaces/{namespace}/resourcequotas/{name}

3.2.109.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.109.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.109.3. Consumes

  • /

3.2.109.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.109.5. Tags

  • apiv1

3.2.110. replace the specified ResourceQuota

PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}

3.2.110.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.125, “v1.ResourceQuota”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.110.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.110.3. Consumes

  • /

3.2.110.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.110.5. Tags

  • apiv1

3.2.111. read the specified ResourceQuota

GET /api/v1/namespaces/{namespace}/resourcequotas/{name}

3.2.111.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.111.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.111.3. Consumes

  • /

3.2.111.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.111.5. Tags

  • apiv1

3.2.112. partially update the specified ResourceQuota

PATCH /api/v1/namespaces/{namespace}/resourcequotas/{name}

3.2.112.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.112.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.112.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.112.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.112.5. Tags

  • apiv1

3.2.113. replace status of the specified ResourceQuota

PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}/status

3.2.113.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.125, “v1.ResourceQuota”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.113.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.113.3. Consumes

  • /

3.2.113.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.113.5. Tags

  • apiv1

3.2.114. read status of the specified ResourceQuota

GET /api/v1/namespaces/{namespace}/resourcequotas/{name}/status

3.2.114.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.114.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.114.3. Consumes

  • /

3.2.114.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.114.5. Tags

  • apiv1

3.2.115. partially update status of the specified ResourceQuota

PATCH /api/v1/namespaces/{namespace}/resourcequotas/{name}/status

3.2.115.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.115.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.115.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.115.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.115.5. Tags

  • apiv1

3.2.116. delete collection of Secret

DELETE /api/v1/namespaces/{namespace}/secrets

3.2.116.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.116.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.116.3. Consumes

  • /

3.2.116.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.116.5. Tags

  • apiv1

3.2.117. list or watch objects of kind Secret

GET /api/v1/namespaces/{namespace}/secrets

3.2.117.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.117.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.226, “v1.SecretList”

3.2.117.3. Consumes

  • /

3.2.117.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.117.5. Tags

  • apiv1

3.2.118. create a Secret

POST /api/v1/namespaces/{namespace}/secrets

3.2.118.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.223, “v1.Secret”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.118.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.223, “v1.Secret”

3.2.118.3. Consumes

  • /

3.2.118.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.118.5. Tags

  • apiv1

3.2.119. delete a Secret

DELETE /api/v1/namespaces/{namespace}/secrets/{name}

3.2.119.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Secret

true

string

 

3.2.119.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.119.3. Consumes

  • /

3.2.119.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.119.5. Tags

  • apiv1

3.2.120. replace the specified Secret

PUT /api/v1/namespaces/{namespace}/secrets/{name}

3.2.120.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.223, “v1.Secret”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Secret

true

string

 

3.2.120.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.223, “v1.Secret”

3.2.120.3. Consumes

  • /

3.2.120.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.120.5. Tags

  • apiv1

3.2.121. read the specified Secret

GET /api/v1/namespaces/{namespace}/secrets/{name}

3.2.121.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Secret

true

string

 

3.2.121.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.223, “v1.Secret”

3.2.121.3. Consumes

  • /

3.2.121.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.121.5. Tags

  • apiv1

3.2.122. partially update the specified Secret

PATCH /api/v1/namespaces/{namespace}/secrets/{name}

3.2.122.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Secret

true

string

 

3.2.122.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.223, “v1.Secret”

3.2.122.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.122.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.122.5. Tags

  • apiv1

3.2.123. delete collection of ServiceAccount

DELETE /api/v1/namespaces/{namespace}/serviceaccounts

3.2.123.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.123.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.123.3. Consumes

  • /

3.2.123.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.123.5. Tags

  • apiv1

3.2.124. list or watch objects of kind ServiceAccount

GET /api/v1/namespaces/{namespace}/serviceaccounts

3.2.124.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.124.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.146, “v1.ServiceAccountList”

3.2.124.3. Consumes

  • /

3.2.124.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.124.5. Tags

  • apiv1

3.2.125. create a ServiceAccount

POST /api/v1/namespaces/{namespace}/serviceaccounts

3.2.125.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.145, “v1.ServiceAccount”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.125.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.145, “v1.ServiceAccount”

3.2.125.3. Consumes

  • /

3.2.125.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.125.5. Tags

  • apiv1

3.2.126. delete a ServiceAccount

DELETE /api/v1/namespaces/{namespace}/serviceaccounts/{name}

3.2.126.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ServiceAccount

true

string

 

3.2.126.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.126.3. Consumes

  • /

3.2.126.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.126.5. Tags

  • apiv1

3.2.127. replace the specified ServiceAccount

PUT /api/v1/namespaces/{namespace}/serviceaccounts/{name}

3.2.127.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.145, “v1.ServiceAccount”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ServiceAccount

true

string

 

3.2.127.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.145, “v1.ServiceAccount”

3.2.127.3. Consumes

  • /

3.2.127.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.127.5. Tags

  • apiv1

3.2.128. read the specified ServiceAccount

GET /api/v1/namespaces/{namespace}/serviceaccounts/{name}

3.2.128.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ServiceAccount

true

string

 

3.2.128.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.145, “v1.ServiceAccount”

3.2.128.3. Consumes

  • /

3.2.128.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.128.5. Tags

  • apiv1

3.2.129. partially update the specified ServiceAccount

PATCH /api/v1/namespaces/{namespace}/serviceaccounts/{name}

3.2.129.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ServiceAccount

true

string

 

3.2.129.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.145, “v1.ServiceAccount”

3.2.129.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.129.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.129.5. Tags

  • apiv1

3.2.130. list or watch objects of kind Service

GET /api/v1/namespaces/{namespace}/services

3.2.130.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.130.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.147, “v1.ServiceList”

3.2.130.3. Consumes

  • /

3.2.130.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.130.5. Tags

  • apiv1

3.2.131. create a Service

POST /api/v1/namespaces/{namespace}/services

3.2.131.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.144, “v1.Service”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.131.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.131.3. Consumes

  • /

3.2.131.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.131.5. Tags

  • apiv1

3.2.132. delete a Service

DELETE /api/v1/namespaces/{namespace}/services/{name}

3.2.132.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.132.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.132.3. Consumes

  • /

3.2.132.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.132.5. Tags

  • apiv1

3.2.133. replace the specified Service

PUT /api/v1/namespaces/{namespace}/services/{name}

3.2.133.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.144, “v1.Service”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.133.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.133.3. Consumes

  • /

3.2.133.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.133.5. Tags

  • apiv1

3.2.134. read the specified Service

GET /api/v1/namespaces/{namespace}/services/{name}

3.2.134.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.134.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.134.3. Consumes

  • /

3.2.134.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.134.5. Tags

  • apiv1

3.2.135. partially update the specified Service

PATCH /api/v1/namespaces/{namespace}/services/{name}

3.2.135.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.135.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.135.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.135.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.135.5. Tags

  • apiv1

3.2.136. connect DELETE requests to proxy of Service

DELETE /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.136.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.136.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.136.3. Consumes

  • /

3.2.136.4. Produces

  • /

3.2.136.5. Tags

  • apiv1

3.2.137. connect PUT requests to proxy of Service

PUT /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.137.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.137.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.137.3. Consumes

  • /

3.2.137.4. Produces

  • /

3.2.137.5. Tags

  • apiv1

3.2.138. connect GET requests to proxy of Service

GET /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.138.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.138.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.138.3. Consumes

  • /

3.2.138.4. Produces

  • /

3.2.138.5. Tags

  • apiv1

3.2.139. connect POST requests to proxy of Service

POST /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.139.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.139.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.139.3. Consumes

  • /

3.2.139.4. Produces

  • /

3.2.139.5. Tags

  • apiv1

3.2.140. connect HEAD requests to proxy of Service

HEAD /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.140.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.140.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.140.3. Consumes

  • /

3.2.140.4. Produces

  • /

3.2.140.5. Tags

  • apiv1

3.2.141. connect OPTIONS requests to proxy of Service

OPTIONS /api/v1/namespaces/{namespace}/services/{name}/proxy

3.2.141.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.141.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.141.3. Consumes

  • /

3.2.141.4. Produces

  • /

3.2.141.5. Tags

  • apiv1

3.2.142. connect DELETE requests to proxy of Service

DELETE /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.142.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.142.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.142.3. Consumes

  • /

3.2.142.4. Produces

  • /

3.2.142.5. Tags

  • apiv1

3.2.143. connect PUT requests to proxy of Service

PUT /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.143.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.143.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.143.3. Consumes

  • /

3.2.143.4. Produces

  • /

3.2.143.5. Tags

  • apiv1

3.2.144. connect GET requests to proxy of Service

GET /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.144.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.144.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.144.3. Consumes

  • /

3.2.144.4. Produces

  • /

3.2.144.5. Tags

  • apiv1

3.2.145. connect POST requests to proxy of Service

POST /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.145.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.145.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.145.3. Consumes

  • /

3.2.145.4. Produces

  • /

3.2.145.5. Tags

  • apiv1

3.2.146. connect HEAD requests to proxy of Service

HEAD /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.146.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.146.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.146.3. Consumes

  • /

3.2.146.4. Produces

  • /

3.2.146.5. Tags

  • apiv1

3.2.147. connect OPTIONS requests to proxy of Service

OPTIONS /api/v1/namespaces/{namespace}/services/{name}/proxy/{path}

3.2.147.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.147.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.147.3. Consumes

  • /

3.2.147.4. Produces

  • /

3.2.147.5. Tags

  • apiv1

3.2.148. replace status of the specified Service

PUT /api/v1/namespaces/{namespace}/services/{name}/status

3.2.148.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.144, “v1.Service”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.148.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.148.3. Consumes

  • /

3.2.148.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.148.5. Tags

  • apiv1

3.2.149. read status of the specified Service

GET /api/v1/namespaces/{namespace}/services/{name}/status

3.2.149.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.149.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.149.3. Consumes

  • /

3.2.149.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.149.5. Tags

  • apiv1

3.2.150. partially update status of the specified Service

PATCH /api/v1/namespaces/{namespace}/services/{name}/status

3.2.150.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.150.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.150.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.150.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.150.5. Tags

  • apiv1

3.2.151. delete a Namespace

DELETE /api/v1/namespaces/{name}

3.2.151.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

name

name of the Namespace

true

string

 

3.2.151.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.151.3. Consumes

  • /

3.2.151.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.151.5. Tags

  • apiv1

3.2.152. replace the specified Namespace

PUT /api/v1/namespaces/{name}

3.2.152.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.79, “v1.Namespace”

 

PathParameter

name

name of the Namespace

true

string

 

3.2.152.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.152.3. Consumes

  • /

3.2.152.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.152.5. Tags

  • apiv1

3.2.153. read the specified Namespace

GET /api/v1/namespaces/{name}

3.2.153.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

name

name of the Namespace

true

string

 

3.2.153.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.153.3. Consumes

  • /

3.2.153.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.153.5. Tags

  • apiv1

3.2.154. partially update the specified Namespace

PATCH /api/v1/namespaces/{name}

3.2.154.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the Namespace

true

string

 

3.2.154.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.154.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.154.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.154.5. Tags

  • apiv1

3.2.155. replace finalize of the specified Namespace

PUT /api/v1/namespaces/{name}/finalize

3.2.155.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.79, “v1.Namespace”

 

PathParameter

name

name of the Namespace

true

string

 

3.2.155.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.155.3. Consumes

  • /

3.2.155.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.155.5. Tags

  • apiv1

3.2.156. replace status of the specified Namespace

PUT /api/v1/namespaces/{name}/status

3.2.156.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.79, “v1.Namespace”

 

PathParameter

name

name of the Namespace

true

string

 

3.2.156.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.156.3. Consumes

  • /

3.2.156.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.156.5. Tags

  • apiv1

3.2.157. read status of the specified Namespace

GET /api/v1/namespaces/{name}/status

3.2.157.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

name

name of the Namespace

true

string

 

3.2.157.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.157.3. Consumes

  • /

3.2.157.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.157.5. Tags

  • apiv1

3.2.158. partially update status of the specified Namespace

PATCH /api/v1/namespaces/{name}/status

3.2.158.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the Namespace

true

string

 

3.2.158.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.79, “v1.Namespace”

3.2.158.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.158.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.158.5. Tags

  • apiv1

3.2.159. delete collection of Node

DELETE /api/v1/nodes

3.2.159.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.159.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.159.3. Consumes

  • /

3.2.159.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.159.5. Tags

  • apiv1

3.2.160. list or watch objects of kind Node

GET /api/v1/nodes

3.2.160.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.160.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.87, “v1.NodeList”

3.2.160.3. Consumes

  • /

3.2.160.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.160.5. Tags

  • apiv1

3.2.161. create a Node

POST /api/v1/nodes

3.2.161.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.83, “v1.Node”

 

3.2.161.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.161.3. Consumes

  • /

3.2.161.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.161.5. Tags

  • apiv1

3.2.162. delete a Node

DELETE /api/v1/nodes/{name}

3.2.162.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

name

name of the Node

true

string

 

3.2.162.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.162.3. Consumes

  • /

3.2.162.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.162.5. Tags

  • apiv1

3.2.163. replace the specified Node

PUT /api/v1/nodes/{name}

3.2.163.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.83, “v1.Node”

 

PathParameter

name

name of the Node

true

string

 

3.2.163.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.163.3. Consumes

  • /

3.2.163.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.163.5. Tags

  • apiv1

3.2.164. read the specified Node

GET /api/v1/nodes/{name}

3.2.164.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

name

name of the Node

true

string

 

3.2.164.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.164.3. Consumes

  • /

3.2.164.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.164.5. Tags

  • apiv1

3.2.165. partially update the specified Node

PATCH /api/v1/nodes/{name}

3.2.165.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the Node

true

string

 

3.2.165.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.165.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.165.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.165.5. Tags

  • apiv1

3.2.166. connect DELETE requests to proxy of Node

DELETE /api/v1/nodes/{name}/proxy

3.2.166.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.166.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.166.3. Consumes

  • /

3.2.166.4. Produces

  • /

3.2.166.5. Tags

  • apiv1

3.2.167. connect PUT requests to proxy of Node

PUT /api/v1/nodes/{name}/proxy

3.2.167.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.167.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.167.3. Consumes

  • /

3.2.167.4. Produces

  • /

3.2.167.5. Tags

  • apiv1

3.2.168. connect GET requests to proxy of Node

GET /api/v1/nodes/{name}/proxy

3.2.168.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.168.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.168.3. Consumes

  • /

3.2.168.4. Produces

  • /

3.2.168.5. Tags

  • apiv1

3.2.169. connect POST requests to proxy of Node

POST /api/v1/nodes/{name}/proxy

3.2.169.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.169.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.169.3. Consumes

  • /

3.2.169.4. Produces

  • /

3.2.169.5. Tags

  • apiv1

3.2.170. connect HEAD requests to proxy of Node

HEAD /api/v1/nodes/{name}/proxy

3.2.170.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.170.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.170.3. Consumes

  • /

3.2.170.4. Produces

  • /

3.2.170.5. Tags

  • apiv1

3.2.171. connect OPTIONS requests to proxy of Node

OPTIONS /api/v1/nodes/{name}/proxy

3.2.171.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.171.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.171.3. Consumes

  • /

3.2.171.4. Produces

  • /

3.2.171.5. Tags

  • apiv1

3.2.172. connect DELETE requests to proxy of Node

DELETE /api/v1/nodes/{name}/proxy/{path}

3.2.172.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.172.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.172.3. Consumes

  • /

3.2.172.4. Produces

  • /

3.2.172.5. Tags

  • apiv1

3.2.173. connect PUT requests to proxy of Node

PUT /api/v1/nodes/{name}/proxy/{path}

3.2.173.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.173.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.173.3. Consumes

  • /

3.2.173.4. Produces

  • /

3.2.173.5. Tags

  • apiv1

3.2.174. connect GET requests to proxy of Node

GET /api/v1/nodes/{name}/proxy/{path}

3.2.174.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.174.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.174.3. Consumes

  • /

3.2.174.4. Produces

  • /

3.2.174.5. Tags

  • apiv1

3.2.175. connect POST requests to proxy of Node

POST /api/v1/nodes/{name}/proxy/{path}

3.2.175.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.175.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.175.3. Consumes

  • /

3.2.175.4. Produces

  • /

3.2.175.5. Tags

  • apiv1

3.2.176. connect HEAD requests to proxy of Node

HEAD /api/v1/nodes/{name}/proxy/{path}

3.2.176.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.176.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.176.3. Consumes

  • /

3.2.176.4. Produces

  • /

3.2.176.5. Tags

  • apiv1

3.2.177. connect OPTIONS requests to proxy of Node

OPTIONS /api/v1/nodes/{name}/proxy/{path}

3.2.177.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

path

Path is the URL path to use for the current proxy request to node.

false

string

 

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.177.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.177.3. Consumes

  • /

3.2.177.4. Produces

  • /

3.2.177.5. Tags

  • apiv1

3.2.178. replace status of the specified Node

PUT /api/v1/nodes/{name}/status

3.2.178.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.83, “v1.Node”

 

PathParameter

name

name of the Node

true

string

 

3.2.178.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.178.3. Consumes

  • /

3.2.178.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.178.5. Tags

  • apiv1

3.2.179. read status of the specified Node

GET /api/v1/nodes/{name}/status

3.2.179.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

name

name of the Node

true

string

 

3.2.179.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.179.3. Consumes

  • /

3.2.179.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.179.5. Tags

  • apiv1

3.2.180. partially update status of the specified Node

PATCH /api/v1/nodes/{name}/status

3.2.180.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the Node

true

string

 

3.2.180.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.83, “v1.Node”

3.2.180.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.180.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.180.5. Tags

  • apiv1

3.2.181. list or watch objects of kind PersistentVolumeClaim

GET /api/v1/persistentvolumeclaims

3.2.181.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.181.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.98, “v1.PersistentVolumeClaimList”

3.2.181.3. Consumes

  • /

3.2.181.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.181.5. Tags

  • apiv1

3.2.182. create a PersistentVolumeClaim

POST /api/v1/persistentvolumeclaims

3.2.182.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.97, “v1.PersistentVolumeClaim”

 

3.2.182.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.97, “v1.PersistentVolumeClaim”

3.2.182.3. Consumes

  • /

3.2.182.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.182.5. Tags

  • apiv1

3.2.183. delete collection of PersistentVolume

DELETE /api/v1/persistentvolumes

3.2.183.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.183.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.183.3. Consumes

  • /

3.2.183.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.183.5. Tags

  • apiv1

3.2.184. list or watch objects of kind PersistentVolume

GET /api/v1/persistentvolumes

3.2.184.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.184.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.102, “v1.PersistentVolumeList”

3.2.184.3. Consumes

  • /

3.2.184.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.184.5. Tags

  • apiv1

3.2.185. create a PersistentVolume

POST /api/v1/persistentvolumes

3.2.185.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.95, “v1.PersistentVolume”

 

3.2.185.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.185.3. Consumes

  • /

3.2.185.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.185.5. Tags

  • apiv1

3.2.186. delete a PersistentVolume

DELETE /api/v1/persistentvolumes/{name}

3.2.186.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.186.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.186.3. Consumes

  • /

3.2.186.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.186.5. Tags

  • apiv1

3.2.187. replace the specified PersistentVolume

PUT /api/v1/persistentvolumes/{name}

3.2.187.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.95, “v1.PersistentVolume”

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.187.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.187.3. Consumes

  • /

3.2.187.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.187.5. Tags

  • apiv1

3.2.188. read the specified PersistentVolume

GET /api/v1/persistentvolumes/{name}

3.2.188.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.188.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.188.3. Consumes

  • /

3.2.188.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.188.5. Tags

  • apiv1

3.2.189. partially update the specified PersistentVolume

PATCH /api/v1/persistentvolumes/{name}

3.2.189.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.189.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.189.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.189.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.189.5. Tags

  • apiv1

3.2.190. replace status of the specified PersistentVolume

PUT /api/v1/persistentvolumes/{name}/status

3.2.190.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.95, “v1.PersistentVolume”

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.190.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.190.3. Consumes

  • /

3.2.190.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.190.5. Tags

  • apiv1

3.2.191. read status of the specified PersistentVolume

GET /api/v1/persistentvolumes/{name}/status

3.2.191.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.191.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.191.3. Consumes

  • /

3.2.191.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.191.5. Tags

  • apiv1

3.2.192. partially update status of the specified PersistentVolume

PATCH /api/v1/persistentvolumes/{name}/status

3.2.192.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.192.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.95, “v1.PersistentVolume”

3.2.192.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.192.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.192.5. Tags

  • apiv1

3.2.193. list or watch objects of kind Pod

GET /api/v1/pods

3.2.193.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.193.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.108, “v1.PodList”

3.2.193.3. Consumes

  • /

3.2.193.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.193.5. Tags

  • apiv1

3.2.194. create a Pod

POST /api/v1/pods

3.2.194.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.106, “v1.Pod”

 

3.2.194.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.106, “v1.Pod”

3.2.194.3. Consumes

  • /

3.2.194.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.194.5. Tags

  • apiv1

3.2.195. list or watch objects of kind PodTemplate

GET /api/v1/podtemplates

3.2.195.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.195.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.113, “v1.PodTemplateList”

3.2.195.3. Consumes

  • /

3.2.195.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.195.5. Tags

  • apiv1

3.2.196. create a PodTemplate

POST /api/v1/podtemplates

3.2.196.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.112, “v1.PodTemplate”

 

3.2.196.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.112, “v1.PodTemplate”

3.2.196.3. Consumes

  • /

3.2.196.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.196.5. Tags

  • apiv1

3.2.197. proxy DELETE requests to Pod

DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.197.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.197.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.197.3. Consumes

  • /

3.2.197.4. Produces

  • /

3.2.197.5. Tags

  • apiv1

3.2.198. proxy PUT requests to Pod

PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.198.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.198.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.198.3. Consumes

  • /

3.2.198.4. Produces

  • /

3.2.198.5. Tags

  • apiv1

3.2.199. proxy GET requests to Pod

GET /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.199.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.199.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.199.3. Consumes

  • /

3.2.199.4. Produces

  • /

3.2.199.5. Tags

  • apiv1

3.2.200. proxy POST requests to Pod

POST /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.200.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.200.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.200.3. Consumes

  • /

3.2.200.4. Produces

  • /

3.2.200.5. Tags

  • apiv1

3.2.201. proxy HEAD requests to Pod

HEAD /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.201.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.201.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.201.3. Consumes

  • /

3.2.201.4. Produces

  • /

3.2.201.5. Tags

  • apiv1

3.2.202. proxy OPTIONS requests to Pod

OPTIONS /api/v1/proxy/namespaces/{namespace}/pods/{name}

3.2.202.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.202.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.202.3. Consumes

  • /

3.2.202.4. Produces

  • /

3.2.202.5. Tags

  • apiv1

3.2.203. proxy DELETE requests to Pod

DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.203.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.203.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.203.3. Consumes

  • /

3.2.203.4. Produces

  • /

3.2.203.5. Tags

  • apiv1

3.2.204. proxy PUT requests to Pod

PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.204.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.204.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.204.3. Consumes

  • /

3.2.204.4. Produces

  • /

3.2.204.5. Tags

  • apiv1

3.2.205. proxy GET requests to Pod

GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.205.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.205.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.205.3. Consumes

  • /

3.2.205.4. Produces

  • /

3.2.205.5. Tags

  • apiv1

3.2.206. proxy POST requests to Pod

POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.206.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.206.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.206.3. Consumes

  • /

3.2.206.4. Produces

  • /

3.2.206.5. Tags

  • apiv1

3.2.207. proxy HEAD requests to Pod

HEAD /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.207.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.207.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.207.3. Consumes

  • /

3.2.207.4. Produces

  • /

3.2.207.5. Tags

  • apiv1

3.2.208. proxy OPTIONS requests to Pod

OPTIONS /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}

3.2.208.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.208.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.208.3. Consumes

  • /

3.2.208.4. Produces

  • /

3.2.208.5. Tags

  • apiv1

3.2.209. proxy DELETE requests to Service

DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.209.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.209.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.209.3. Consumes

  • /

3.2.209.4. Produces

  • /

3.2.209.5. Tags

  • apiv1

3.2.210. proxy PUT requests to Service

PUT /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.210.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.210.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.210.3. Consumes

  • /

3.2.210.4. Produces

  • /

3.2.210.5. Tags

  • apiv1

3.2.211. proxy GET requests to Service

GET /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.211.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.211.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.211.3. Consumes

  • /

3.2.211.4. Produces

  • /

3.2.211.5. Tags

  • apiv1

3.2.212. proxy POST requests to Service

POST /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.212.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.212.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.212.3. Consumes

  • /

3.2.212.4. Produces

  • /

3.2.212.5. Tags

  • apiv1

3.2.213. proxy HEAD requests to Service

HEAD /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.213.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.213.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.213.3. Consumes

  • /

3.2.213.4. Produces

  • /

3.2.213.5. Tags

  • apiv1

3.2.214. proxy OPTIONS requests to Service

OPTIONS /api/v1/proxy/namespaces/{namespace}/services/{name}

3.2.214.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.214.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.214.3. Consumes

  • /

3.2.214.4. Produces

  • /

3.2.214.5. Tags

  • apiv1

3.2.215. proxy DELETE requests to Service

DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.215.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.215.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.215.3. Consumes

  • /

3.2.215.4. Produces

  • /

3.2.215.5. Tags

  • apiv1

3.2.216. proxy PUT requests to Service

PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.216.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.216.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.216.3. Consumes

  • /

3.2.216.4. Produces

  • /

3.2.216.5. Tags

  • apiv1

3.2.217. proxy GET requests to Service

GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.217.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.217.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.217.3. Consumes

  • /

3.2.217.4. Produces

  • /

3.2.217.5. Tags

  • apiv1

3.2.218. proxy POST requests to Service

POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.218.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.218.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.218.3. Consumes

  • /

3.2.218.4. Produces

  • /

3.2.218.5. Tags

  • apiv1

3.2.219. proxy HEAD requests to Service

HEAD /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.219.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.219.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.219.3. Consumes

  • /

3.2.219.4. Produces

  • /

3.2.219.5. Tags

  • apiv1

3.2.220. proxy OPTIONS requests to Service

OPTIONS /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}

3.2.220.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.220.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.220.3. Consumes

  • /

3.2.220.4. Produces

  • /

3.2.220.5. Tags

  • apiv1

3.2.221. proxy DELETE requests to Node

DELETE /api/v1/proxy/nodes/{name}

3.2.221.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.221.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.221.3. Consumes

  • /

3.2.221.4. Produces

  • /

3.2.221.5. Tags

  • apiv1

3.2.222. proxy PUT requests to Node

PUT /api/v1/proxy/nodes/{name}

3.2.222.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.222.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.222.3. Consumes

  • /

3.2.222.4. Produces

  • /

3.2.222.5. Tags

  • apiv1

3.2.223. proxy GET requests to Node

GET /api/v1/proxy/nodes/{name}

3.2.223.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.223.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.223.3. Consumes

  • /

3.2.223.4. Produces

  • /

3.2.223.5. Tags

  • apiv1

3.2.224. proxy POST requests to Node

POST /api/v1/proxy/nodes/{name}

3.2.224.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.224.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.224.3. Consumes

  • /

3.2.224.4. Produces

  • /

3.2.224.5. Tags

  • apiv1

3.2.225. proxy HEAD requests to Node

HEAD /api/v1/proxy/nodes/{name}

3.2.225.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.225.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.225.3. Consumes

  • /

3.2.225.4. Produces

  • /

3.2.225.5. Tags

  • apiv1

3.2.226. proxy OPTIONS requests to Node

OPTIONS /api/v1/proxy/nodes/{name}

3.2.226.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

3.2.226.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.226.3. Consumes

  • /

3.2.226.4. Produces

  • /

3.2.226.5. Tags

  • apiv1

3.2.227. proxy DELETE requests to Node

DELETE /api/v1/proxy/nodes/{name}/{path}

3.2.227.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.227.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.227.3. Consumes

  • /

3.2.227.4. Produces

  • /

3.2.227.5. Tags

  • apiv1

3.2.228. proxy PUT requests to Node

PUT /api/v1/proxy/nodes/{name}/{path}

3.2.228.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.228.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.228.3. Consumes

  • /

3.2.228.4. Produces

  • /

3.2.228.5. Tags

  • apiv1

3.2.229. proxy GET requests to Node

GET /api/v1/proxy/nodes/{name}/{path}

3.2.229.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.229.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.229.3. Consumes

  • /

3.2.229.4. Produces

  • /

3.2.229.5. Tags

  • apiv1

3.2.230. proxy POST requests to Node

POST /api/v1/proxy/nodes/{name}/{path}

3.2.230.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.230.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.230.3. Consumes

  • /

3.2.230.4. Produces

  • /

3.2.230.5. Tags

  • apiv1

3.2.231. proxy HEAD requests to Node

HEAD /api/v1/proxy/nodes/{name}/{path}

3.2.231.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.231.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.231.3. Consumes

  • /

3.2.231.4. Produces

  • /

3.2.231.5. Tags

  • apiv1

3.2.232. proxy OPTIONS requests to Node

OPTIONS /api/v1/proxy/nodes/{name}/{path}

3.2.232.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

name

name of the Node

true

string

 

PathParameter

path

path to the resource

true

string

 

3.2.232.2. Responses

HTTP CodeDescriptionSchema

default

success

string

3.2.232.3. Consumes

  • /

3.2.232.4. Produces

  • /

3.2.232.5. Tags

  • apiv1

3.2.233. list or watch objects of kind ReplicationController

GET /api/v1/replicationcontrollers

3.2.233.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.233.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.121, “v1.ReplicationControllerList”

3.2.233.3. Consumes

  • /

3.2.233.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.233.5. Tags

  • apiv1

3.2.234. create a ReplicationController

POST /api/v1/replicationcontrollers

3.2.234.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.119, “v1.ReplicationController”

 

3.2.234.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.119, “v1.ReplicationController”

3.2.234.3. Consumes

  • /

3.2.234.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.234.5. Tags

  • apiv1

3.2.235. list or watch objects of kind ResourceQuota

GET /api/v1/resourcequotas

3.2.235.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.235.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.126, “v1.ResourceQuotaList”

3.2.235.3. Consumes

  • /

3.2.235.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.235.5. Tags

  • apiv1

3.2.236. create a ResourceQuota

POST /api/v1/resourcequotas

3.2.236.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.125, “v1.ResourceQuota”

 

3.2.236.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.125, “v1.ResourceQuota”

3.2.236.3. Consumes

  • /

3.2.236.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.236.5. Tags

  • apiv1

3.2.237. list or watch objects of kind Secret

GET /api/v1/secrets

3.2.237.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.237.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.226, “v1.SecretList”

3.2.237.3. Consumes

  • /

3.2.237.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.237.5. Tags

  • apiv1

3.2.238. create a Secret

POST /api/v1/secrets

3.2.238.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.223, “v1.Secret”

 

3.2.238.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.223, “v1.Secret”

3.2.238.3. Consumes

  • /

3.2.238.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.238.5. Tags

  • apiv1

3.2.239. delete collection of SecurityContextConstraints

DELETE /api/v1/securitycontextconstraints

3.2.239.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.239.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.239.3. Consumes

  • /

3.2.239.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.239.5. Tags

  • apiv1

3.2.240. list or watch objects of kind SecurityContextConstraints

GET /api/v1/securitycontextconstraints

3.2.240.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.240.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.143, “v1.SecurityContextConstraintsList”

3.2.240.3. Consumes

  • /

3.2.240.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.240.5. Tags

  • apiv1

3.2.241. create SecurityContextConstraints

POST /api/v1/securitycontextconstraints

3.2.241.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.142, “v1.SecurityContextConstraints”

 

3.2.241.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.142, “v1.SecurityContextConstraints”

3.2.241.3. Consumes

  • /

3.2.241.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.241.5. Tags

  • apiv1

3.2.242. delete SecurityContextConstraints

DELETE /api/v1/securitycontextconstraints/{name}

3.2.242.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.64, “v1.DeleteOptions”

 

QueryParameter

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer

 

QueryParameter

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

PathParameter

name

name of the SecurityContextConstraints

true

string

 

3.2.242.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.10, “unversioned.Status”

3.2.242.3. Consumes

  • /

3.2.242.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.242.5. Tags

  • apiv1

3.2.243. replace the specified SecurityContextConstraints

PUT /api/v1/securitycontextconstraints/{name}

3.2.243.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.142, “v1.SecurityContextConstraints”

 

PathParameter

name

name of the SecurityContextConstraints

true

string

 

3.2.243.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.142, “v1.SecurityContextConstraints”

3.2.243.3. Consumes

  • /

3.2.243.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.243.5. Tags

  • apiv1

3.2.244. read the specified SecurityContextConstraints

GET /api/v1/securitycontextconstraints/{name}

3.2.244.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

export

Should this value be exported. Export strips fields that a user can not specify.

false

boolean

 

QueryParameter

exact

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'

false

boolean

 

PathParameter

name

name of the SecurityContextConstraints

true

string

 

3.2.244.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.142, “v1.SecurityContextConstraints”

3.2.244.3. Consumes

  • /

3.2.244.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.244.5. Tags

  • apiv1

3.2.245. partially update the specified SecurityContextConstraints

PATCH /api/v1/securitycontextconstraints/{name}

3.2.245.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 2.3.9, “unversioned.Patch”

 

PathParameter

name

name of the SecurityContextConstraints

true

string

 

3.2.245.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.142, “v1.SecurityContextConstraints”

3.2.245.3. Consumes

  • application/json-patch+json
  • application/merge-patch+json
  • application/strategic-merge-patch+json

3.2.245.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.245.5. Tags

  • apiv1

3.2.246. list or watch objects of kind ServiceAccount

GET /api/v1/serviceaccounts

3.2.246.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.246.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.146, “v1.ServiceAccountList”

3.2.246.3. Consumes

  • /

3.2.246.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.246.5. Tags

  • apiv1

3.2.247. create a ServiceAccount

POST /api/v1/serviceaccounts

3.2.247.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.145, “v1.ServiceAccount”

 

3.2.247.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.145, “v1.ServiceAccount”

3.2.247.3. Consumes

  • /

3.2.247.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.247.5. Tags

  • apiv1

3.2.248. list or watch objects of kind Service

GET /api/v1/services

3.2.248.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.248.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.147, “v1.ServiceList”

3.2.248.3. Consumes

  • /

3.2.248.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.248.5. Tags

  • apiv1

3.2.249. create a Service

POST /api/v1/services

3.2.249.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

BodyParameter

body

 

true

Section 3.3.144, “v1.Service”

 

3.2.249.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 3.3.144, “v1.Service”

3.2.249.3. Consumes

  • /

3.2.249.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf

3.2.249.5. Tags

  • apiv1

3.2.250. watch individual changes to a list of ConfigMap

GET /api/v1/watch/configmaps

3.2.250.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.250.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.250.3. Consumes

  • /

3.2.250.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.250.5. Tags

  • apiv1

3.2.251. watch individual changes to a list of Endpoints

GET /api/v1/watch/endpoints

3.2.251.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.251.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.251.3. Consumes

  • /

3.2.251.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.251.5. Tags

  • apiv1

3.2.252. watch individual changes to a list of Event

GET /api/v1/watch/events

3.2.252.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.252.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.252.3. Consumes

  • /

3.2.252.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.252.5. Tags

  • apiv1

3.2.253. watch individual changes to a list of LimitRange

GET /api/v1/watch/limitranges

3.2.253.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.253.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.253.3. Consumes

  • /

3.2.253.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.253.5. Tags

  • apiv1

3.2.254. watch individual changes to a list of Namespace

GET /api/v1/watch/namespaces

3.2.254.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.254.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.254.3. Consumes

  • /

3.2.254.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.254.5. Tags

  • apiv1

3.2.255. watch individual changes to a list of ConfigMap

GET /api/v1/watch/namespaces/{namespace}/configmaps

3.2.255.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.255.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.255.3. Consumes

  • /

3.2.255.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.255.5. Tags

  • apiv1

3.2.256. watch changes to an object of kind ConfigMap

GET /api/v1/watch/namespaces/{namespace}/configmaps/{name}

3.2.256.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ConfigMap

true

string

 

3.2.256.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.256.3. Consumes

  • /

3.2.256.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.256.5. Tags

  • apiv1

3.2.257. watch individual changes to a list of Endpoints

GET /api/v1/watch/namespaces/{namespace}/endpoints

3.2.257.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.257.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.257.3. Consumes

  • /

3.2.257.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.257.5. Tags

  • apiv1

3.2.258. watch changes to an object of kind Endpoints

GET /api/v1/watch/namespaces/{namespace}/endpoints/{name}

3.2.258.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Endpoints

true

string

 

3.2.258.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.258.3. Consumes

  • /

3.2.258.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.258.5. Tags

  • apiv1

3.2.259. watch individual changes to a list of Event

GET /api/v1/watch/namespaces/{namespace}/events

3.2.259.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.259.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.259.3. Consumes

  • /

3.2.259.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.259.5. Tags

  • apiv1

3.2.260. watch changes to an object of kind Event

GET /api/v1/watch/namespaces/{namespace}/events/{name}

3.2.260.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Event

true

string

 

3.2.260.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.260.3. Consumes

  • /

3.2.260.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.260.5. Tags

  • apiv1

3.2.261. watch individual changes to a list of LimitRange

GET /api/v1/watch/namespaces/{namespace}/limitranges

3.2.261.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.261.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.261.3. Consumes

  • /

3.2.261.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.261.5. Tags

  • apiv1

3.2.262. watch changes to an object of kind LimitRange

GET /api/v1/watch/namespaces/{namespace}/limitranges/{name}

3.2.262.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the LimitRange

true

string

 

3.2.262.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.262.3. Consumes

  • /

3.2.262.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.262.5. Tags

  • apiv1

3.2.263. watch individual changes to a list of PersistentVolumeClaim

GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims

3.2.263.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.263.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.263.3. Consumes

  • /

3.2.263.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.263.5. Tags

  • apiv1

3.2.264. watch changes to an object of kind PersistentVolumeClaim

GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}

3.2.264.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PersistentVolumeClaim

true

string

 

3.2.264.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.264.3. Consumes

  • /

3.2.264.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.264.5. Tags

  • apiv1

3.2.265. watch individual changes to a list of Pod

GET /api/v1/watch/namespaces/{namespace}/pods

3.2.265.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.265.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.265.3. Consumes

  • /

3.2.265.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.265.5. Tags

  • apiv1

3.2.266. watch changes to an object of kind Pod

GET /api/v1/watch/namespaces/{namespace}/pods/{name}

3.2.266.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Pod

true

string

 

3.2.266.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.266.3. Consumes

  • /

3.2.266.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.266.5. Tags

  • apiv1

3.2.267. watch individual changes to a list of PodTemplate

GET /api/v1/watch/namespaces/{namespace}/podtemplates

3.2.267.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.267.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.267.3. Consumes

  • /

3.2.267.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.267.5. Tags

  • apiv1

3.2.268. watch changes to an object of kind PodTemplate

GET /api/v1/watch/namespaces/{namespace}/podtemplates/{name}

3.2.268.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the PodTemplate

true

string

 

3.2.268.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.268.3. Consumes

  • /

3.2.268.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.268.5. Tags

  • apiv1

3.2.269. watch individual changes to a list of ReplicationController

GET /api/v1/watch/namespaces/{namespace}/replicationcontrollers

3.2.269.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.269.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.269.3. Consumes

  • /

3.2.269.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.269.5. Tags

  • apiv1

3.2.270. watch changes to an object of kind ReplicationController

GET /api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}

3.2.270.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ReplicationController

true

string

 

3.2.270.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.270.3. Consumes

  • /

3.2.270.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.270.5. Tags

  • apiv1

3.2.271. watch individual changes to a list of ResourceQuota

GET /api/v1/watch/namespaces/{namespace}/resourcequotas

3.2.271.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.271.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.271.3. Consumes

  • /

3.2.271.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.271.5. Tags

  • apiv1

3.2.272. watch changes to an object of kind ResourceQuota

GET /api/v1/watch/namespaces/{namespace}/resourcequotas/{name}

3.2.272.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ResourceQuota

true

string

 

3.2.272.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.272.3. Consumes

  • /

3.2.272.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.272.5. Tags

  • apiv1

3.2.273. watch individual changes to a list of Secret

GET /api/v1/watch/namespaces/{namespace}/secrets

3.2.273.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.273.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.273.3. Consumes

  • /

3.2.273.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.273.5. Tags

  • apiv1

3.2.274. watch changes to an object of kind Secret

GET /api/v1/watch/namespaces/{namespace}/secrets/{name}

3.2.274.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Secret

true

string

 

3.2.274.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.274.3. Consumes

  • /

3.2.274.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.274.5. Tags

  • apiv1

3.2.275. watch individual changes to a list of ServiceAccount

GET /api/v1/watch/namespaces/{namespace}/serviceaccounts

3.2.275.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.275.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.275.3. Consumes

  • /

3.2.275.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.275.5. Tags

  • apiv1

3.2.276. watch changes to an object of kind ServiceAccount

GET /api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}

3.2.276.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the ServiceAccount

true

string

 

3.2.276.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.276.3. Consumes

  • /

3.2.276.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.276.5. Tags

  • apiv1

3.2.277. watch individual changes to a list of Service

GET /api/v1/watch/namespaces/{namespace}/services

3.2.277.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

3.2.277.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.277.3. Consumes

  • /

3.2.277.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.277.5. Tags

  • apiv1

3.2.278. watch changes to an object of kind Service

GET /api/v1/watch/namespaces/{namespace}/services/{name}

3.2.278.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

 

PathParameter

name

name of the Service

true

string

 

3.2.278.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.278.3. Consumes

  • /

3.2.278.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.278.5. Tags

  • apiv1

3.2.279. watch changes to an object of kind Namespace

GET /api/v1/watch/namespaces/{name}

3.2.279.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

name

name of the Namespace

true

string

 

3.2.279.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.279.3. Consumes

  • /

3.2.279.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.279.5. Tags

  • apiv1

3.2.280. watch individual changes to a list of Node

GET /api/v1/watch/nodes

3.2.280.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.280.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.280.3. Consumes

  • /

3.2.280.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.280.5. Tags

  • apiv1

3.2.281. watch changes to an object of kind Node

GET /api/v1/watch/nodes/{name}

3.2.281.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

name

name of the Node

true

string

 

3.2.281.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.281.3. Consumes

  • /

3.2.281.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.281.5. Tags

  • apiv1

3.2.282. watch individual changes to a list of PersistentVolumeClaim

GET /api/v1/watch/persistentvolumeclaims

3.2.282.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.282.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.282.3. Consumes

  • /

3.2.282.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.282.5. Tags

  • apiv1

3.2.283. watch individual changes to a list of PersistentVolume

GET /api/v1/watch/persistentvolumes

3.2.283.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.283.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.283.3. Consumes

  • /

3.2.283.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.283.5. Tags

  • apiv1

3.2.284. watch changes to an object of kind PersistentVolume

GET /api/v1/watch/persistentvolumes/{name}

3.2.284.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

name

name of the PersistentVolume

true

string

 

3.2.284.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.284.3. Consumes

  • /

3.2.284.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.284.5. Tags

  • apiv1

3.2.285. watch individual changes to a list of Pod

GET /api/v1/watch/pods

3.2.285.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.285.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.285.3. Consumes

  • /

3.2.285.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.285.5. Tags

  • apiv1

3.2.286. watch individual changes to a list of PodTemplate

GET /api/v1/watch/podtemplates

3.2.286.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.286.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.286.3. Consumes

  • /

3.2.286.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.286.5. Tags

  • apiv1

3.2.287. watch individual changes to a list of ReplicationController

GET /api/v1/watch/replicationcontrollers

3.2.287.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.287.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.287.3. Consumes

  • /

3.2.287.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.287.5. Tags

  • apiv1

3.2.288. watch individual changes to a list of ResourceQuota

GET /api/v1/watch/resourcequotas

3.2.288.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.288.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.288.3. Consumes

  • /

3.2.288.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.288.5. Tags

  • apiv1

3.2.289. watch individual changes to a list of Secret

GET /api/v1/watch/secrets

3.2.289.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.289.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.289.3. Consumes

  • /

3.2.289.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.289.5. Tags

  • apiv1

3.2.290. watch individual changes to a list of SecurityContextConstraints

GET /api/v1/watch/securitycontextconstraints

3.2.290.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.290.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.290.3. Consumes

  • /

3.2.290.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.290.5. Tags

  • apiv1

3.2.291. watch changes to an object of kind SecurityContextConstraints

GET /api/v1/watch/securitycontextconstraints/{name}

3.2.291.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

PathParameter

name

name of the SecurityContextConstraints

true

string

 

3.2.291.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.291.3. Consumes

  • /

3.2.291.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.291.5. Tags

  • apiv1

3.2.292. watch individual changes to a list of ServiceAccount

GET /api/v1/watch/serviceaccounts

3.2.292.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.292.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.292.3. Consumes

  • /

3.2.292.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.292.5. Tags

  • apiv1

3.2.293. watch individual changes to a list of Service

GET /api/v1/watch/services

3.2.293.1. Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If 'true', then the output is pretty printed.

false

string

 

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

 

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

 

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

 

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

 

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer

 

3.2.293.2. Responses

HTTP CodeDescriptionSchema

200

success

Section 2.3.266, “versioned.Event”

3.2.293.3. Consumes

  • /

3.2.293.4. Produces

  • application/json
  • application/yaml
  • application/vnd.kubernetes.protobuf
  • application/json;stream=watch
  • application/vnd.kubernetes.protobuf;stream=watch

3.2.293.5. Tags

  • apiv1

3.3. Definitions

3.3.1. types.UID

3.3.2. unversioned.APIResource

APIResource specifies the name of a resource and whether it is namespaced.

NameDescriptionRequiredSchemaDefault

name

name is the name of the resource.

true

string

 

namespaced

namespaced indicates if a resource is namespaced or not.

true

boolean

 

kind

kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')

true

string

 

3.3.3. unversioned.APIResourceList

APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

groupVersion

groupVersion is the group and version this APIResourceList is for.

true

string

 

resources

resources contains the name of the resources and if they are namespaced.

true

Section 2.3.4, “unversioned.APIResource” array

 

3.3.4. unversioned.LabelSelector

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

NameDescriptionRequiredSchemaDefault

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

false

object

 

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

false

Section 2.3.7, “unversioned.LabelSelectorRequirement” array

 

3.3.5. unversioned.LabelSelectorRequirement

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

NameDescriptionRequiredSchemaDefault

key

key is the label key that the selector applies to.

true

string

 

operator

operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.

true

string

 

values

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

false

string array

 

3.3.6. unversioned.ListMeta

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

NameDescriptionRequiredSchemaDefault

selfLink

SelfLink is a URL representing this object. Populated by the system. Read-only.

false

string

 

resourceVersion

String that identifies the server’s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency

false

string

 

3.3.7. unversioned.Patch

Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

3.3.8. unversioned.Status

Status is a return value for calls that don’t return other objects.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

status

Status of the operation. One of: "Success" or "Failure". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

string

 

message

A human-readable description of the status of this operation.

false

string

 

reason

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

false

string

 

details

Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

false

Section 2.3.12, “unversioned.StatusDetails”

 

code

Suggested HTTP return code for this status, 0 if not set.

false

integer (int32)

 

3.3.9. unversioned.StatusCause

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

NameDescriptionRequiredSchemaDefault

reason

A machine-readable description of the cause of the error. If this value is empty there is no information available.

false

string

 

message

A human-readable description of the cause of the error. This field may be presented as-is to a reader.

false

string

 

field

The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

Examples:
"name" - the field "name" on the current resource
"items[0].name" - the field "name" on the first array entry in "items"

false

string

 

3.3.10. unversioned.StatusDetails

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

NameDescriptionRequiredSchemaDefault

name

The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).

false

string

 

group

The group attribute of the resource associated with the status StatusReason.

false

string

 

kind

The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

causes

The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.

false

Section 2.3.11, “unversioned.StatusCause” array

 

retryAfterSeconds

If specified, the time in seconds before the operation should be retried.

false

integer (int32)

 

3.3.11. v1.AWSElasticBlockStoreVolumeSource

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

volumeID

Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore

true

string

 

fsType

Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore

false

string

 

partition

The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

false

integer (int32)

 

readOnly

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore

false

boolean

 

3.3.12. v1.AttachedVolume

AttachedVolume describes a volume attached to a node

NameDescriptionRequiredSchemaDefault

name

Name of the attached volume

true

string

 

devicePath

DevicePath represents the device path where the volume should be available

true

string

 

3.3.13. v1.AzureDataDiskCachingMode

3.3.14. v1.AzureDiskVolumeSource

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

NameDescriptionRequiredSchemaDefault

diskName

The Name of the data disk in the blob storage

true

string

 

diskURI

The URI the data disk in the blob storage

true

string

 

cachingMode

Host Caching mode: None, Read Only, Read Write.

false

Section 2.3.16, “v1.AzureDataDiskCachingMode”

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

false

string

 

readOnly

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

 

3.3.15. v1.AzureFileVolumeSource

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

NameDescriptionRequiredSchemaDefault

secretName

the name of secret that contains Azure Storage Account Name and Key

true

string

 

shareName

Share Name

true

string

 

readOnly

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

 

3.3.16. v1.Binding

Binding ties one object to another. For example, a pod is bound to a node by a scheduler.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

target

The target object that you want to bind to the standard object.

true

Section 2.3.165, “v1.ObjectReference”

 

3.3.17. v1.Capabilities

Adds and removes POSIX capabilities from running containers.

NameDescriptionRequiredSchemaDefault

add

Added capabilities

false

Section 2.3.39, “v1.Capability” array

 

drop

Removed capabilities

false

Section 2.3.39, “v1.Capability” array

 

3.3.18. v1.Capability

3.3.19. v1.CephFSVolumeSource

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

monitors

Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

true

string array

 

path

Optional: Used as the mounted root, rather than the full Ceph tree, default is /

false

string

 

user

Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

false

string

 

secretFile

Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

false

string

 

secretRef

Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

false

Section 2.3.144, “v1.LocalObjectReference”

 

readOnly

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

false

boolean

 

3.3.20. v1.CinderVolumeSource

Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

volumeID

volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

true

string

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

string

 

readOnly

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

boolean

 

3.3.21. v1.ComponentCondition

Information about the condition of a component.

NameDescriptionRequiredSchemaDefault

type

Type of condition for a component. Valid value: "Healthy"

true

string

 

status

Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".

true

string

 

message

Message about the condition for a component. For example, information about a health check.

false

string

 

error

Condition error code for a component. For example, a health check error code.

false

string

 

3.3.22. v1.ComponentStatus

ComponentStatus (and ComponentStatusList) holds the cluster validation info.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

conditions

List of component conditions observed

false

Section 3.3.21, “v1.ComponentCondition” array

 

3.3.23. v1.ComponentStatusList

Status of all the conditions for the component as a list of ComponentStatus objects.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of ComponentStatus objects.

true

Section 3.3.22, “v1.ComponentStatus” array

 

3.3.24. v1.ConfigMap

ConfigMap holds configuration data for pods to consume.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

data

Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.

false

object

 

3.3.25. v1.ConfigMapKeySelector

Selects a key from a ConfigMap.

NameDescriptionRequiredSchemaDefault

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

key

The key to select.

true

string

 

3.3.26. v1.ConfigMapList

ConfigMapList is a resource containing a list of ConfigMap objects.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.8, “unversioned.ListMeta”

 

items

Items is the list of ConfigMaps.

true

Section 3.3.24, “v1.ConfigMap” array

 

3.3.27. v1.ConfigMapVolumeSource

Adapts a ConfigMap into a volume.

The contents of the target ConfigMap’s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

items

If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.

false

Section 2.3.141, “v1.KeyToPath” array

 

defaultMode

Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.28. v1.Container

A single application container that you want to run within a pod.

NameDescriptionRequiredSchemaDefault

name

Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

true

string

 

image

Docker image name. More info: http://kubernetes.io/docs/user-guide/images

false

string

 

command

Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double , ie: (VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands

false

string array

 

args

Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double , ie: (VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands

false

string array

 

workingDir

Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.

false

string

 

ports

List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated.

false

Section 2.3.61, “v1.ContainerPort” array

 

env

List of environment variables to set in the container. Cannot be updated.

false

Section 2.3.91, “v1.EnvVar” array

 

resources

Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources

false

Section 2.3.204, “v1.ResourceRequirements”

 

volumeMounts

Pod volumes to mount into the container’s filesystem. Cannot be updated.

false

Section 2.3.260, “v1.VolumeMount” array

 

livenessProbe

Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes

false

Section 2.3.187, “v1.Probe”

 

readinessProbe

Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes

false

Section 2.3.187, “v1.Probe”

 

lifecycle

Actions that the management system should take in response to container lifecycle events. Cannot be updated.

false

Section 2.3.142, “v1.Lifecycle”

 

terminationMessagePath

Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.

false

string

 

imagePullPolicy

Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images

false

string

 

securityContext

Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md

false

Section 2.3.229, “v1.SecurityContext”

 

stdin

Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.

false

boolean

 

stdinOnce

Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false

false

boolean

 

tty

Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.

false

boolean

 

3.3.29. v1.ContainerImage

Describe a container image

NameDescriptionRequiredSchemaDefault

names

Names by which this image is known. e.g. ["gcr.io/google_containers/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]

true

string array

 

sizeBytes

The size of the image in bytes.

false

integer (int64)

 

3.3.30. v1.ContainerPort

ContainerPort represents a network port in a single container.

NameDescriptionRequiredSchemaDefault

name

If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.

false

string

 

hostPort

Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.

false

integer (int32)

 

containerPort

Number of port to expose on the pod’s IP address. This must be a valid port number, 0 < x < 65536.

true

integer (int32)

 

protocol

Protocol for port. Must be UDP or TCP. Defaults to "TCP".

false

string

 

hostIP

What host IP to bind the external port to.

false

string

 

3.3.31. v1.ContainerState

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

NameDescriptionRequiredSchemaDefault

waiting

Details about a waiting container

false

Section 3.3.34, “v1.ContainerStateWaiting”

 

running

Details about a running container

false

Section 3.3.32, “v1.ContainerStateRunning”

 

terminated

Details about a terminated container

false

Section 3.3.33, “v1.ContainerStateTerminated”

 

3.3.32. v1.ContainerStateRunning

ContainerStateRunning is a running state of a container.

NameDescriptionRequiredSchemaDefault

startedAt

Time at which the container was last (re-)started

false

string

 

3.3.33. v1.ContainerStateTerminated

ContainerStateTerminated is a terminated state of a container.

NameDescriptionRequiredSchemaDefault

exitCode

Exit status from the last termination of the container

true

integer (int32)

 

signal

Signal from the last termination of the container

false

integer (int32)

 

reason

(brief) reason from the last termination of the container

false

string

 

message

Message regarding the last termination of the container

false

string

 

startedAt

Time at which previous execution of the container started

false

string

 

finishedAt

Time at which the container last terminated

false

string

 

containerID

Container’s ID in the format 'docker://<container_id>'

false

string

 

3.3.34. v1.ContainerStateWaiting

ContainerStateWaiting is a waiting state of a container.

NameDescriptionRequiredSchemaDefault

reason

(brief) reason the container is not yet running.

false

string

 

message

Message regarding why the container is not yet running.

false

string

 

3.3.35. v1.ContainerStatus

ContainerStatus contains details for the current status of this container.

NameDescriptionRequiredSchemaDefault

name

This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

true

string

 

state

Details about the container’s current condition.

false

Section 3.3.31, “v1.ContainerState”

 

lastState

Details about the container’s last termination condition.

false

Section 3.3.31, “v1.ContainerState”

 

ready

Specifies whether the container has passed its readiness probe.

true

boolean

 

restartCount

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

true

integer (int32)

 

image

The image the container is running. More info: http://kubernetes.io/docs/user-guide/images

true

string

 

imageID

ImageID of the container’s image.

true

string

 

containerID

Container’s ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information

false

string

 

3.3.36. v1.DaemonEndpoint

DaemonEndpoint contains information about a single Daemon endpoint.

NameDescriptionRequiredSchemaDefault

Port

Port number of the given endpoint.

true

integer (int32)

 

3.3.37. v1.DeleteOptions

DeleteOptions may be provided when deleting an API object

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

gracePeriodSeconds

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

false

integer (int64)

 

preconditions

Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.

false

Section 2.3.186, “v1.Preconditions”

 

orphanDependents

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object’s finalizers list.

false

boolean

 

3.3.38. v1.DeprecatedDownwardAPIVolumeFile

DeprecatedDownwardAPIVolumeFile represents information to create the file containing the pod field This type is deprecated and should be replaced by use of the downwardAPI volume source.

NameDescriptionRequiredSchemaDefault

name

Required: Name is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'

true

string

 

fieldRef

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

false

Section 2.3.163, “v1.ObjectFieldSelector”

 

resourceFieldRef

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

false

Section 2.3.199, “v1.ResourceFieldSelector”

 

mode

Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.39. v1.DeprecatedDownwardAPIVolumeSource

DeprecatedDownwardAPIVolumeSource represents a volume containing downward API info. This type is deprecated and should be replaced by use of the downwardAPI volume source.

NameDescriptionRequiredSchemaDefault

items

Items is a list of downward API volume file

false

Section 2.3.80, “v1.DeprecatedDownwardAPIVolumeFile” array

 

defaultMode

Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.40. v1.DownwardAPIVolumeFile

DownwardAPIVolumeFile represents information to create the file containing the pod field

NameDescriptionRequiredSchemaDefault

path

Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'

true

string

 

fieldRef

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

false

Section 2.3.163, “v1.ObjectFieldSelector”

 

resourceFieldRef

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

false

Section 2.3.199, “v1.ResourceFieldSelector”

 

mode

Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.41. v1.DownwardAPIVolumeSource

DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

items

Items is a list of downward API volume file

false

Section 2.3.83, “v1.DownwardAPIVolumeFile” array

 

defaultMode

Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.42. v1.EmptyDirVolumeSource

Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

medium

What type of storage medium should back this directory. The default is "" which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir

false

string

 

3.3.43. v1.EndpointAddress

EndpointAddress is a tuple that describes single IP address.

NameDescriptionRequiredSchemaDefault

ip

The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

true

string

 

hostname

The Hostname of this endpoint

false

string

 

nodeName

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

false

string

 

targetRef

Reference to object providing the endpoint.

false

Section 2.3.165, “v1.ObjectReference”

 

3.3.44. v1.EndpointPort

EndpointPort is a tuple that describes a single port.

NameDescriptionRequiredSchemaDefault

name

The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.

false

string

 

port

The port number of the endpoint.

true

integer (int32)

 

protocol

The IP protocol for this port. Must be UDP or TCP. Default is TCP.

false

string

 

3.3.45. v1.EndpointSubset

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:
{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}
The resulting set of endpoints can be viewed as:
a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

NameDescriptionRequiredSchemaDefault

addresses

IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.

false

Section 3.3.43, “v1.EndpointAddress” array

 

notReadyAddresses

IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.

false

Section 3.3.43, “v1.EndpointAddress” array

 

ports

Port numbers available on the related IP addresses.

false

Section 3.3.44, “v1.EndpointPort” array

 

3.3.46. v1.Endpoints

Endpoints is a collection of endpoints that implement the actual service. Example:
Name: "mysvc",
Subsets: [
{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
},
{
Addresses: [{"ip": "10.10.3.3"}],
Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
},
]

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

subsets

The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.

true

Section 3.3.45, “v1.EndpointSubset” array

 

3.3.47. v1.EndpointsList

EndpointsList is a list of endpoints.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of endpoints.

true

Section 3.3.46, “v1.Endpoints” array

 

3.3.48. v1.EnvVar

EnvVar represents an environment variable present in a Container.

NameDescriptionRequiredSchemaDefault

name

Name of the environment variable. Must be a C_IDENTIFIER.

true

string

 

value

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double , ie: (VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

false

string

 

valueFrom

Source for the environment variable’s value. Cannot be used if value is not empty.

false

Section 2.3.92, “v1.EnvVarSource”

 

3.3.49. v1.EnvVarSource

EnvVarSource represents a source for the value of an EnvVar.

NameDescriptionRequiredSchemaDefault

fieldRef

Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.

false

Section 2.3.163, “v1.ObjectFieldSelector”

 

resourceFieldRef

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

false

Section 2.3.199, “v1.ResourceFieldSelector”

 

configMapKeyRef

Selects a key of a ConfigMap.

false

Section 2.3.58, “v1.ConfigMapKeySelector”

 

secretKeyRef

Selects a key of a secret in the pod’s namespace

false

Section 2.3.225, “v1.SecretKeySelector”

 

3.3.50. v1.Event

Event is a report of an event somewhere in the cluster.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

true

Section 2.3.164, “v1.ObjectMeta”

 

involvedObject

The object that this event is about.

true

Section 2.3.165, “v1.ObjectReference”

 

reason

This should be a short, machine understandable string that gives the reason for the transition into the object’s current status.

false

string

 

message

A human-readable description of the status of this operation.

false

string

 

source

The component reporting this event. Should be a short machine understandable string.

false

Section 3.3.52, “v1.EventSource”

 

firstTimestamp

The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

false

string

 

lastTimestamp

The time at which the most recent occurrence of this event was recorded.

false

string

 

count

The number of times this event has occurred.

false

integer (int32)

 

type

Type of this event (Normal, Warning), new types could be added in the future

false

string

 

3.3.51. v1.EventList

EventList is a list of events.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of events

true

Section 3.3.50, “v1.Event” array

 

3.3.52. v1.EventSource

EventSource contains information for an event.

NameDescriptionRequiredSchemaDefault

component

Component from which the event is generated.

false

string

 

host

Node name on which the event is generated.

false

string

 

3.3.53. v1.ExecAction

ExecAction describes a "run in container" action.

NameDescriptionRequiredSchemaDefault

command

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions ('|', etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

false

string array

 

3.3.54. v1.FCVolumeSource

Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

targetWWNs

Required: FC target worldwide names (WWNs)

true

string array

 

lun

Required: FC target lun number

true

integer (int32)

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

false

string

 

readOnly

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

 

3.3.55. v1.FSGroupStrategyOptions

FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

NameDescriptionRequiredSchemaDefault

type

Type is the strategy that will dictate what FSGroup is used in the SecurityContext.

false

string

 

ranges

Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.

false

Section 3.3.67, “v1.IDRange” array

 

3.3.56. v1.FSType

3.3.57. v1.FinalizerName

3.3.58. v1.FlexVolumeSource

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.

NameDescriptionRequiredSchemaDefault

driver

Driver is the name of the driver to use for this volume.

true

string

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.

false

string

 

secretRef

Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

false

Section 2.3.144, “v1.LocalObjectReference”

 

readOnly

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

 

options

Optional: Extra command options if any.

false

object

 

3.3.59. v1.FlockerVolumeSource

Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

datasetName

Name of the dataset stored as metadata name on the dataset for Flocker should be considered as deprecated

false

string

 

datasetUUID

UUID of the dataset. This is unique identifier of a Flocker dataset

false

string

 

3.3.60. v1.GCEPersistentDiskVolumeSource

Represents a Persistent Disk resource in Google Compute Engine.

A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

pdName

Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

true

string

 

fsType

Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

false

string

 

partition

The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

false

integer (int32)

 

readOnly

ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

false

boolean

 

3.3.61. v1.GitRepoVolumeSource

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

NameDescriptionRequiredSchemaDefault

repository

Repository URL

true

string

 

revision

Commit hash for the specified revision.

false

string

 

directory

Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

false

string

 

3.3.62. v1.GlusterfsVolumeSource

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

endpoints

EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

true

string

 

path

Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

true

string

 

readOnly

ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

false

boolean

 

3.3.63. v1.HTTPGetAction

HTTPGetAction describes an action based on HTTP Get requests.

NameDescriptionRequiredSchemaDefault

path

Path to access on the HTTP server.

false

string

 

port

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

true

string

 

host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

false

string

 

scheme

Scheme to use for connecting to the host. Defaults to HTTP.

false

string

 

httpHeaders

Custom headers to set in the request. HTTP allows repeated headers.

false

Section 2.3.110, “v1.HTTPHeader” array

 

3.3.64. v1.HTTPHeader

HTTPHeader describes a custom header to be used in HTTP probes

NameDescriptionRequiredSchemaDefault

name

The header field name

true

string

 

value

The header field value

true

string

 

3.3.65. v1.Handler

Handler defines a specific action that should be taken

NameDescriptionRequiredSchemaDefault

exec

One and only one of the following should be specified. Exec specifies the action to take.

false

Section 2.3.93, “v1.ExecAction”

 

httpGet

HTTPGet specifies the http request to perform.

false

Section 2.3.109, “v1.HTTPGetAction”

 

tcpSocket

TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported

false

Section 2.3.245, “v1.TCPSocketAction”

 

3.3.66. v1.HostPathVolumeSource

Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

path

Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath

true

string

 

3.3.67. v1.IDRange

IDRange provides a min/max of an allowed range of IDs.

NameDescriptionRequiredSchemaDefault

min

Min is the start of the range, inclusive.

false

integer (int64)

 

max

Max is the end of the range, inclusive.

false

integer (int64)

 

3.3.68. v1.ISCSIVolumeSource

Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

targetPortal

iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

true

string

 

iqn

Target iSCSI Qualified Name.

true

string

 

lun

iSCSI target lun number.

true

integer (int32)

 

iscsiInterface

Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.

false

string

 

fsType

Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi

false

string

 

readOnly

ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.

false

boolean

 

3.3.69. v1.KeyToPath

Maps a string key to a path within a volume.

NameDescriptionRequiredSchemaDefault

key

The key to project.

true

string

 

path

The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

true

string

 

mode

Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.70. v1.Lifecycle

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

NameDescriptionRequiredSchemaDefault

postStart

PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details

false

Section 2.3.111, “v1.Handler”

 

preStop

PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details

false

Section 2.3.111, “v1.Handler”

 

3.3.71. v1.LimitRange

LimitRange sets resource usage limits for each kind of resource in a Namespace.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.74, “v1.LimitRangeSpec”

 

3.3.72. v1.LimitRangeItem

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

NameDescriptionRequiredSchemaDefault

type

Type of resource that this limit applies to.

false

string

 

max

Max usage constraints on this kind by resource name.

false

object

 

min

Min usage constraints on this kind by resource name.

false

object

 

default

Default resource requirement limit value by resource name if resource limit is omitted.

false

object

 

defaultRequest

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

false

object

 

maxLimitRequestRatio

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

false

object

 

3.3.73. v1.LimitRangeList

LimitRangeList is a list of LimitRange items.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md

true

Section 3.3.71, “v1.LimitRange” array

 

3.3.74. v1.LimitRangeSpec

LimitRangeSpec defines a min/max usage limit for resources that match on kind.

NameDescriptionRequiredSchemaDefault

limits

Limits is the list of LimitRangeItem objects that are enforced.

true

Section 3.3.72, “v1.LimitRangeItem” array

 

3.3.75. v1.LoadBalancerIngress

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

NameDescriptionRequiredSchemaDefault

ip

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)

false

string

 

hostname

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)

false

string

 

3.3.76. v1.LoadBalancerStatus

LoadBalancerStatus represents the status of a load-balancer.

NameDescriptionRequiredSchemaDefault

ingress

Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.

false

Section 3.3.75, “v1.LoadBalancerIngress” array

 

3.3.77. v1.LocalObjectReference

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

NameDescriptionRequiredSchemaDefault

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

3.3.78. v1.NFSVolumeSource

Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

server

Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs

true

string

 

path

Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs

true

string

 

readOnly

ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs

false

boolean

 

3.3.79. v1.Namespace

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

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.81, “v1.NamespaceSpec”

 

status

Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.82, “v1.NamespaceStatus”

 

3.3.80. v1.NamespaceList

NamespaceList is a list of Namespaces.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces

true

Section 3.3.79, “v1.Namespace” array

 

3.3.81. v1.NamespaceSpec

NamespaceSpec describes the attributes on a Namespace.

NameDescriptionRequiredSchemaDefault

finalizers

Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers

false

Section 2.3.96, “v1.FinalizerName” array

 

3.3.82. v1.NamespaceStatus

NamespaceStatus is information about the current status of a Namespace.

NameDescriptionRequiredSchemaDefault

phase

Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases

false

string

 

3.3.83. v1.Node

Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.88, “v1.NodeSpec”

 

status

Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.89, “v1.NodeStatus”

 

3.3.84. v1.NodeAddress

NodeAddress contains information for the node’s address.

NameDescriptionRequiredSchemaDefault

type

Node address type, one of Hostname, ExternalIP or InternalIP.

true

string

 

address

The node address.

true

string

 

3.3.85. v1.NodeCondition

NodeCondition contains condition information for a node.

NameDescriptionRequiredSchemaDefault

type

Type of node condition.

true

string

 

status

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

true

string

 

lastHeartbeatTime

Last time we got an update on a given condition.

false

string

 

lastTransitionTime

Last time the condition transit from one status to another.

false

string

 

reason

(brief) reason for the condition’s last transition.

false

string

 

message

Human readable message indicating details about last transition.

false

string

 

3.3.86. v1.NodeDaemonEndpoints

NodeDaemonEndpoints lists ports opened by daemons running on the Node.

NameDescriptionRequiredSchemaDefault

kubeletEndpoint

Endpoint on which Kubelet is listening.

false

Section 3.3.36, “v1.DaemonEndpoint”

 

3.3.87. v1.NodeList

NodeList is the whole list of all Nodes which have been registered with master.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of nodes

true

Section 3.3.83, “v1.Node” array

 

3.3.88. v1.NodeSpec

NodeSpec describes the attributes that a node is created with.

NameDescriptionRequiredSchemaDefault

podCIDR

PodCIDR represents the pod IP range assigned to the node.

false

string

 

externalID

External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.

false

string

 

providerID

ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>

false

string

 

unschedulable

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration

false

boolean

 

3.3.89. v1.NodeStatus

NodeStatus is information about the current status of a node.

NameDescriptionRequiredSchemaDefault

capacity

Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.

false

object

 

allocatable

Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.

false

object

 

phase

NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.

false

string

 

conditions

Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition

false

Section 3.3.85, “v1.NodeCondition” array

 

addresses

List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses

false

Section 3.3.84, “v1.NodeAddress” array

 

daemonEndpoints

Endpoints of daemons running on the Node.

false

Section 3.3.86, “v1.NodeDaemonEndpoints”

 

nodeInfo

Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info

false

Section 3.3.90, “v1.NodeSystemInfo”

 

images

List of container images on this node

false

Section 3.3.29, “v1.ContainerImage” array

 

volumesInUse

List of attachable volumes in use (mounted) by the node.

false

Section 3.3.153, “v1.UniqueVolumeName” array

 

volumesAttached

List of volumes that are attached to the node.

false

Section 3.3.12, “v1.AttachedVolume” array

 

3.3.90. v1.NodeSystemInfo

NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

NameDescriptionRequiredSchemaDefault

machineID

MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html

true

string

 

systemUUID

SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html

true

string

 

bootID

Boot ID reported by the node.

true

string

 

kernelVersion

Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).

true

string

 

osImage

OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).

true

string

 

containerRuntimeVersion

ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).

true

string

 

kubeletVersion

Kubelet Version reported by the node.

true

string

 

kubeProxyVersion

KubeProxy Version reported by the node.

true

string

 

operatingSystem

The Operating System reported by the node

true

string

 

architecture

The Architecture reported by the node

true

string

 

3.3.91. v1.ObjectFieldSelector

ObjectFieldSelector selects an APIVersioned field of an object.

NameDescriptionRequiredSchemaDefault

apiVersion

Version of the schema the FieldPath is written in terms of, defaults to "v1".

false

string

 

fieldPath

Path of the field to select in the specified API version.

true

string

 

3.3.92. v1.ObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

NameDescriptionRequiredSchemaDefault

name

Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

generateName

GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.

If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).

Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency

false

string

 

namespace

Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.

Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces

false

string

 

selfLink

SelfLink is a URL representing this object. Populated by the system. Read-only.

false

string

 

uid

UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.

Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

false

string

 

resourceVersion

An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.

Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency

false

string

 

generation

A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.

false

integer (int64)

 

creationTimestamp

CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.

Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

string

 

deletionTimestamp

DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.

Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

string

 

deletionGracePeriodSeconds

Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.

false

integer (int64)

 

labels

Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels

false

object

 

annotations

Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations

false

object

 

ownerReferences

List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.

false

Section 2.3.166, “v1.OwnerReference” array

 

finalizers

Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.

false

string array

 

clusterName

The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.

false

string

 

3.3.93. v1.ObjectReference

ObjectReference contains enough information to let you inspect or modify the referred object.

NameDescriptionRequiredSchemaDefault

kind

Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

namespace

Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces

false

string

 

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

uid

UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

false

string

 

apiVersion

API version of the referent.

false

string

 

resourceVersion

Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency

false

string

 

fieldPath

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

false

string

 

3.3.94. v1.OwnerReference

OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.

NameDescriptionRequiredSchemaDefault

apiVersion

API version of the referent.

true

string

 

kind

Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

true

string

 

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

true

string

 

uid

UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

true

string

 

controller

If true, this reference points to the managing controller.

false

boolean

 

3.3.95. v1.PersistentVolume

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes

false

Section 3.3.103, “v1.PersistentVolumeSpec”

 

status

Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes

false

Section 3.3.104, “v1.PersistentVolumeStatus”

 

3.3.96. v1.PersistentVolumeAccessMode

3.3.97. v1.PersistentVolumeClaim

PersistentVolumeClaim is a user’s request for and claim to a persistent volume

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims

false

Section 3.3.99, “v1.PersistentVolumeClaimSpec”

 

status

Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims

false

Section 3.3.100, “v1.PersistentVolumeClaimStatus”

 

3.3.98. v1.PersistentVolumeClaimList

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims

true

Section 3.3.97, “v1.PersistentVolumeClaim” array

 

3.3.99. v1.PersistentVolumeClaimSpec

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

NameDescriptionRequiredSchemaDefault

accessModes

AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1

false

Section 3.3.96, “v1.PersistentVolumeAccessMode” array

 

selector

A label query over volumes to consider for binding.

false

Section 2.3.6, “unversioned.LabelSelector”

 

resources

Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources

false

Section 2.3.204, “v1.ResourceRequirements”

 

volumeName

VolumeName is the binding reference to the PersistentVolume backing this claim.

false

string

 

3.3.100. v1.PersistentVolumeClaimStatus

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

NameDescriptionRequiredSchemaDefault

phase

Phase represents the current phase of PersistentVolumeClaim.

false

string

 

accessModes

AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1

false

Section 3.3.96, “v1.PersistentVolumeAccessMode” array

 

capacity

Represents the actual resources of the underlying volume.

false

object

 

3.3.101. v1.PersistentVolumeClaimVolumeSource

PersistentVolumeClaimVolumeSource references the user’s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

NameDescriptionRequiredSchemaDefault

claimName

ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims

true

string

 

readOnly

Will force the ReadOnly setting in VolumeMounts. Default false.

false

boolean

 

3.3.102. v1.PersistentVolumeList

PersistentVolumeList is a list of PersistentVolume items.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes

true

Section 3.3.95, “v1.PersistentVolume” array

 

3.3.103. v1.PersistentVolumeSpec

PersistentVolumeSpec is the specification of a persistent volume.

NameDescriptionRequiredSchemaDefault

capacity

A description of the persistent volume’s resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity

false

object

 

gcePersistentDisk

GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

false

Section 2.3.99, “v1.GCEPersistentDiskVolumeSource”

 

awsElasticBlockStore

AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore

false

Section 2.3.13, “v1.AWSElasticBlockStoreVolumeSource”

 

hostPath

HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath

false

Section 2.3.112, “v1.HostPathVolumeSource”

 

glusterfs

Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md

false

Section 2.3.105, “v1.GlusterfsVolumeSource”

 

nfs

NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs

false

Section 2.3.147, “v1.NFSVolumeSource”

 

rbd

RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md

false

Section 2.3.194, “v1.RBDVolumeSource”

 

iscsi

ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. Provisioned by an admin.

false

Section 2.3.115, “v1.ISCSIVolumeSource”

 

cinder

Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

Section 2.3.41, “v1.CinderVolumeSource”

 

cephfs

CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime

false

Section 2.3.40, “v1.CephFSVolumeSource”

 

fc

FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.

false

Section 2.3.95, “v1.FCVolumeSource”

 

flocker

Flocker represents a Flocker volume attached to a kubelet’s host machine and exposed to the pod for its usage. This depends on the Flocker control service being running

false

Section 2.3.98, “v1.FlockerVolumeSource”

 

flexVolume

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.

false

Section 2.3.97, “v1.FlexVolumeSource”

 

azureFile

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

false

Section 2.3.18, “v1.AzureFileVolumeSource”

 

vsphereVolume

VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine

false

Section 2.3.261, “v1.VsphereVirtualDiskVolumeSource”

 

quobyte

Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime

false

Section 2.3.193, “v1.QuobyteVolumeSource”

 

azureDisk

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

false

Section 2.3.17, “v1.AzureDiskVolumeSource”

 

photonPersistentDisk

PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine

false

Section 2.3.169, “v1.PhotonPersistentDiskVolumeSource”

 

accessModes

AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes

false

Section 3.3.96, “v1.PersistentVolumeAccessMode” array

 

claimRef

ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding

false

Section 2.3.165, “v1.ObjectReference”

 

persistentVolumeReclaimPolicy

What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy

false

string

 

3.3.104. v1.PersistentVolumeStatus

PersistentVolumeStatus is the current status of a persistent volume.

NameDescriptionRequiredSchemaDefault

phase

Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase

false

string

 

message

A human-readable message indicating details about why the volume is in this state.

false

string

 

reason

Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.

false

string

 

3.3.105. v1.PhotonPersistentDiskVolumeSource

Represents a Photon Controller persistent disk resource.

NameDescriptionRequiredSchemaDefault

pdID

ID that identifies Photon Controller persistent disk

true

string

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

false

string

 

3.3.106. v1.Pod

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 2.3.179, “v1.PodSpec”

 

status

Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.111, “v1.PodStatus”

 

3.3.107. v1.PodCondition

PodCondition contains details for the current condition of this pod.

NameDescriptionRequiredSchemaDefault

type

Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions

true

string

 

status

Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions

true

string

 

lastProbeTime

Last time we probed the condition.

false

string

 

lastTransitionTime

Last time the condition transitioned from one status to another.

false

string

 

reason

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

false

string

 

message

Human-readable message indicating details about last transition.

false

string

 

3.3.108. v1.PodList

PodList is a list of Pods.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of pods. More info: http://kubernetes.io/docs/user-guide/pods

true

Section 3.3.106, “v1.Pod” array

 

3.3.109. v1.PodSecurityContext

PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

NameDescriptionRequiredSchemaDefault

seLinuxOptions

The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.

false

Section 2.3.221, “v1.SELinuxOptions”

 

runAsUser

The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.

false

integer (int64)

 

runAsNonRoot

Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

false

boolean

 

supplementalGroups

A list of groups applied to the first process run in each container, in addition to the container’s primary GID. If unspecified, no groups will be added to any container.

false

integer array

 

fsGroup

A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:

1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR’d with rw-rw

false

integer (int64)

 

3.3.110. v1.PodSpec

PodSpec is a description of a pod.

NameDescriptionRequiredSchemaDefault

volumes

List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes

false

Section 2.3.259, “v1.Volume” array

 

containers

List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers

true

Section 2.3.60, “v1.Container” array

 

restartPolicy

Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy

false

string

 

terminationGracePeriodSeconds

Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

false

integer (int64)

 

activeDeadlineSeconds

Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.

false

integer (int64)

 

dnsPolicy

Set DNS policy for containers within the pod. One of 'ClusterFirst' or 'Default'. Defaults to "ClusterFirst".

false

string

 

nodeSelector

NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README

false

object

 

serviceAccountName

ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md

false

string

 

serviceAccount

DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.

false

string

 

nodeName

NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.

false

string

 

hostNetwork

Host networking requested for this pod. Use the host’s network namespace. If this option is set, the ports that will be used must be specified. Default to false.

false

boolean

 

hostPID

Use the host’s pid namespace. Optional: Default to false.

false

boolean

 

hostIPC

Use the host’s ipc namespace. Optional: Default to false.

false

boolean

 

securityContext

SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.

false

Section 2.3.170, “v1.PodSecurityContext”

 

imagePullSecrets

ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod

false

Section 2.3.144, “v1.LocalObjectReference” array

 

hostname

Specifies the hostname of the Pod If not specified, the pod’s hostname will be set to a system-defined value.

false

string

 

subdomain

If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all.

false

string

 

3.3.111. v1.PodStatus

PodStatus represents information about the status of a pod. Status may trail the actual state of a system.

NameDescriptionRequiredSchemaDefault

phase

Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase

false

string

 

conditions

Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions

false

Section 3.3.107, “v1.PodCondition” array

 

message

A human readable message indicating details about why the pod is in this condition.

false

string

 

reason

A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'

false

string

 

hostIP

IP address of the host to which the pod is assigned. Empty if not yet scheduled.

false

string

 

podIP

IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.

false

string

 

startTime

RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.

false

string

 

containerStatuses

The list has one entry per container in the manifest. Each entry is currently the output of docker inspect. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses

false

Section 3.3.35, “v1.ContainerStatus” array

 

3.3.112. v1.PodTemplate

PodTemplate describes a template for creating copies of a predefined pod.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

template

Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 2.3.180, “v1.PodTemplateSpec”

 

3.3.113. v1.PodTemplateList

PodTemplateList is a list of PodTemplates.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of pod templates

true

Section 3.3.112, “v1.PodTemplate” array

 

3.3.114. v1.PodTemplateSpec

PodTemplateSpec describes the data a pod should have when created from a template

NameDescriptionRequiredSchemaDefault

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 2.3.179, “v1.PodSpec”

 

3.3.115. v1.Preconditions

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

NameDescriptionRequiredSchemaDefault

uid

Specifies the target UID.

false

Section 2.3.3, “types.UID”

 

3.3.116. v1.Probe

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

NameDescriptionRequiredSchemaDefault

exec

One and only one of the following should be specified. Exec specifies the action to take.

false

Section 2.3.93, “v1.ExecAction”

 

httpGet

HTTPGet specifies the http request to perform.

false

Section 2.3.109, “v1.HTTPGetAction”

 

tcpSocket

TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported

false

Section 2.3.245, “v1.TCPSocketAction”

 

initialDelaySeconds

Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes

false

integer (int32)

 

timeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes

false

integer (int32)

 

periodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.

false

integer (int32)

 

successThreshold

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.

false

integer (int32)

 

failureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

false

integer (int32)

 

3.3.117. v1.QuobyteVolumeSource

Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.

NameDescriptionRequiredSchemaDefault

registry

Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes

true

string

 

volume

Volume is a string that references an already created Quobyte volume by name.

true

string

 

readOnly

ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.

false

boolean

 

user

User to map volume access to Defaults to serivceaccount user

false

string

 

group

Group to map volume access to Default is no group

false

string

 

3.3.118. v1.RBDVolumeSource

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

monitors

A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

true

string array

 

image

The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

true

string

 

fsType

Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd

false

string

 

pool

The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.

false

string

 

user

The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

false

string

 

keyring

Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

false

string

 

secretRef

SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

false

Section 2.3.144, “v1.LocalObjectReference”

 

readOnly

ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

false

boolean

 

3.3.119. v1.ReplicationController

ReplicationController represents the configuration of a replication controller.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.122, “v1.ReplicationControllerSpec”

 

status

Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.123, “v1.ReplicationControllerStatus”

 

3.3.120. v1.ReplicationControllerCondition

ReplicationControllerCondition describes the state of a replication controller at a certain point.

NameDescriptionRequiredSchemaDefault

type

Type of replication controller condition.

true

string

 

status

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

true

string

 

lastTransitionTime

The last time the condition transitioned from one status to another.

false

string

 

reason

The reason for the condition’s last transition.

false

string

 

message

A human readable message indicating details about the transition.

false

string

 

3.3.121. v1.ReplicationControllerList

ReplicationControllerList is a collection of replication controllers.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller

true

Section 3.3.119, “v1.ReplicationController” array

 

3.3.122. v1.ReplicationControllerSpec

ReplicationControllerSpec is the specification of a replication controller.

NameDescriptionRequiredSchemaDefault

replicas

Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller

false

integer (int32)

 

minReadySeconds

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)

false

integer (int32)

 

selector

Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

object

 

template

Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template

false

Section 2.3.180, “v1.PodTemplateSpec”

 

3.3.123. v1.ReplicationControllerStatus

ReplicationControllerStatus represents the current status of a replication controller.

NameDescriptionRequiredSchemaDefault

replicas

Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller

true

integer (int32)

 

fullyLabeledReplicas

The number of pods that have labels matching the labels of the pod template of the replication controller.

false

integer (int32)

 

readyReplicas

The number of ready replicas for this replication controller.

false

integer (int32)

 

availableReplicas

The number of available replicas (ready for at least minReadySeconds) for this replication controller.

false

integer (int32)

 

observedGeneration

ObservedGeneration reflects the generation of the most recently observed replication controller.

false

integer (int64)

 

conditions

Represents the latest available observations of a replication controller’s current state.

false

Section 3.3.120, “v1.ReplicationControllerCondition” array

 

3.3.124. v1.ResourceFieldSelector

ResourceFieldSelector represents container resources (cpu, memory) and their output format

NameDescriptionRequiredSchemaDefault

containerName

Container name: required for volumes, optional for env vars

false

string

 

resource

Required: resource to select

true

string

 

divisor

Specifies the output format of the exposed resources, defaults to "1"

false

string

 

3.3.125. v1.ResourceQuota

ResourceQuota sets aggregate quota restrictions enforced per namespace

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 2.3.201, “v1.ResourceQuotaSpec”

 

status

Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 2.3.202, “v1.ResourceQuotaStatus”

 

3.3.126. v1.ResourceQuotaList

ResourceQuotaList is a list of ResourceQuota items.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota

true

Section 3.3.125, “v1.ResourceQuota” array

 

3.3.127. v1.ResourceQuotaScope

3.3.128. v1.ResourceQuotaSpec

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

NameDescriptionRequiredSchemaDefault

hard

Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota

false

object

 

scopes

A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.

false

Section 2.3.200, “v1.ResourceQuotaScope” array

 

3.3.129. v1.ResourceQuotaStatus

ResourceQuotaStatus defines the enforced hard limits and observed use.

NameDescriptionRequiredSchemaDefault

hard

Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota

false

object

 

used

Used is the current observed total usage of the resource in the namespace.

false

object

 

3.3.130. v1.ResourceRequirements

ResourceRequirements describes the compute resource requirements.

NameDescriptionRequiredSchemaDefault

limits

Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/

false

object

 

requests

Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/

false

object

 

3.3.131. v1.RunAsUserStrategyOptions

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

NameDescriptionRequiredSchemaDefault

type

Type is the strategy that will dictate what RunAsUser is used in the SecurityContext.

false

string

 

uid

UID is the user id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated uids.

false

integer (int64)

 

uidRangeMin

UIDRangeMin defines the min value for a strategy that allocates by range.

false

integer (int64)

 

uidRangeMax

UIDRangeMax defines the max value for a strategy that allocates by range.

false

integer (int64)

 

3.3.132. v1.SELinuxContextStrategyOptions

SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.

NameDescriptionRequiredSchemaDefault

type

Type is the strategy that will dictate what SELinux context is used in the SecurityContext.

false

string

 

seLinuxOptions

seLinuxOptions required to run as; required for MustRunAs

false

Section 2.3.221, “v1.SELinuxOptions”

 

3.3.133. v1.SELinuxOptions

SELinuxOptions are the labels to be applied to the container

NameDescriptionRequiredSchemaDefault

user

User is a SELinux user label that applies to the container.

false

string

 

role

Role is a SELinux role label that applies to the container.

false

string

 

type

Type is a SELinux type label that applies to the container.

false

string

 

level

Level is SELinux level label that applies to the container.

false

string

 

3.3.134. v1.Scale

Scale represents a scaling request for a resource.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.

false

Section 3.3.135, “v1.ScaleSpec”

 

status

current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.

false

Section 3.3.136, “v1.ScaleStatus”

 

3.3.135. v1.ScaleSpec

ScaleSpec describes the attributes of a scale subresource.

NameDescriptionRequiredSchemaDefault

replicas

desired number of instances for the scaled object.

false

integer (int32)

 

3.3.136. v1.ScaleStatus

ScaleStatus represents the current status of a scale subresource.

NameDescriptionRequiredSchemaDefault

replicas

actual number of observed instances of the scaled object.

true

integer (int32)

 

selector

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

string

 

3.3.137. v1.Secret

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

data

Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

false

object

 

stringData

stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.

false

object

 

type

Used to facilitate programmatic handling of secret data.

false

string

 

3.3.138. v1.SecretKeySelector

SecretKeySelector selects a key of a Secret.

NameDescriptionRequiredSchemaDefault

name

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

false

string

 

key

The key of the secret to select from. Must be a valid secret key.

true

string

 

3.3.139. v1.SecretList

SecretList is a list of Secret.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets

true

Section 2.3.223, “v1.Secret” array

 

3.3.140. v1.SecretVolumeSource

Adapts a Secret into a volume.

The contents of the target Secret’s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

NameDescriptionRequiredSchemaDefault

secretName

Name of the secret in the pod’s namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets

false

string

 

items

If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.

false

Section 2.3.141, “v1.KeyToPath” array

 

defaultMode

Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

false

integer (int32)

 

3.3.141. v1.SecurityContext

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

NameDescriptionRequiredSchemaDefault

capabilities

The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.

false

Section 2.3.38, “v1.Capabilities”

 

privileged

Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.

false

boolean

 

seLinuxOptions

The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

false

Section 2.3.221, “v1.SELinuxOptions”

 

runAsUser

The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

false

integer (int64)

 

runAsNonRoot

Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

false

boolean

 

readOnlyRootFilesystem

Whether this container has a read-only root filesystem. Default is false.

false

boolean

 

3.3.142. v1.SecurityContextConstraints

SecurityContextConstraints governs the ability to make requests that affect the SecurityContext that will be applied to a container.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

priority

Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name.

true

integer (int32)

 

allowPrivilegedContainer

AllowPrivilegedContainer determines if a container can request to be run as privileged.

true

boolean

 

defaultAddCapabilities

DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.

true

Section 2.3.39, “v1.Capability” array

 

requiredDropCapabilities

RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.

true

Section 2.3.39, “v1.Capability” array

 

allowedCapabilities

AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field maybe added at the pod author’s discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.

true

Section 2.3.39, “v1.Capability” array

 

allowHostDirVolumePlugin

AllowHostDirVolumePlugin determines if the policy allow containers to use the HostDir volume plugin

true

boolean

 

volumes

Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'.

true

Section 3.3.56, “v1.FSType” array

 

allowHostNetwork

AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec.

true

boolean

 

allowHostPorts

AllowHostPorts determines if the policy allows host ports in the containers.

true

boolean

 

allowHostPID

AllowHostPID determines if the policy allows host pid in the containers.

true

boolean

 

allowHostIPC

AllowHostIPC determines if the policy allows host ipc in the containers.

true

boolean

 

seLinuxContext

SELinuxContext is the strategy that will dictate what labels will be set in the SecurityContext.

false

Section 3.3.132, “v1.SELinuxContextStrategyOptions”

 

runAsUser

RunAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext.

false

Section 3.3.131, “v1.RunAsUserStrategyOptions”

 

supplementalGroups

SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.

false

Section 3.3.151, “v1.SupplementalGroupsStrategyOptions”

 

fsGroup

FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.

false

Section 3.3.55, “v1.FSGroupStrategyOptions”

 

readOnlyRootFilesystem

ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the SCC should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.

true

boolean

 

users

The users who have permissions to use this security context constraints

false

string array

 

groups

The groups that have permission to use this security context constraints

false

string array

 

seccompProfiles

SeccompProfiles lists the allowed profiles that may be set for the pod or container’s seccomp annotations. An unset (nil) or empty value means that no profiles may be specifid by the pod or container. The wildcard '*' may be used to allow all profiles. When used to generate a value for a pod the first non-wildcard profile will be used as the default.

false

string array

 

3.3.143. v1.SecurityContextConstraintsList

SecurityContextConstraintsList is a list of SecurityContextConstraints objects

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of security context constraints.

true

Section 3.3.142, “v1.SecurityContextConstraints” array

 

3.3.144. v1.Service

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

spec

Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.149, “v1.ServiceSpec”

 

status

Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

false

Section 3.3.150, “v1.ServiceStatus”

 

3.3.145. v1.ServiceAccount

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

false

Section 2.3.164, “v1.ObjectMeta”

 

secrets

Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets

false

Section 2.3.165, “v1.ObjectReference” array

 

imagePullSecrets

ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret

false

Section 2.3.144, “v1.LocalObjectReference” array

 

3.3.146. v1.ServiceAccountList

ServiceAccountList is a list of ServiceAccount objects

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts

true

Section 3.3.145, “v1.ServiceAccount” array

 

3.3.147. v1.ServiceList

ServiceList holds a list of services.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

Section 2.3.8, “unversioned.ListMeta”

 

items

List of services

true

Section 3.3.144, “v1.Service” array

 

3.3.148. v1.ServicePort

ServicePort contains information on service’s port.

NameDescriptionRequiredSchemaDefault

name

The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.

false

string

 

protocol

The IP protocol for this port. Supports "TCP" and "UDP". Default is TCP.

false

string

 

port

The port that will be exposed by this service.

true

integer (int32)

 

targetPort

Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod’s container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service

false

string

 

nodePort

The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type—​nodeport

false

integer (int32)

 

3.3.149. v1.ServiceSpec

ServiceSpec describes the attributes that a user creates on a service.

NameDescriptionRequiredSchemaDefault

ports

The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies

true

Section 3.3.148, “v1.ServicePort” array

 

selector

Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview

false

object

 

clusterIP

clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are "None", empty string (""), or a valid IP address. "None" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies

false

string

 

type

type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ExternalName" maps to the specified externalName. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview

false

string

 

externalIPs

externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field.

false

string array

 

deprecatedPublicIPs

deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs and externalIPs are set, deprecatedPublicIPs is used.

false

string array

 

sessionAffinity

Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies

false

string

 

loadBalancerIP

Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.

false

string

 

loadBalancerSourceRanges

If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: http://kubernetes.io/docs/user-guide/services-firewalls

false

string array

 

externalName

externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.

false

string

 

3.3.150. v1.ServiceStatus

ServiceStatus represents the current status of a service.

NameDescriptionRequiredSchemaDefault

loadBalancer

LoadBalancer contains the current status of the load-balancer, if one is present.

false

Section 3.3.76, “v1.LoadBalancerStatus”

 

3.3.151. v1.SupplementalGroupsStrategyOptions

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.

NameDescriptionRequiredSchemaDefault

type

Type is the strategy that will dictate what supplemental groups is used in the SecurityContext.

false

string

 

ranges

Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.

false

Section 3.3.67, “v1.IDRange” array

 

3.3.152. v1.TCPSocketAction

TCPSocketAction describes an action based on opening a socket

NameDescriptionRequiredSchemaDefault

port

Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

true

string

 

3.3.153. v1.UniqueVolumeName

3.3.154. v1.Volume

Volume represents a named volume in a pod that may be accessed by any container in the pod.

NameDescriptionRequiredSchemaDefault

name

Volume’s name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names

true

string

 

hostPath

HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath

false

Section 2.3.112, “v1.HostPathVolumeSource”

 

emptyDir

EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir

false

Section 2.3.90, “v1.EmptyDirVolumeSource”

 

gcePersistentDisk

GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk

false

Section 2.3.99, “v1.GCEPersistentDiskVolumeSource”

 

awsElasticBlockStore

AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore

false

Section 2.3.13, “v1.AWSElasticBlockStoreVolumeSource”

 

gitRepo

GitRepo represents a git repository at a particular revision.

false

Section 2.3.103, “v1.GitRepoVolumeSource”

 

secret

Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets

false

Section 2.3.228, “v1.SecretVolumeSource”

 

nfs

NFS represents an NFS mount on the host that shares a pod’s lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs

false

Section 2.3.147, “v1.NFSVolumeSource”

 

iscsi

ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md

false

Section 2.3.115, “v1.ISCSIVolumeSource”

 

glusterfs

Glusterfs represents a Glusterfs mount on the host that shares a pod’s lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md

false

Section 2.3.105, “v1.GlusterfsVolumeSource”

 

persistentVolumeClaim

PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims

false

Section 2.3.168, “v1.PersistentVolumeClaimVolumeSource”

 

rbd

RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md

false

Section 2.3.194, “v1.RBDVolumeSource”

 

flexVolume

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.

false

Section 2.3.97, “v1.FlexVolumeSource”

 

cinder

Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

Section 2.3.41, “v1.CinderVolumeSource”

 

cephfs

CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime

false

Section 2.3.40, “v1.CephFSVolumeSource”

 

flocker

Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running

false

Section 2.3.98, “v1.FlockerVolumeSource”

 

downwardAPI

DownwardAPI represents downward API about the pod that should populate this volume

false

Section 2.3.84, “v1.DownwardAPIVolumeSource”

 

fc

FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.

false

Section 2.3.95, “v1.FCVolumeSource”

 

azureFile

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

false

Section 2.3.18, “v1.AzureFileVolumeSource”

 

configMap

ConfigMap represents a configMap that should populate this volume

false

Section 2.3.59, “v1.ConfigMapVolumeSource”

 

vsphereVolume

VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine

false

Section 2.3.261, “v1.VsphereVirtualDiskVolumeSource”

 

quobyte

Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime

false

Section 2.3.193, “v1.QuobyteVolumeSource”

 

azureDisk

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

false

Section 2.3.17, “v1.AzureDiskVolumeSource”

 

photonPersistentDisk

PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine

false

Section 2.3.169, “v1.PhotonPersistentDiskVolumeSource”

 

metadata

Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead.

false

Section 2.3.81, “v1.DeprecatedDownwardAPIVolumeSource”

 

3.3.155. v1.VolumeMount

VolumeMount describes a mounting of a Volume within a container.

NameDescriptionRequiredSchemaDefault

name

This must match the Name of a Volume.

true

string

 

readOnly

Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

false

boolean

 

mountPath

Path within the container at which the volume should be mounted. Must not contain ':'.

true

string

 

subPath

Path within the volume from which the container’s volume should be mounted. Defaults to "" (volume’s root).

false

string

 

3.3.156. v1.VsphereVirtualDiskVolumeSource

Represents a vSphere volume resource.

NameDescriptionRequiredSchemaDefault

volumePath

Path that identifies vSphere volume vmdk

true

string

 

fsType

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

false

string

 

3.3.157. v1beta1.Eviction

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …​/pods/<pod name>/evictions.

NameDescriptionRequiredSchemaDefault

kind

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

false

string

 

apiVersion

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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

false

string

 

metadata

ObjectMeta describes the pod that is being evicted.

false

Section 2.3.164, “v1.ObjectMeta”

 

deleteOptions

DeleteOptions may be provided

false

Section 2.3.64, “v1.DeleteOptions”

 

3.3.158. versioned.Event

NameDescriptionRequiredSchemaDefault

type

 

true

string

 

object

 

true

string

 
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.