diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 83c3cd9cfc9..c07884de90a 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -13558,6 +13558,66 @@ } ] }, + { + "path": "/api/v1/namespaces/{namespace}/services/{name}/status", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.Service", + "method": "PUT", + "summary": "replace status of the specified Service", + "nickname": "replaceNamespacedServiceStatus", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.Service" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1", "description": "API at /api/v1", diff --git a/docs/api-reference/v1/operations.html b/docs/api-reference/v1/operations.html index 8dd41e99cfa..a12d82b0ed4 100755 --- a/docs/api-reference/v1/operations.html +++ b/docs/api-reference/v1/operations.html @@ -15183,6 +15183,130 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
+

replace status of the specified Service

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

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

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

+ +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1.Service

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
  • +

    application/yaml

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+

read the specified Namespace

@@ -15190,7 +15314,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -15246,122 +15370,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-
-
-

Responses

- ----- - - - - - - - - - - - - - - -
HTTP CodeDescriptionSchema

200

success

v1.Namespace

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

replace the specified Namespace

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

Parameters

- -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.Namespace

PathParameter

name

name of the Namespace

true

string

-

Responses

@@ -15423,6 +15431,122 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
+

replace the specified Namespace

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

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.Namespace

PathParameter

name

name of the Namespace

true

string

+ +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1.Namespace

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
  • +

    application/yaml

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+

delete a Namespace

@@ -15430,7 +15554,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -15480,7 +15604,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

@@ -15505,7 +15629,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Consumes

+

Consumes

  • @@ -15515,7 +15639,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Produces

+

Produces

  • @@ -15528,7 +15652,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Tags

+

Tags

  • @@ -15546,7 +15670,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -15594,128 +15718,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-
-
-

Responses

- ----- - - - - - - - - - - - - - - -
HTTP CodeDescriptionSchema

200

success

v1.Namespace

- -
-
-

Consumes

-
-
    -
  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

replace finalize of the specified Namespace

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

Parameters

- -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.Namespace

PathParameter

name

name of the Namespace

true

string

-

Responses

@@ -15747,7 +15749,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • -

    /

    +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

@@ -15777,10 +15785,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

replace status of the specified Namespace

+

replace finalize of the specified Namespace

-
PUT /api/v1/namespaces/{name}/status
+
PUT /api/v1/namespaces/{name}/finalize
@@ -15893,10 +15901,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind Node

+

replace status of the specified Namespace

-
GET /api/v1/nodes
+
PUT /api/v1/namespaces/{name}/status
@@ -15930,45 +15938,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

QueryParameter

-

labelSelector

-

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

-

false

+

BodyParameter

+

body

+ +

true

+

v1.Namespace

+ + + +

PathParameter

+

name

+

name of the Namespace

+

true

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 (int32)

- - @@ -15992,7 +15976,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.NodeList

+

v1.Namespace

@@ -16033,10 +16017,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

delete collection of Node

+

list or watch objects of kind Node

-
DELETE /api/v1/nodes
+
GET /api/v1/nodes
@@ -16132,7 +16116,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

unversioned.Status

+

v1.NodeList

@@ -16173,10 +16157,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

create a Node

+

delete collection of Node

-
POST /api/v1/nodes
+
DELETE /api/v1/nodes
@@ -16210,11 +16194,43 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

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

+

false

+

string

-

true

-

v1.Node

+ + +

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 (int32)

@@ -16240,7 +16256,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.Node

+

unversioned.Status

@@ -16281,10 +16297,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

read the specified Node

+

create a Node

-
GET /api/v1/nodes/{name}
+
POST /api/v1/nodes
@@ -16318,27 +16334,11 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

QueryParameter

-

export

-

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

-

false

-

boolean

+

BodyParameter

+

body

- - -

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

+

v1.Node

@@ -16405,10 +16405,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

replace the specified Node

+

read the specified Node

-
PUT /api/v1/nodes/{name}
+
GET /api/v1/nodes/{name}
@@ -16442,11 +16442,19 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

BodyParameter

-

body

+

QueryParameter

+

export

+

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

+

false

+

boolean

-

true

-

v1.Node

+ + +

QueryParameter

+

exact

+

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

+

false

+

boolean

@@ -16521,6 +16529,122 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
+

replace the specified Node

+
+
+
PUT /api/v1/nodes/{name}
+
+
+
+

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.Node

PathParameter

name

name of the Node

true

string

+ +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1.Node

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
  • +

    application/yaml

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+

delete a Node

@@ -16528,7 +16652,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -16578,7 +16702,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

@@ -16603,7 +16727,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Consumes

+

Consumes

  • @@ -16613,7 +16737,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Produces

+

Produces

  • @@ -16626,7 +16750,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Tags

+

Tags

  • @@ -16644,7 +16768,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -16694,7 +16818,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

@@ -16719,7 +16843,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Consumes

+

Consumes

  • @@ -16735,7 +16859,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Produces

+

Produces

  • @@ -16748,7 +16872,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Tags

+

Tags

  • @@ -16766,7 +16890,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -16814,146 +16938,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-
-
-

Responses

- ----- - - - - - - - - - - - - - - -
HTTP CodeDescriptionSchema

200

success

v1.Node

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

list or watch objects of kind PersistentVolumeClaim

-
-
-
GET /api/v1/persistentvolumeclaims
-
-
-
-

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 (int32)

-

Responses

@@ -16974,7 +16958,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.PersistentVolumeClaimList

+

v1.Node

@@ -17015,10 +16999,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind PersistentVolume

+

list or watch objects of kind PersistentVolumeClaim

-
GET /api/v1/persistentvolumes
+
GET /api/v1/persistentvolumeclaims
@@ -17114,7 +17098,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.PersistentVolumeList

+

v1.PersistentVolumeClaimList

@@ -17155,10 +17139,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

delete collection of PersistentVolume

+

list or watch objects of kind PersistentVolume

-
DELETE /api/v1/persistentvolumes
+
GET /api/v1/persistentvolumes
@@ -17254,7 +17238,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

unversioned.Status

+

v1.PersistentVolumeList

@@ -17295,10 +17279,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

create a PersistentVolume

+

delete collection of PersistentVolume

-
POST /api/v1/persistentvolumes
+
DELETE /api/v1/persistentvolumes
@@ -17332,11 +17316,43 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

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

+

false

+

string

-

true

-

v1.PersistentVolume

+ + +

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 (int32)

@@ -17362,7 +17378,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.PersistentVolume

+

unversioned.Status

@@ -17403,10 +17419,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

read the specified PersistentVolume

+

create a PersistentVolume

-
GET /api/v1/persistentvolumes/{name}
+
POST /api/v1/persistentvolumes
@@ -17440,27 +17456,11 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

QueryParameter

-

export

-

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

-

false

-

boolean

+

BodyParameter

+

body

- - -

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

+

v1.PersistentVolume

@@ -17527,10 +17527,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

replace the specified PersistentVolume

+

read the specified PersistentVolume

-
PUT /api/v1/persistentvolumes/{name}
+
GET /api/v1/persistentvolumes/{name}
@@ -17564,11 +17564,19 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

BodyParameter

-

body

+

QueryParameter

+

export

+

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

+

false

+

boolean

-

true

-

v1.PersistentVolume

+ + +

QueryParameter

+

exact

+

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

+

false

+

boolean

@@ -17643,6 +17651,122 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
+

replace the specified PersistentVolume

+
+
+
PUT /api/v1/persistentvolumes/{name}
+
+
+
+

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.PersistentVolume

PathParameter

name

name of the PersistentVolume

true

string

+ +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1.PersistentVolume

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
  • +

    application/yaml

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+

delete a PersistentVolume

@@ -17650,7 +17774,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -17700,7 +17824,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

@@ -17725,7 +17849,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Consumes

+

Consumes

  • @@ -17735,7 +17859,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Produces

+

Produces

  • @@ -17748,7 +17872,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Tags

+

Tags

  • @@ -17766,7 +17890,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -17816,7 +17940,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

@@ -17841,7 +17965,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Consumes

+

Consumes

  • @@ -17857,7 +17981,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Produces

+

Produces

  • @@ -17870,7 +17994,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Tags

+

Tags

  • @@ -17888,7 +18012,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Parameters

+

Parameters

@@ -17936,146 +18060,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-
-
-

Responses

- ----- - - - - - - - - - - - - - - -
HTTP CodeDescriptionSchema

200

success

v1.PersistentVolume

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

list or watch objects of kind Pod

-
-
-
GET /api/v1/pods
-
-
-
-

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 (int32)

-

Responses

@@ -18096,7 +18080,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.PodList

+

v1.PersistentVolume

@@ -18137,10 +18121,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind PodTemplate

+

list or watch objects of kind Pod

-
GET /api/v1/podtemplates
+
GET /api/v1/pods
@@ -18236,7 +18220,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.PodTemplateList

+

v1.PodList

@@ -18277,10 +18261,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Pod

+

list or watch objects of kind PodTemplate

-
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
GET /api/v1/podtemplates
@@ -18306,21 +18290,53 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

PathParameter

-

namespace

-

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

-

true

+

QueryParameter

+

pretty

+

If true, then the output is pretty printed.

+

false

string

-

PathParameter

-

name

-

name of the Pod

-

true

+

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 (int32)

+ + @@ -18342,9 +18358,9 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

default

+

200

success

-

string

+

v1.PodTemplateList

@@ -18365,7 +18381,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • -

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

@@ -18382,10 +18401,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Pod

+

proxy GET requests to Pod

-
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -18487,10 +18506,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Pod

+

proxy PUT requests to Pod

-
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -18592,10 +18611,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Pod

+

proxy DELETE requests to Pod

-
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -18697,10 +18716,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Pod

+

proxy POST requests to Pod

-
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -18741,14 +18760,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

string

- -

PathParameter

-

path

-

path to the resource

-

true

-

string

- - @@ -18810,10 +18821,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Pod

+

proxy GET requests to Pod

-
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
@@ -18923,10 +18934,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Pod

+

proxy PUT requests to Pod

-
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
@@ -19036,10 +19047,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Pod

+

proxy DELETE requests to Pod

-
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
@@ -19149,10 +19160,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Service

+

proxy POST requests to Pod

-
GET /api/v1/proxy/namespaces/{namespace}/services/{name}
+
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
@@ -19188,7 +19199,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

PathParameter

name

-

name of the Service

+

name of the Pod

+

true

+

string

+ + + +

PathParameter

+

path

+

path to the resource

true

string

@@ -19254,10 +19273,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Service

+

proxy GET requests to Service

-
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
+
GET /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -19359,10 +19378,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Service

+

proxy PUT requests to Service

-
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
+
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -19464,10 +19483,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Service

+

proxy DELETE requests to Service

-
POST /api/v1/proxy/namespaces/{namespace}/services/{name}
+
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -19569,10 +19588,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Service

+

proxy POST requests to Service

-
GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
+
POST /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -19613,14 +19632,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

string

- -

PathParameter

-

path

-

path to the resource

-

true

-

string

- - @@ -19682,10 +19693,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Service

+

proxy GET requests to Service

-
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
+
GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -19795,10 +19806,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Service

+

proxy PUT requests to Service

-
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
+
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -19908,10 +19919,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Service

+

proxy DELETE requests to Service

-
POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
+
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -20021,10 +20032,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Node

+

proxy POST requests to Service

-
GET /api/v1/proxy/nodes/{name}
+
POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -20051,8 +20062,24 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

PathParameter

+

namespace

+

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

+

true

+

string

+ + + +

PathParameter

name

-

name of the Node

+

name of the Service

+

true

+

string

+ + + +

PathParameter

+

path

+

path to the resource

true

string

@@ -20118,10 +20145,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Node

+

proxy GET requests to Node

-
PUT /api/v1/proxy/nodes/{name}
+
GET /api/v1/proxy/nodes/{name}
@@ -20215,10 +20242,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Node

+

proxy PUT requests to Node

-
DELETE /api/v1/proxy/nodes/{name}
+
PUT /api/v1/proxy/nodes/{name}
@@ -20312,10 +20339,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Node

+

proxy DELETE requests to Node

-
POST /api/v1/proxy/nodes/{name}
+
DELETE /api/v1/proxy/nodes/{name}
@@ -20409,10 +20436,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy GET requests to Node

+

proxy POST requests to Node

-
GET /api/v1/proxy/nodes/{name}/{path}
+
POST /api/v1/proxy/nodes/{name}
@@ -20445,14 +20472,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

string

- -

PathParameter

-

path

-

path to the resource

-

true

-

string

- - @@ -20514,10 +20533,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy PUT requests to Node

+

proxy GET requests to Node

-
PUT /api/v1/proxy/nodes/{name}/{path}
+
GET /api/v1/proxy/nodes/{name}/{path}
@@ -20619,10 +20638,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy DELETE requests to Node

+

proxy PUT requests to Node

-
DELETE /api/v1/proxy/nodes/{name}/{path}
+
PUT /api/v1/proxy/nodes/{name}/{path}
@@ -20724,10 +20743,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

proxy POST requests to Node

+

proxy DELETE requests to Node

-
POST /api/v1/proxy/nodes/{name}/{path}
+
DELETE /api/v1/proxy/nodes/{name}/{path}
@@ -20829,10 +20848,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind ReplicationController

+

proxy POST requests to Node

-
GET /api/v1/replicationcontrollers
+
POST /api/v1/proxy/nodes/{name}/{path}
@@ -20858,53 +20877,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

QueryParameter

-

pretty

-

If true, then the output is pretty printed.

-

false

+

PathParameter

+

name

+

name of the Node

+

true

string

-

QueryParameter

-

labelSelector

-

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

-

false

+

PathParameter

+

path

+

path to the resource

+

true

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 (int32)

- - @@ -20926,9 +20913,9 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

200

+

default

success

-

v1.ReplicationControllerList

+

string

@@ -20949,10 +20936,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • -

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

@@ -20969,10 +20953,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind ResourceQuota

+

list or watch objects of kind ReplicationController

-
GET /api/v1/resourcequotas
+
GET /api/v1/replicationcontrollers
@@ -21068,7 +21052,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.ResourceQuotaList

+

v1.ReplicationControllerList

@@ -21109,10 +21093,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind Secret

+

list or watch objects of kind ResourceQuota

-
GET /api/v1/secrets
+
GET /api/v1/resourcequotas
@@ -21208,7 +21192,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.SecretList

+

v1.ResourceQuotaList

@@ -21249,10 +21233,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind ServiceAccount

+

list or watch objects of kind Secret

-
GET /api/v1/serviceaccounts
+
GET /api/v1/secrets
@@ -21348,7 +21332,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.ServiceAccountList

+

v1.SecretList

@@ -21389,10 +21373,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

list or watch objects of kind Service

+

list or watch objects of kind ServiceAccount

-
GET /api/v1/services
+
GET /api/v1/serviceaccounts
@@ -21488,7 +21472,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

v1.ServiceList

+

v1.ServiceAccountList

@@ -21529,10 +21513,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

watch individual changes to a list of ConfigMap

+

list or watch objects of kind Service

-
GET /api/v1/watch/configmaps
+
GET /api/v1/services
@@ -21628,7 +21612,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

json.WatchEvent

+

v1.ServiceList

@@ -21651,6 +21635,9 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • +
  • +

    application/yaml

    +
  • @@ -21666,10 +21653,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of Endpoints

    +

    watch individual changes to a list of ConfigMap

    -
    GET /api/v1/watch/endpoints
    +
    GET /api/v1/watch/configmaps
    @@ -21803,10 +21790,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of Event

    +

    watch individual changes to a list of Endpoints

    -
    GET /api/v1/watch/events
    +
    GET /api/v1/watch/endpoints
    @@ -21940,10 +21927,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of LimitRange

    +

    watch individual changes to a list of Event

    -
    GET /api/v1/watch/limitranges
    +
    GET /api/v1/watch/events
    @@ -22077,10 +22064,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of Namespace

    +

    watch individual changes to a list of LimitRange

    -
    GET /api/v1/watch/namespaces
    +
    GET /api/v1/watch/limitranges
    @@ -22214,6 +22201,143 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    watch individual changes to a list of Namespace

    +
    +
    +
    GET /api/v1/watch/namespaces
    +
    +
    +
    +

    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 (int32)

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    watch individual changes to a list of ConfigMap

    @@ -22221,7 +22345,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -22303,7 +22427,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -22328,7 +22452,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -22338,7 +22462,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -22348,7 +22472,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -22366,7 +22490,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -22456,7 +22580,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -22481,7 +22605,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -22491,7 +22615,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -22501,7 +22625,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -22519,7 +22643,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -22601,7 +22725,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -22626,7 +22750,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -22636,7 +22760,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -22646,7 +22770,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -22664,7 +22788,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -22754,7 +22878,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -22779,7 +22903,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -22789,7 +22913,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -22799,7 +22923,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -22817,7 +22941,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -22899,7 +23023,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -22924,7 +23048,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -22934,7 +23058,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -22944,7 +23068,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -22962,7 +23086,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23052,7 +23176,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23077,7 +23201,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23087,7 +23211,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23097,7 +23221,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23115,7 +23239,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23197,7 +23321,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23222,7 +23346,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23232,7 +23356,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23242,7 +23366,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23260,7 +23384,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23350,7 +23474,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23375,7 +23499,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23385,7 +23509,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23395,7 +23519,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23413,7 +23537,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23495,7 +23619,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23520,7 +23644,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23530,7 +23654,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23540,7 +23664,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23558,7 +23682,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23648,7 +23772,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23673,7 +23797,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23683,7 +23807,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23693,7 +23817,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23711,7 +23835,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23793,7 +23917,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23818,7 +23942,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23828,7 +23952,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23838,7 +23962,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -23856,7 +23980,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -23946,7 +24070,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -23971,7 +24095,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -23981,7 +24105,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -23991,7 +24115,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24009,7 +24133,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24091,7 +24215,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24116,7 +24240,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24126,7 +24250,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24136,7 +24260,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24154,7 +24278,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24244,7 +24368,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24269,7 +24393,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24279,7 +24403,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24289,7 +24413,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24307,7 +24431,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24389,7 +24513,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24414,7 +24538,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24424,7 +24548,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24434,7 +24558,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24452,7 +24576,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24542,7 +24666,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24567,7 +24691,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24577,7 +24701,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24587,7 +24711,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24605,7 +24729,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24687,7 +24811,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24712,7 +24836,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24722,7 +24846,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24732,7 +24856,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24750,7 +24874,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24840,7 +24964,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -24865,7 +24989,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -24875,7 +24999,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -24885,7 +25009,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -24903,7 +25027,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -24985,7 +25109,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25010,7 +25134,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25020,7 +25144,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25030,7 +25154,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25048,7 +25172,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25138,7 +25262,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25163,7 +25287,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25173,7 +25297,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25183,7 +25307,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25201,7 +25325,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25283,7 +25407,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25308,7 +25432,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25318,7 +25442,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25328,7 +25452,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25346,7 +25470,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25436,7 +25560,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25461,7 +25585,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25471,7 +25595,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25481,7 +25605,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25499,7 +25623,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25581,7 +25705,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25606,7 +25730,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25616,7 +25740,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25626,7 +25750,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25644,7 +25768,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25734,7 +25858,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25759,7 +25883,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25769,7 +25893,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25779,7 +25903,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25797,7 +25921,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -25879,7 +26003,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -25904,7 +26028,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -25914,7 +26038,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -25924,7 +26048,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -25942,7 +26066,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -26016,7 +26140,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -26041,7 +26165,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -26051,7 +26175,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -26061,7 +26185,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -26079,7 +26203,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -26159,143 +26283,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of PersistentVolumeClaim

    -
    -
    -
    GET /api/v1/watch/persistentvolumeclaims
    -
    -
    -
    -

    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 (int32)

    -

    Responses

    @@ -26354,10 +26341,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of PersistentVolume

    +

    watch individual changes to a list of PersistentVolumeClaim

    -
    GET /api/v1/watch/persistentvolumes
    +
    GET /api/v1/watch/persistentvolumeclaims
    @@ -26491,6 +26478,143 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    watch individual changes to a list of PersistentVolume

    +
    +
    +
    GET /api/v1/watch/persistentvolumes
    +
    +
    +
    +

    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 (int32)

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    watch changes to an object of kind PersistentVolume

    @@ -26498,7 +26622,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -26578,143 +26702,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Pod

    -
    -
    -
    GET /api/v1/watch/pods
    -
    -
    -
    -

    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 (int32)

    -

    Responses

    @@ -26773,10 +26760,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of PodTemplate

    +

    watch individual changes to a list of Pod

    -
    GET /api/v1/watch/podtemplates
    +
    GET /api/v1/watch/pods
    @@ -26910,10 +26897,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of ReplicationController

    +

    watch individual changes to a list of PodTemplate

    -
    GET /api/v1/watch/replicationcontrollers
    +
    GET /api/v1/watch/podtemplates
    @@ -27047,10 +27034,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of ResourceQuota

    +

    watch individual changes to a list of ReplicationController

    -
    GET /api/v1/watch/resourcequotas
    +
    GET /api/v1/watch/replicationcontrollers
    @@ -27184,10 +27171,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of Secret

    +

    watch individual changes to a list of ResourceQuota

    -
    GET /api/v1/watch/secrets
    +
    GET /api/v1/watch/resourcequotas
    @@ -27321,10 +27308,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of ServiceAccount

    +

    watch individual changes to a list of Secret

    -
    GET /api/v1/watch/serviceaccounts
    +
    GET /api/v1/watch/secrets
    @@ -27458,10 +27445,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch individual changes to a list of Service

    +

    watch individual changes to a list of ServiceAccount

    -
    GET /api/v1/watch/services
    +
    GET /api/v1/watch/serviceaccounts
    @@ -27594,12 +27581,149 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +
    +

    watch individual changes to a list of Service

    +
    +
    +
    GET /api/v1/watch/services
    +
    +
    +
    +

    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 (int32)

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index 4594a7cffda..17013ee7e20 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -1603,6 +1603,13 @@ func ValidateServiceUpdate(service, oldService *api.Service) field.ErrorList { return allErrs } +// ValidateServiceStatusUpdate tests if required fields in the Service are set when updating status. +func ValidateServiceStatusUpdate(service, oldService *api.Service) field.ErrorList { + allErrs := ValidateObjectMetaUpdate(&service.ObjectMeta, &oldService.ObjectMeta, field.NewPath("metadata")) + allErrs = append(allErrs, ValidateLoadBalancerStatus(&service.Status.LoadBalancer, field.NewPath("status", "loadBalancer"))...) + return allErrs +} + // ValidateReplicationController tests if required fields in the replication controller are set. func ValidateReplicationController(controller *api.ReplicationController) field.ErrorList { allErrs := ValidateObjectMeta(&controller.ObjectMeta, true, ValidateReplicationControllerName, field.NewPath("metadata")) diff --git a/pkg/client/unversioned/services.go b/pkg/client/unversioned/services.go index ff25e226fdc..510ed99b7d2 100644 --- a/pkg/client/unversioned/services.go +++ b/pkg/client/unversioned/services.go @@ -33,6 +33,7 @@ type ServiceInterface interface { Get(name string) (*api.Service, error) Create(srv *api.Service) (*api.Service, error) Update(srv *api.Service) (*api.Service, error) + UpdateStatus(srv *api.Service) (*api.Service, error) Delete(name string) error Watch(opts api.ListOptions) (watch.Interface, error) ProxyGet(scheme, name, port, path string, params map[string]string) ResponseWrapper @@ -82,6 +83,13 @@ func (c *services) Update(svc *api.Service) (result *api.Service, err error) { return } +// UpdateStatus takes a Service object with the new status and applies it as an update to the existing Service. +func (c *services) UpdateStatus(service *api.Service) (result *api.Service, err error) { + result = &api.Service{} + err = c.r.Put().Namespace(c.ns).Resource("services").Name(service.Name).SubResource("status").Body(service).Do().Into(result) + return +} + // Delete deletes an existing service. func (c *services) Delete(name string) error { return c.r.Delete().Namespace(c.ns).Resource("services").Name(name).Do().Error() diff --git a/pkg/client/unversioned/services_test.go b/pkg/client/unversioned/services_test.go index 4ffe4b5ad40..e984a42aaf1 100644 --- a/pkg/client/unversioned/services_test.go +++ b/pkg/client/unversioned/services_test.go @@ -167,6 +167,51 @@ func TestDeleteService(t *testing.T) { c.Validate(t, nil, err) } +func TestUpdateServiceStatus(t *testing.T) { + ns := api.NamespaceDefault + lbStatus := api.LoadBalancerStatus{ + Ingress: []api.LoadBalancerIngress{ + {IP: "127.0.0.1"}, + }, + } + requestService := &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: ns, + ResourceVersion: "1", + }, + Status: api.ServiceStatus{ + LoadBalancer: lbStatus, + }, + } + c := &simple.Client{ + Request: simple.Request{ + Method: "PUT", + Path: testapi.Default.ResourcePath("services", ns, "foo") + "/status", + Query: simple.BuildQueryValues(nil), + }, + Response: simple.Response{ + StatusCode: 200, + Body: &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Labels: map[string]string{ + "foo": "bar", + "name": "baz", + }, + }, + Spec: api.ServiceSpec{}, + Status: api.ServiceStatus{ + LoadBalancer: lbStatus, + }, + }, + }, + } + receivedService, err := c.Setup(t).Services(ns).UpdateStatus(requestService) + defer c.Close() + c.Validate(t, receivedService, err) +} + func TestServiceProxyGet(t *testing.T) { body := "OK" ns := api.NamespaceDefault diff --git a/pkg/client/unversioned/testclient/fake_services.go b/pkg/client/unversioned/testclient/fake_services.go index 8c1a7de4a75..2f17c757894 100644 --- a/pkg/client/unversioned/testclient/fake_services.go +++ b/pkg/client/unversioned/testclient/fake_services.go @@ -65,6 +65,15 @@ func (c *FakeServices) Update(service *api.Service) (*api.Service, error) { return obj.(*api.Service), err } +func (c *FakeServices) UpdateStatus(service *api.Service) (result *api.Service, err error) { + obj, err := c.Fake.Invokes(NewUpdateSubresourceAction("services", "status", c.Namespace, service), service) + if obj == nil { + return nil, err + } + + return obj.(*api.Service), err +} + func (c *FakeServices) Delete(name string) error { _, err := c.Fake.Invokes(NewDeleteAction("services", c.Namespace, name), &api.Service{}) return err diff --git a/pkg/controller/service/servicecontroller.go b/pkg/controller/service/servicecontroller.go index d70b5fdf080..4f0a0df9595 100644 --- a/pkg/controller/service/servicecontroller.go +++ b/pkg/controller/service/servicecontroller.go @@ -343,7 +343,7 @@ func (s *ServiceController) createLoadBalancerIfNeeded(namespacedName types.Name func (s *ServiceController) persistUpdate(service *api.Service) error { var err error for i := 0; i < clientRetryCount; i++ { - _, err = s.kubeClient.Services(service.Namespace).Update(service) + _, err = s.kubeClient.Services(service.Namespace).UpdateStatus(service) if err == nil { return nil } diff --git a/pkg/master/master.go b/pkg/master/master.go index ab0f7969c11..df7db628f53 100644 --- a/pkg/master/master.go +++ b/pkg/master/master.go @@ -292,7 +292,7 @@ func (m *Master) initV1ResourcesStorage(c *Config) { m.ProxyTransport, ) - serviceStorage := serviceetcd.NewREST(dbClient("services"), storageDecorator) + serviceStorage, serviceStatusStorage := serviceetcd.NewREST(dbClient("services"), storageDecorator) m.serviceRegistry = service.NewRegistry(serviceStorage) var serviceClusterIPRegistry service.RangeRegistry @@ -336,6 +336,7 @@ func (m *Master) initV1ResourcesStorage(c *Config) { "replicationControllers": controllerStorage, "replicationControllers/status": controllerStatusStorage, "services": service.NewStorage(m.serviceRegistry, m.endpointRegistry, serviceClusterIPAllocator, serviceNodePortAllocator, m.ProxyTransport), + "services/status": serviceStatusStorage, "endpoints": endpointsStorage, "nodes": nodeStorage, "nodes/status": nodeStatusStorage, diff --git a/pkg/registry/service/etcd/etcd.go b/pkg/registry/service/etcd/etcd.go index 040582b36a2..9cee150a969 100644 --- a/pkg/registry/service/etcd/etcd.go +++ b/pkg/registry/service/etcd/etcd.go @@ -32,7 +32,7 @@ type REST struct { } // NewREST returns a RESTStorage object that will work against services. -func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) *REST { +func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) (*REST, *StatusREST) { prefix := "/services/specs" newListFunc := func() runtime.Object { return &api.ServiceList{} } @@ -61,5 +61,21 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) *RE Storage: storageInterface, } - return &REST{store} + statusStore := *store + statusStore.UpdateStrategy = service.StatusStrategy + return &REST{store}, &StatusREST{store: &statusStore} +} + +// StatusREST implements the REST endpoint for changing the status of a service. +type StatusREST struct { + store *etcdgeneric.Etcd +} + +func (r *StatusREST) New() runtime.Object { + return &api.Service{} +} + +// Update alters the status subset of an object. +func (r *StatusREST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error) { + return r.store.Update(ctx, obj) } diff --git a/pkg/registry/service/etcd/etcd_test.go b/pkg/registry/service/etcd/etcd_test.go index 0117ffdcdf0..ee03203457f 100644 --- a/pkg/registry/service/etcd/etcd_test.go +++ b/pkg/registry/service/etcd/etcd_test.go @@ -29,9 +29,10 @@ import ( "k8s.io/kubernetes/pkg/util/intstr" ) -func newStorage(t *testing.T) (*REST, *etcdtesting.EtcdTestServer) { +func newStorage(t *testing.T) (*REST, *StatusREST, *etcdtesting.EtcdTestServer) { etcdStorage, server := registrytest.NewEtcdStorage(t, "") - return NewREST(etcdStorage, generic.UndecoratedStorage), server + serviceStorage, statusStorage := NewREST(etcdStorage, generic.UndecoratedStorage) + return serviceStorage, statusStorage, server } func validService() *api.Service { @@ -55,7 +56,7 @@ func validService() *api.Service { } func TestCreate(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd) validService := validService() @@ -85,7 +86,7 @@ func TestCreate(t *testing.T) { } func TestUpdate(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd).AllowCreateOnUpdate() test.TestUpdate( @@ -110,28 +111,28 @@ func TestUpdate(t *testing.T) { } func TestDelete(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd).AllowCreateOnUpdate() test.TestDelete(validService()) } func TestGet(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd).AllowCreateOnUpdate() test.TestGet(validService()) } func TestList(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd).AllowCreateOnUpdate() test.TestList(validService()) } func TestWatch(t *testing.T) { - storage, server := newStorage(t) + storage, _, server := newStorage(t) defer server.Terminate(t) test := registrytest.New(t, storage.Etcd) test.TestWatch( diff --git a/pkg/registry/service/strategy.go b/pkg/registry/service/strategy.go index 4379c1cea9e..59290abb169 100644 --- a/pkg/registry/service/strategy.go +++ b/pkg/registry/service/strategy.go @@ -51,10 +51,9 @@ func (svcStrategy) PrepareForCreate(obj runtime.Object) { // PrepareForUpdate clears fields that are not allowed to be set by end users on update. func (svcStrategy) PrepareForUpdate(obj, old runtime.Object) { - // TODO: once service has a status sub-resource we can enable this. - //newService := obj.(*api.Service) - //oldService := old.(*api.Service) - //newService.Status = oldService.Status + newService := obj.(*api.Service) + oldService := old.(*api.Service) + newService.Status = oldService.Status } // Validate validates a new service. @@ -118,3 +117,23 @@ func MatchServices(label labels.Selector, field fields.Selector) generic.Matcher func ServiceToSelectableFields(service *api.Service) fields.Set { return generic.ObjectMetaFieldsSet(service.ObjectMeta, true) } + +type serviceStatusStrategy struct { + svcStrategy +} + +// StatusStrategy is the default logic invoked when updating service status. +var StatusStrategy = serviceStatusStrategy{Strategy} + +// PrepareForUpdate clears fields that are not allowed to be set by end users on update of status +func (serviceStatusStrategy) PrepareForUpdate(obj, old runtime.Object) { + newService := obj.(*api.Service) + oldService := old.(*api.Service) + // status changes are not allowed to update spec + newService.Spec = oldService.Spec +} + +// ValidateUpdate is the default update validation for an end user updating status +func (serviceStatusStrategy) ValidateUpdate(ctx api.Context, obj, old runtime.Object) field.ErrorList { + return validation.ValidateServiceStatusUpdate(obj.(*api.Service), old.(*api.Service)) +} diff --git a/pkg/registry/service/strategy_test.go b/pkg/registry/service/strategy_test.go index 89420a26f36..925753e25e8 100644 --- a/pkg/registry/service/strategy_test.go +++ b/pkg/registry/service/strategy_test.go @@ -217,3 +217,33 @@ func TestSelectableFieldLabelConversions(t *testing.T) { nil, ) } + +func TestServiceStatusStrategy(t *testing.T) { + ctx := api.NewDefaultContext() + if !StatusStrategy.NamespaceScoped() { + t.Errorf("Service must be namespace scoped") + } + oldService := makeValidService() + newService := makeValidService() + oldService.ResourceVersion = "4" + newService.ResourceVersion = "4" + newService.Spec.SessionAffinity = "ClientIP" + newService.Status = api.ServiceStatus{ + LoadBalancer: api.LoadBalancerStatus{ + Ingress: []api.LoadBalancerIngress{ + {IP: "127.0.0.2"}, + }, + }, + } + StatusStrategy.PrepareForUpdate(&newService, &oldService) + if newService.Status.LoadBalancer.Ingress[0].IP != "127.0.0.2" { + t.Errorf("Service status updates should allow change of status fields") + } + if newService.Spec.SessionAffinity != "None" { + t.Errorf("PrepareForUpdate should have preserved old spec") + } + errs := StatusStrategy.ValidateUpdate(ctx, &newService, &oldService) + if len(errs) != 0 { + t.Errorf("Unexpected error %v", errs) + } +} diff --git a/test/e2e/service.go b/test/e2e/service.go index c5c012e2300..f5292d5f500 100644 --- a/test/e2e/service.go +++ b/test/e2e/service.go @@ -603,7 +603,9 @@ var _ = Describe("Services", func() { }) Expect(err).NotTo(HaveOccurred()) - if len(service.Status.LoadBalancer.Ingress) != 0 { + // Updating the service type shouldn't change the Status immediately. The status should be + // updated after waitForLoadBalancerDestroy. + if len(service.Status.LoadBalancer.Ingress) == 0 { Failf("got unexpected len(Status.LoadBalancer.Ingress) for NodePort service: %v", service) } if service.Spec.Type != api.ServiceTypeClusterIP {