From ac9f89023887aa55734f2b78290b5f1cf5e47e93 Mon Sep 17 00:00:00 2001 From: feihujiang Date: Wed, 18 Nov 2015 11:42:03 +0800 Subject: [PATCH] Support the subresource of service proxy --- api/swagger-spec/v1.json | 516 + .../extensions/v1beta1/definitions.html | 2 +- docs/api-reference/v1/operations.html | 9272 +++++++++-------- pkg/api/deep_copy_generated.go | 9 + pkg/api/install/install.go | 1 + pkg/api/register.go | 2 + pkg/api/types.generated.go | 258 + pkg/api/types.go | 12 + pkg/api/v1/conversion_generated.go | 26 + pkg/api/v1/deep_copy_generated.go | 9 + pkg/api/v1/register.go | 2 + pkg/api/v1/types.generated.go | 265 + pkg/api/v1/types.go | 12 + pkg/api/v1/types_swagger_doc_generated.go | 9 + pkg/client/unversioned/services.go | 2 +- pkg/client/unversioned/services_test.go | 4 +- pkg/master/master.go | 22 +- pkg/registry/service/proxy.go | 77 + pkg/registry/service/rest.go | 14 +- pkg/registry/service/rest_test.go | 2 +- test/e2e/autoscaling_utils.go | 14 +- test/e2e/dashboard.go | 9 +- test/e2e/es_cluster_logging.go | 30 +- test/e2e/example_k8petstore.go | 9 +- test/e2e/examples.go | 9 +- test/e2e/kibana_logging.go | 10 +- test/e2e/kubectl.go | 9 +- test/e2e/networking.go | 18 +- test/e2e/proxy.go | 10 + test/e2e/util.go | 25 +- test/soak/serve_hostnames/serve_hostnames.go | 15 +- 31 files changed, 6434 insertions(+), 4240 deletions(-) create mode 100644 pkg/registry/service/proxy.go diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index edeac65e81b..a8df287cf64 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -13978,6 +13978,522 @@ } ] }, + { + "path": "/api/v1/namespaces/{namespace}/services/{name}/proxy", + "description": "API at /api/v1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to proxy of Service", + "nickname": "connectGetNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to proxy of Service", + "nickname": "connectPostNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to proxy of Service", + "nickname": "connectPutNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to proxy of Service", + "nickname": "connectDeleteNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to proxy of Service", + "nickname": "connectHeadNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to proxy of Service", + "nickname": "connectOptionsNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}", + "description": "API at /api/v1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to proxy of Service", + "nickname": "connectGetNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to proxy of Service", + "nickname": "connectPostNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to proxy of Service", + "nickname": "connectPutNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to proxy of Service", + "nickname": "connectDeleteNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to proxy of Service", + "nickname": "connectHeadNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to proxy of Service", + "nickname": "connectOptionsNamespacedServiceProxy", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "path", + "description": "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.", + "required": false, + "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 + }, + { + "type": "string", + "paramType": "path", + "name": "path", + "description": "path to the resource", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1/namespaces/{namespace}/services/{name}/status", "description": "API at /api/v1", diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 9e38c08ea9f..72f1ce728d7 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -5577,7 +5577,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i diff --git a/docs/api-reference/v1/operations.html b/docs/api-reference/v1/operations.html index a09910f227b..1cd813e9941 100755 --- a/docs/api-reference/v1/operations.html +++ b/docs/api-reference/v1/operations.html @@ -15183,6 +15183,942 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
+

connect GET requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect PUT requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect DELETE requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect POST requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect GET requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect PUT requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect DELETE requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect POST requests to proxy of Service

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+

replace status of the specified Service

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

Parameters

+

Parameters

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

Responses

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

200

success

v1.Service

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

read the specified Namespace

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

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

- -
-
-

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

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

200

success

v1.Namespace

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

delete a Namespace

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

Parameters

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

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.DeleteOptions

PathParameter

name

name of the Namespace

true

string

- -
-
-

Responses

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

200

success

unversioned.Status

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

partially update the specified Namespace

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

Parameters

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

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

unversioned.Patch

PathParameter

name

name of the Namespace

true

string

- -
-
-

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

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

200

success

v1.Namespace

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

replace status of the specified Namespace

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

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

    -
  • -
-
-
-
-
-

list or watch objects of kind Node

-
-
-
GET /api/v1/nodes
-
-
-
-

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

v1.NodeList

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

delete collection of Node

-
-
-
DELETE /api/v1/nodes
-
-
-
-

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

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

200

success

-

unversioned.Status

+

v1.Service

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

create a Node

+

read the specified Namespace

-
POST /api/v1/nodes
+
GET /api/v1/namespaces/{name}
@@ -16334,11 +16280,27 @@ 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

+ + +

QueryParameter

+

exact

+

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

+

false

+

boolean

+ + + +

PathParameter

+

name

+

name of the Namespace

true

-

v1.Node

+

string

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

200

success

-

v1.Node

+

v1.Namespace

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

read the specified Node

+

replace the specified Namespace

-
GET /api/v1/nodes/{name}
+
PUT /api/v1/namespaces/{name}
@@ -16442,25 +16404,17 @@ 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

+

true

+

v1.Namespace

PathParameter

name

-

name of the Node

+

name of the Namespace

true

string

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

200

success

-

v1.Node

+

v1.Namespace

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

replace the specified Node

+

delete a Namespace

-
PUT /api/v1/nodes/{name}
+
DELETE /api/v1/namespaces/{name}
@@ -16570,13 +16524,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

body

true

-

v1.Node

+

v1.DeleteOptions

PathParameter

name

-

name of the Node

+

name of the Namespace

true

string

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

200

success

-

v1.Node

+

unversioned.Status

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

delete a Node

+

partially update the specified Namespace

-
DELETE /api/v1/nodes/{name}
+
PATCH /api/v1/namespaces/{name}
@@ -16686,129 +16640,135 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

body

true

-

v1.DeleteOptions

- - - -

PathParameter

-

name

-

name of the Node

-

true

-

string

- - - - - -
-
-

Responses

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

200

success

unversioned.Status

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

partially update the specified Node

-
-
-
PATCH /api/v1/nodes/{name}
-
-
-
-

Parameters

- -------- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

unversioned.Patch

PathParameter

name

name of the Node

name of the Namespace

true

string

+ +
+
+

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

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16836,7 +16796,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - +
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

200

success

v1.Node

v1.Namespace

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

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

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

connect GET requests to proxy of Node

+

replace status of the specified Namespace

-
GET /api/v1/nodes/{name}/proxy
+
PUT /api/v1/namespaces/{name}/status
@@ -16913,16 +16867,24 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

QueryParameter

-

path

-

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

+

pretty

+

If true, then the output is pretty printed.

false

string

+

BodyParameter

+

body

+ +

true

+

v1.Namespace

+ + +

PathParameter

name

-

name of the Node

+

name of the Namespace

true

string

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

default

+

200

success

-

string

+

v1.Namespace

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

connect PUT requests to proxy of Node

+

list or watch objects of kind Node

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

QueryParameter

-

path

-

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

+

pretty

+

If true, then the output is pretty printed.

false

string

-

PathParameter

-

name

-

name of the Node

-

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)

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

default

+

200

success

-

string

+

v1.NodeList

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

connect DELETE requests to proxy of Node

+

delete collection of Node

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

QueryParameter

-

path

-

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

+

pretty

+

If true, then the output is pretty printed.

false

string

-

PathParameter

-

name

-

name of the Node

-

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)

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

default

+

200

success

-

string

+

unversioned.Status

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

connect POST requests to proxy of Node

+

create a Node

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

QueryParameter

-

path

-

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

+

pretty

+

If true, then the output is pretty printed.

false

string

-

PathParameter

-

name

-

name of the Node

+

BodyParameter

+

body

+

true

-

string

+

v1.Node

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

default

+

200

success

-

string

+

v1.Node

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

connect GET requests to proxy of Node

+

read the specified Node

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

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

- - - - - -
-
-

Responses

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

default

success

string

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

connect PUT requests to proxy of Node

-
-
-
PUT /api/v1/nodes/{name}/proxy/{path}
-
-
-
-

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

- -
-
-

Responses

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

default

success

string

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

connect DELETE requests to proxy of Node

-
-
-
DELETE /api/v1/nodes/{name}/proxy/{path}
-
-
-
-

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

- -
-
-

Responses

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

default

success

string

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

connect POST requests to proxy of Node

-
-
-
POST /api/v1/nodes/{name}/proxy/{path}
-
-
-
-

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

- -
-
-

Responses

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

default

success

string

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

replace status of the specified Node

-
-
-
PUT /api/v1/nodes/{name}/status
-
-
-
-

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

    -
  • -
-
-
-
-
-

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

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

200

success

v1.PersistentVolumeClaimList

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

list or watch objects of kind PersistentVolume

-
-
-
GET /api/v1/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

v1.PersistentVolumeList

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

delete collection of PersistentVolume

-
-
-
DELETE /api/v1/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

unversioned.Status

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

create a PersistentVolume

-
-
-
POST /api/v1/persistentvolumes
-
-
-
-

Parameters

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

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1.PersistentVolume

- -
-
-

Responses

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

200

success

v1.PersistentVolume

- -
-
-

Consumes

-
-
    -
  • -

    /

    -
  • -
-
-
-
-

Produces

-
-
    -
  • -

    application/json

    -
  • -
  • -

    application/yaml

    -
  • -
-
-
-
-

Tags

-
-
    -
  • -

    apiv1

    -
  • -
-
-
-
-
-

read the specified PersistentVolume

-
-
-
GET /api/v1/persistentvolumes/{name}
-
-
-
-

Parameters

- -------- - - - - - - - - - - - - - @@ -18454,7 +17396,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -18464,7 +17406,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

PathParameter

name

name of the PersistentVolume

name of the Node

true

string

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

200

success

v1.PersistentVolume

v1.Node

-

Consumes

+

Consumes

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

Produces

+

Produces

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

Tags

+

Tags

  • @@ -18523,14 +17465,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

replace the specified PersistentVolume

+

replace the specified Node

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

Parameters

+

Parameters

@@ -18564,13 +17506,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + - + @@ -18580,7 +17522,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

body

true

v1.PersistentVolume

v1.Node

PathParameter

name

name of the PersistentVolume

name of the Node

true

string

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

200

success

v1.PersistentVolume

v1.Node

-

Consumes

+

Consumes

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

Produces

+

Produces

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

Tags

+

Tags

  • @@ -18639,14 +17581,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

delete a PersistentVolume

+

delete a Node

-
DELETE /api/v1/persistentvolumes/{name}
+
DELETE /api/v1/nodes/{name}
-

Parameters

+

Parameters

@@ -18686,7 +17628,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -18696,7 +17638,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

PathParameter

name

name of the PersistentVolume

name of the Node

true

string

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

Consumes

+

Consumes

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

Produces

+

Produces

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

Tags

+

Tags

  • @@ -18755,14 +17697,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

partially update the specified PersistentVolume

+

partially update the specified Node

-
PATCH /api/v1/persistentvolumes/{name}
+
PATCH /api/v1/nodes/{name}
-

Parameters

+

Parameters

@@ -18802,7 +17744,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -18812,7 +17754,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

Responses

+

Responses

PathParameter

name

name of the PersistentVolume

name of the Node

true

string

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

200

success

v1.PersistentVolume

v1.Node

-

Consumes

+

Consumes

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

Produces

+

Produces

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

Tags

+

Tags

  • @@ -18877,14 +17819,886 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
-

replace status of the specified PersistentVolume

+

connect GET requests to proxy of Node

-
PUT /api/v1/persistentvolumes/{name}/status
+
GET /api/v1/nodes/{name}/proxy
-

Parameters

+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect PUT requests to proxy of Node

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect DELETE requests to proxy of Node

+
+
+
DELETE /api/v1/nodes/{name}/proxy
+
+
+
+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect POST requests to proxy of Node

+
+
+
POST /api/v1/nodes/{name}/proxy
+
+
+
+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect GET requests to proxy of Node

+
+
+
GET /api/v1/nodes/{name}/proxy/{path}
+
+
+
+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect PUT requests to proxy of Node

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

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect DELETE requests to proxy of Node

+
+
+
DELETE /api/v1/nodes/{name}/proxy/{path}
+
+
+
+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

connect POST requests to proxy of Node

+
+
+
POST /api/v1/nodes/{name}/proxy/{path}
+
+
+
+

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

+ +
+
+

Responses

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

default

success

string

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apiv1

    +
  • +
+
+
+
+
+

replace status of the specified Node

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

Parameters

@@ -18918,13 +18732,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + - + @@ -18932,6 +18746,146 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

body

true

v1.PersistentVolume

v1.Node

PathParameter

name

name of the PersistentVolume

name of the Node

true

string

+
+
+

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

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

200

success

-

v1.PersistentVolume

+

v1.PersistentVolumeClaimList

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

list or watch objects of kind Pod

+

list or watch objects of kind PersistentVolume

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

200

success

-

v1.PodList

+

v1.PersistentVolumeList

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

list or watch objects of kind PodTemplate

+

delete collection of PersistentVolume

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

200

success

-

v1.PodTemplateList

+

unversioned.Status

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

proxy GET requests to Pod

+

create a PersistentVolume

-
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
POST /api/v1/persistentvolumes
@@ -19302,19 +19256,19 @@ 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

+

BodyParameter

+

body

+

true

-

string

+

v1.PersistentVolume

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

default

+

200

success

-

string

+

v1.PersistentVolume

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy PUT requests to Pod

+

read the specified PersistentVolume

-
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
GET /api/v1/persistentvolumes/{name}
@@ -19407,17 +19364,33 @@ 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

+

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 Pod

+

name of the PersistentVolume

true

string

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

default

+

200

success

-

string

+

v1.PersistentVolume

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy DELETE requests to Pod

+

replace the specified PersistentVolume

-
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
PUT /api/v1/persistentvolumes/{name}
@@ -19512,17 +19488,25 @@ 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

+

BodyParameter

+

body

+ +

true

+

v1.PersistentVolume

+ + +

PathParameter

name

-

name of the Pod

+

name of the PersistentVolume

true

string

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

default

+

200

success

-

string

+

v1.PersistentVolume

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy POST requests to Pod

+

delete a PersistentVolume

-
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}
+
DELETE /api/v1/persistentvolumes/{name}
@@ -19617,17 +19604,25 @@ 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

+

BodyParameter

+

body

+ +

true

+

v1.DeleteOptions

+ + +

PathParameter

name

-

name of the Pod

+

name of the PersistentVolume

true

string

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

default

+

200

success

-

string

+

unversioned.Status

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy GET requests to Pod

+

partially update the specified PersistentVolume

-
GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
PATCH /api/v1/persistentvolumes/{name}
@@ -19722,25 +19720,25 @@ 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

+

BodyParameter

+

body

+ +

true

+

unversioned.Patch

+ + +

PathParameter

name

-

name of the Pod

-

true

-

string

- - - -

PathParameter

-

path

-

path to the resource

+

name of the PersistentVolume

true

string

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

default

+

200

success

-

string

+

v1.PersistentVolume

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

    /

    +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy PUT requests to Pod

+

replace status of the specified PersistentVolume

-
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
PUT /api/v1/persistentvolumes/{name}/status
@@ -19835,25 +19842,25 @@ 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

+

BodyParameter

+

body

+ +

true

+

v1.PersistentVolume

+ + +

PathParameter

name

-

name of the Pod

-

true

-

string

- - - -

PathParameter

-

path

-

path to the resource

+

name of the PersistentVolume

true

string

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

default

+

200

success

-

string

+

v1.PersistentVolume

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy DELETE requests to Pod

+

list or watch objects of kind Pod

-
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
GET /api/v1/pods
@@ -19948,29 +19958,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

-

PathParameter

-

path

-

path to the resource

-

true

+

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)

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

default

+

200

success

-

string

+

v1.PodList

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy POST requests to Pod

+

list or watch objects of kind PodTemplate

-
POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
+
GET /api/v1/podtemplates
@@ -20061,29 +20098,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

-

PathParameter

-

path

-

path to the resource

-

true

+

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)

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

default

+

200

success

-

string

+

v1.PodTemplateList

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

    /

    +

    application/json

    +
  • +
  • +

    application/yaml

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

proxy GET requests to Service

+

proxy GET requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy PUT requests to Service

+

proxy PUT requests to Pod

-
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
+
PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -20289,7 +20353,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy DELETE requests to Service

+

proxy DELETE requests to Pod

-
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
+
DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
@@ -20394,7 +20458,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy POST requests to Service

+

proxy POST requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy GET requests to Service

+

proxy GET requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy PUT requests to Service

+

proxy PUT requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy DELETE requests to Service

+

proxy DELETE requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy POST requests to Service

+

proxy POST requests to Pod

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

PathParameter

name

-

name of the Service

+

name of the Pod

true

string

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

proxy GET requests to Node

+

proxy GET requests to Service

-
GET /api/v1/proxy/nodes/{name}
+
GET /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -21047,8 +21111,16 @@ 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

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

proxy PUT requests to Node

+

proxy PUT requests to Service

-
PUT /api/v1/proxy/nodes/{name}
+
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -21144,8 +21216,16 @@ 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

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

proxy DELETE requests to Node

+

proxy DELETE requests to Service

-
DELETE /api/v1/proxy/nodes/{name}
+
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -21241,8 +21321,16 @@ 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

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

proxy POST requests to Node

+

proxy POST requests to Service

-
POST /api/v1/proxy/nodes/{name}
+
POST /api/v1/proxy/namespaces/{namespace}/services/{name}
@@ -21338,8 +21426,16 @@ 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

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

proxy GET requests to Node

+

proxy GET requests to Service

-
GET /api/v1/proxy/nodes/{name}/{path}
+
GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -21435,8 +21531,16 @@ 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

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

proxy PUT requests to Node

+

proxy PUT requests to Service

-
PUT /api/v1/proxy/nodes/{name}/{path}
+
PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -21540,8 +21644,16 @@ 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

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

proxy DELETE requests to Node

+

proxy DELETE requests to Service

-
DELETE /api/v1/proxy/nodes/{name}/{path}
+
DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -21645,8 +21757,16 @@ 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

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

proxy POST requests to Node

+

proxy POST requests to Service

-
POST /api/v1/proxy/nodes/{name}/{path}
+
POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
@@ -21750,8 +21870,16 @@ 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

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

list or watch objects of kind ReplicationController

+

proxy GET requests to Node

-
GET /api/v1/replicationcontrollers
+
GET /api/v1/proxy/nodes/{name}
@@ -21854,53 +21982,13 @@ 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

-

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)

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

200

+

default

success

-

v1.ReplicationControllerList

+

string

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

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

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

list or watch objects of kind ResourceQuota

+

proxy PUT requests to Node

-
GET /api/v1/resourcequotas
+
PUT /api/v1/proxy/nodes/{name}
@@ -21994,53 +22079,13 @@ 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

-

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)

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

200

+

default

success

-

v1.ResourceQuotaList

+

string

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

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

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

list or watch objects of kind Secret

+

proxy DELETE requests to Node

-
GET /api/v1/secrets
+
DELETE /api/v1/proxy/nodes/{name}
@@ -22134,53 +22176,13 @@ 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

-

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)

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

200

+

default

success

-

v1.SecretList

+

string

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

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

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

list or watch objects of kind ServiceAccount

+

proxy POST requests to Node

-
GET /api/v1/serviceaccounts
+
POST /api/v1/proxy/nodes/{name}
@@ -22274,53 +22273,13 @@ 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

-

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)

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

200

+

default

success

-

v1.ServiceAccountList

+

string

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

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

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

list or watch objects of kind Service

+

proxy GET requests to Node

-
GET /api/v1/services
+
GET /api/v1/proxy/nodes/{name}/{path}
@@ -22414,53 +22370,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)

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

200

+

default

success

-

v1.ServiceList

+

string

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

    application/json

    -
  • -
  • -

    application/yaml

    +

    /

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

watch individual changes to a list of ConfigMap

+

proxy PUT requests to Node

-
GET /api/v1/watch/configmaps
+
PUT /api/v1/proxy/nodes/{name}/{path}
@@ -22554,53 +22475,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)

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

200

+

default

success

-

json.WatchEvent

+

string

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

    application/json

    +

    /

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

watch individual changes to a list of Endpoints

+

proxy DELETE requests to Node

-
GET /api/v1/watch/endpoints
+
DELETE /api/v1/proxy/nodes/{name}/{path}
@@ -22691,53 +22580,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)

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

200

+

default

success

-

json.WatchEvent

+

string

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

    application/json

    +

    /

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

watch individual changes to a list of Event

+

proxy POST requests to Node

-
GET /api/v1/watch/events
+
POST /api/v1/proxy/nodes/{name}/{path}
@@ -22828,53 +22685,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)

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

200

+

default

success

-

json.WatchEvent

+

string

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

    application/json

    +

    /

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

watch individual changes to a list of LimitRange

+

list or watch objects of kind ReplicationController

-
GET /api/v1/watch/limitranges
+
GET /api/v1/replicationcontrollers
@@ -23035,7 +22860,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

200

success

-

json.WatchEvent

+

v1.ReplicationControllerList

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

  • +
  • +

    application/yaml

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

    watch individual changes to a list of Namespace

    +

    list or watch objects of kind ResourceQuota

    -
    GET /api/v1/watch/namespaces
    +
    GET /api/v1/resourcequotas
    @@ -23172,7 +23000,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    json.WatchEvent

    +

    v1.ResourceQuotaList

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

  • +
  • +

    application/yaml

    +
  • @@ -23210,10 +23041,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 Secret

    -
    GET /api/v1/watch/namespaces/{namespace}/configmaps
    +
    GET /api/v1/secrets
    @@ -23286,14 +23117,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

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

    200

    success

    -

    json.WatchEvent

    +

    v1.SecretList

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

  • +
  • +

    application/yaml

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

    watch changes to an object of kind ConfigMap

    +

    list or watch objects of kind ServiceAccount

    -
    GET /api/v1/watch/namespaces/{namespace}/configmaps/{name}
    +
    GET /api/v1/serviceaccounts
    @@ -23431,22 +23257,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    name

    -

    name of the ConfigMap

    -

    true

    -

    string

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

    200

    success

    -

    json.WatchEvent

    +

    v1.ServiceAccountList

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

  • +
  • +

    application/yaml

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

    watch individual changes to a list of Endpoints

    +

    list or watch objects of kind Service

    -
    GET /api/v1/watch/namespaces/{namespace}/endpoints
    +
    GET /api/v1/services
    @@ -23584,14 +23397,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

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

    200

    success

    -

    json.WatchEvent

    +

    v1.ServiceList

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

  • +
  • +

    application/yaml

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

    watch changes to an object of kind Endpoints

    +

    watch individual changes to a list of ConfigMap

    -
    GET /api/v1/watch/namespaces/{namespace}/endpoints/{name}
    +
    GET /api/v1/watch/configmaps
    @@ -23729,22 +23537,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    name

    -

    name of the Endpoints

    -

    true

    -

    string

    - - @@ -23806,10 +23598,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/namespaces/{namespace}/events
    +
    GET /api/v1/watch/endpoints
    @@ -23882,14 +23674,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

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

    watch changes to an object of kind Event

    +

    watch individual changes to a list of Event

    -
    GET /api/v1/watch/namespaces/{namespace}/events/{name}
    +
    GET /api/v1/watch/events
    @@ -24027,22 +23811,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    name

    -

    name of the Event

    -

    true

    -

    string

    - - @@ -24104,10 +23872,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 LimitRange

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

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

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

    watch changes to an object of kind LimitRange

    +

    watch individual changes to a list of Namespace

    -
    GET /api/v1/watch/namespaces/{namespace}/limitranges/{name}
    +
    GET /api/v1/watch/namespaces
    @@ -24325,22 +24085,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    - -

    PathParameter

    -

    namespace

    -

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

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    name

    -

    name of the LimitRange

    -

    true

    -

    string

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

    watch individual changes to a list of PersistentVolumeClaim

    +

    watch individual changes to a list of ConfigMap

    -
    GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims
    +
    GET /api/v1/watch/namespaces/{namespace}/configmaps
    @@ -24547,10 +24291,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind PersistentVolumeClaim

    +

    watch changes to an object of kind ConfigMap

    -
    GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/configmaps/{name}
    @@ -24634,7 +24378,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the PersistentVolumeClaim

    +

    name of the ConfigMap

    true

    string

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

    watch individual changes to a list of Pod

    +

    watch individual changes to a list of Endpoints

    -
    GET /api/v1/watch/namespaces/{namespace}/pods
    +
    GET /api/v1/watch/namespaces/{namespace}/endpoints
    @@ -24845,10 +24589,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind Pod

    +

    watch changes to an object of kind Endpoints

    -
    GET /api/v1/watch/namespaces/{namespace}/pods/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/endpoints/{name}
    @@ -24932,7 +24676,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Pod

    +

    name of the Endpoints

    true

    string

    @@ -24998,10 +24742,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 Event

    -
    GET /api/v1/watch/namespaces/{namespace}/podtemplates
    +
    GET /api/v1/watch/namespaces/{namespace}/events
    @@ -25143,10 +24887,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind PodTemplate

    +

    watch changes to an object of kind Event

    -
    GET /api/v1/watch/namespaces/{namespace}/podtemplates/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/events/{name}
    @@ -25230,7 +24974,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the PodTemplate

    +

    name of the Event

    true

    string

    @@ -25296,10 +25040,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 LimitRange

    -
    GET /api/v1/watch/namespaces/{namespace}/replicationcontrollers
    +
    GET /api/v1/watch/namespaces/{namespace}/limitranges
    @@ -25441,10 +25185,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind ReplicationController

    +

    watch changes to an object of kind LimitRange

    -
    GET /api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/limitranges/{name}
    @@ -25528,7 +25272,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ReplicationController

    +

    name of the LimitRange

    true

    string

    @@ -25594,10 +25338,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 PersistentVolumeClaim

    -
    GET /api/v1/watch/namespaces/{namespace}/resourcequotas
    +
    GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims
    @@ -25739,10 +25483,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind ResourceQuota

    +

    watch changes to an object of kind PersistentVolumeClaim

    -
    GET /api/v1/watch/namespaces/{namespace}/resourcequotas/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -25826,7 +25570,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -25892,10 +25636,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 Pod

    -
    GET /api/v1/watch/namespaces/{namespace}/secrets
    +
    GET /api/v1/watch/namespaces/{namespace}/pods
    @@ -26037,10 +25781,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind Secret

    +

    watch changes to an object of kind Pod

    -
    GET /api/v1/watch/namespaces/{namespace}/secrets/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/pods/{name}
    @@ -26124,7 +25868,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Secret

    +

    name of the Pod

    true

    string

    @@ -26190,10 +25934,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 PodTemplate

    -
    GET /api/v1/watch/namespaces/{namespace}/serviceaccounts
    +
    GET /api/v1/watch/namespaces/{namespace}/podtemplates
    @@ -26335,10 +26079,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    watch changes to an object of kind ServiceAccount

    +

    watch changes to an object of kind PodTemplate

    -
    GET /api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}
    +
    GET /api/v1/watch/namespaces/{namespace}/podtemplates/{name}
    @@ -26422,7 +26166,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ServiceAccount

    +

    name of the PodTemplate

    true

    string

    @@ -26488,10 +26232,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 ReplicationController

    -
    GET /api/v1/watch/namespaces/{namespace}/services
    +
    GET /api/v1/watch/namespaces/{namespace}/replicationcontrollers
    @@ -26633,6 +26377,1198 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    watch changes to an object of kind ReplicationController

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

    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)

    PathParameter

    namespace

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

    true

    string

    PathParameter

    name

    name of the ReplicationController

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ResourceQuota

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

    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)

    PathParameter

    namespace

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

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch changes to an object of kind ResourceQuota

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

    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)

    PathParameter

    namespace

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

    true

    string

    PathParameter

    name

    name of the ResourceQuota

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Secret

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

    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)

    PathParameter

    namespace

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

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch changes to an object of kind Secret

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

    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)

    PathParameter

    namespace

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

    true

    string

    PathParameter

    name

    name of the Secret

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ServiceAccount

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

    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)

    PathParameter

    namespace

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

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch changes to an object of kind ServiceAccount

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

    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)

    PathParameter

    namespace

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

    true

    string

    PathParameter

    name

    name of the ServiceAccount

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Service

    +
    +
    +
    GET /api/v1/watch/namespaces/{namespace}/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)

    PathParameter

    namespace

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

    true

    string

    + +
    +
    +

    Responses

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    watch changes to an object of kind Service

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

    @@ -26873,1118 +27809,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 Node

    -
    -
    -
    GET /api/v1/watch/nodes
    -
    -
    -
    -

    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 Node

    -
    -
    -
    GET /api/v1/watch/nodes/{name}
    -
    -
    -
    -

    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)

    PathParameter

    name

    name of the Node

    true

    string

    - -
    -
    -

    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

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    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

    -
    -
    -
    GET /api/v1/watch/persistentvolumes/{name}
    -
    -
    -
    -

    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)

    PathParameter

    name

    name of the PersistentVolume

    true

    string

    - -
    -
    -

    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

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of PodTemplate

    -
    -
    -
    GET /api/v1/watch/podtemplates
    -
    -
    -
    -

    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 ReplicationController

    -
    -
    -
    GET /api/v1/watch/replicationcontrollers
    -
    -
    -
    -

    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

    @@ -28043,10 +27867,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 Node

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

    watch individual changes to a list of Secret

    +

    watch changes to an object of kind Node

    -
    GET /api/v1/watch/secrets
    +
    GET /api/v1/watch/nodes/{name}
    @@ -28256,6 +28080,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    + +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    +

    string

    + + @@ -28317,10 +28149,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 PersistentVolumeClaim

    -
    GET /api/v1/watch/serviceaccounts
    +
    GET /api/v1/watch/persistentvolumeclaims
    @@ -28454,10 +28286,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 PersistentVolume

    -
    GET /api/v1/watch/services
    +
    GET /api/v1/watch/persistentvolumes
    @@ -28590,12 +28422,1116 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +
    +

    watch changes to an object of kind PersistentVolume

    +
    +
    +
    GET /api/v1/watch/persistentvolumes/{name}
    +
    +
    +
    +

    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)

    PathParameter

    name

    name of the PersistentVolume

    true

    string

    + +
    +
    +

    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

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

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of PodTemplate

    +
    +
    +
    GET /api/v1/watch/podtemplates
    +
    +
    +
    +

    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 ReplicationController

    +
    +
    +
    GET /api/v1/watch/replicationcontrollers
    +
    +
    +
    +

    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 ResourceQuota

    +
    +
    +
    GET /api/v1/watch/resourcequotas
    +
    +
    +
    +

    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 Secret

    +
    +
    +
    GET /api/v1/watch/secrets
    +
    +
    +
    +

    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 ServiceAccount

    +
    +
    +
    GET /api/v1/watch/serviceaccounts
    +
    +
    +
    +

    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 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/deep_copy_generated.go b/pkg/api/deep_copy_generated.go index 3dcb2fe5552..e2724ce0dac 100644 --- a/pkg/api/deep_copy_generated.go +++ b/pkg/api/deep_copy_generated.go @@ -164,6 +164,7 @@ func init() { DeepCopy_api_ServiceAccountList, DeepCopy_api_ServiceList, DeepCopy_api_ServicePort, + DeepCopy_api_ServiceProxyOptions, DeepCopy_api_ServiceSpec, DeepCopy_api_ServiceStatus, DeepCopy_api_TCPSocketAction, @@ -2744,6 +2745,14 @@ func DeepCopy_api_ServicePort(in ServicePort, out *ServicePort, c *conversion.Cl return nil } +func DeepCopy_api_ServiceProxyOptions(in ServiceProxyOptions, out *ServiceProxyOptions, c *conversion.Cloner) error { + if err := DeepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + out.Path = in.Path + return nil +} + func DeepCopy_api_ServiceSpec(in ServiceSpec, out *ServiceSpec, c *conversion.Cloner) error { out.Type = in.Type if in.Ports != nil { diff --git a/pkg/api/install/install.go b/pkg/api/install/install.go index 43aad9ce099..58d121ba86e 100644 --- a/pkg/api/install/install.go +++ b/pkg/api/install/install.go @@ -109,6 +109,7 @@ func newRESTMapper(externalVersions []unversioned.GroupVersion) meta.RESTMapper "PodAttachOptions", "PodProxyOptions", "NodeProxyOptions", + "ServiceProxyOptions", "ThirdPartyResource", "ThirdPartyResourceData", "ThirdPartyResourceList") diff --git a/pkg/api/register.go b/pkg/api/register.go index 0f267615122..13b2ef7ba57 100644 --- a/pkg/api/register.go +++ b/pkg/api/register.go @@ -66,6 +66,7 @@ func AddToScheme(scheme *runtime.Scheme) { &ReplicationController{}, &ServiceList{}, &Service{}, + &ServiceProxyOptions{}, &NodeList{}, &Node{}, &NodeProxyOptions{}, @@ -168,6 +169,7 @@ func (obj *PodAttachOptions) GetObjectKind() unversioned.ObjectKind { r func (obj *PodLogOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *PodExecOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *PodProxyOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *ServiceProxyOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *ComponentStatus) GetObjectMeta() meta.Object { return &obj.ObjectMeta } func (obj *ComponentStatus) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *ComponentStatusList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index ef7424dc22f..d7c86fce9b8 100644 --- a/pkg/api/types.generated.go +++ b/pkg/api/types.generated.go @@ -40193,6 +40193,264 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Kind != "" + yyq2[2] = x.APIVersion != "" + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(3) + } else { + yynn2 = 1 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "Path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj7-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) diff --git a/pkg/api/types.go b/pkg/api/types.go index 964280317bf..4b4986ac29b 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -2010,6 +2010,18 @@ type NodeProxyOptions struct { Path string } +// ServiceProxyOptions is the query options to a Service's proxy call. +type ServiceProxyOptions struct { + unversioned.TypeMeta + + // 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. + Path string +} + // ObjectReference contains enough information to let you inspect or modify the referred object. type ObjectReference struct { Kind string `json:"kind,omitempty"` diff --git a/pkg/api/v1/conversion_generated.go b/pkg/api/v1/conversion_generated.go index 61835614802..88d94445cb4 100644 --- a/pkg/api/v1/conversion_generated.go +++ b/pkg/api/v1/conversion_generated.go @@ -3023,6 +3023,18 @@ func Convert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Service return autoConvert_api_ServicePort_To_v1_ServicePort(in, out, s) } +func autoConvert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions(in *api.ServiceProxyOptions, out *ServiceProxyOptions, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.ServiceProxyOptions))(in) + } + out.Path = in.Path + return nil +} + +func Convert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions(in *api.ServiceProxyOptions, out *ServiceProxyOptions, s conversion.Scope) error { + return autoConvert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions(in, out, s) +} + func autoConvert_api_ServiceSpec_To_v1_ServiceSpec(in *api.ServiceSpec, out *ServiceSpec, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.ServiceSpec))(in) @@ -6196,6 +6208,18 @@ func Convert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Service return autoConvert_v1_ServicePort_To_api_ServicePort(in, out, s) } +func autoConvert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions(in *ServiceProxyOptions, out *api.ServiceProxyOptions, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*ServiceProxyOptions))(in) + } + out.Path = in.Path + return nil +} + +func Convert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions(in *ServiceProxyOptions, out *api.ServiceProxyOptions, s conversion.Scope) error { + return autoConvert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions(in, out, s) +} + func autoConvert_v1_ServiceSpec_To_api_ServiceSpec(in *ServiceSpec, out *api.ServiceSpec, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*ServiceSpec))(in) @@ -6597,6 +6621,7 @@ func init() { autoConvert_api_ServiceAccount_To_v1_ServiceAccount, autoConvert_api_ServiceList_To_v1_ServiceList, autoConvert_api_ServicePort_To_v1_ServicePort, + autoConvert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions, autoConvert_api_ServiceSpec_To_v1_ServiceSpec, autoConvert_api_ServiceStatus_To_v1_ServiceStatus, autoConvert_api_Service_To_v1_Service, @@ -6728,6 +6753,7 @@ func init() { autoConvert_v1_ServiceAccount_To_api_ServiceAccount, autoConvert_v1_ServiceList_To_api_ServiceList, autoConvert_v1_ServicePort_To_api_ServicePort, + autoConvert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions, autoConvert_v1_ServiceSpec_To_api_ServiceSpec, autoConvert_v1_ServiceStatus_To_api_ServiceStatus, autoConvert_v1_Service_To_api_Service, diff --git a/pkg/api/v1/deep_copy_generated.go b/pkg/api/v1/deep_copy_generated.go index c14bd07d86b..2d324187b4e 100644 --- a/pkg/api/v1/deep_copy_generated.go +++ b/pkg/api/v1/deep_copy_generated.go @@ -2358,6 +2358,14 @@ func deepCopy_v1_ServicePort(in ServicePort, out *ServicePort, c *conversion.Clo return nil } +func deepCopy_v1_ServiceProxyOptions(in ServiceProxyOptions, out *ServiceProxyOptions, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + out.Path = in.Path + return nil +} + func deepCopy_v1_ServiceSpec(in ServiceSpec, out *ServiceSpec, c *conversion.Cloner) error { if in.Ports != nil { out.Ports = make([]ServicePort, len(in.Ports)) @@ -2742,6 +2750,7 @@ func init() { deepCopy_v1_ServiceAccountList, deepCopy_v1_ServiceList, deepCopy_v1_ServicePort, + deepCopy_v1_ServiceProxyOptions, deepCopy_v1_ServiceSpec, deepCopy_v1_ServiceStatus, deepCopy_v1_TCPSocketAction, diff --git a/pkg/api/v1/register.go b/pkg/api/v1/register.go index 27a6be08fd2..760836e37a4 100644 --- a/pkg/api/v1/register.go +++ b/pkg/api/v1/register.go @@ -45,6 +45,7 @@ func addKnownTypes(scheme *runtime.Scheme) { &ReplicationController{}, &ReplicationControllerList{}, &Service{}, + &ServiceProxyOptions{}, &ServiceList{}, &Endpoints{}, &EndpointsList{}, @@ -126,6 +127,7 @@ func (obj *PodAttachOptions) GetObjectKind() unversioned.ObjectKind { r func (obj *PodLogOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *PodExecOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *PodProxyOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *ServiceProxyOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *ComponentStatus) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *ComponentStatusList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *SerializedReference) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index a3983e31c30..882d4bb06d0 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -40005,6 +40005,271 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Path != "" + yyq2[1] = x.Kind != "" + yyq2[2] = x.APIVersion != "" + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(3) + } else { + yynn2 = 0 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj7-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index d45f9a1837c..91374c2744c 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -2439,6 +2439,18 @@ type NodeProxyOptions struct { Path string `json:"path,omitempty"` } +// ServiceProxyOptions is the query options to a Service's proxy call. +type ServiceProxyOptions struct { + unversioned.TypeMeta `json:",inline"` + + // 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. + Path string `json:"path,omitempty"` +} + // ObjectReference contains enough information to let you inspect or modify the referred object. type ObjectReference struct { // Kind of the referent. diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index 8521a3aa065..8a7c587ecae 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -1508,6 +1508,15 @@ func (ServicePort) SwaggerDoc() map[string]string { return map_ServicePort } +var map_ServiceProxyOptions = map[string]string{ + "": "ServiceProxyOptions is the query options to a Service's proxy call.", + "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.", +} + +func (ServiceProxyOptions) SwaggerDoc() map[string]string { + return map_ServiceProxyOptions +} + var map_ServiceSpec = map[string]string{ "": "ServiceSpec describes the attributes that a user creates on a service.", "ports": "The list of ports that are exposed by this service. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies", diff --git a/pkg/client/unversioned/services.go b/pkg/client/unversioned/services.go index 510ed99b7d2..159187dbdfb 100644 --- a/pkg/client/unversioned/services.go +++ b/pkg/client/unversioned/services.go @@ -108,9 +108,9 @@ func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) { // ProxyGet returns a response of the service by calling it through the proxy. func (c *services) ProxyGet(scheme, name, port, path string, params map[string]string) ResponseWrapper { request := c.r.Get(). - Prefix("proxy"). Namespace(c.ns). Resource("services"). + SubResource("proxy"). Name(net.JoinSchemeNamePort(scheme, name, port)). Suffix(path) for k, v := range params { diff --git a/pkg/client/unversioned/services_test.go b/pkg/client/unversioned/services_test.go index e984a42aaf1..343aef6f6b8 100644 --- a/pkg/client/unversioned/services_test.go +++ b/pkg/client/unversioned/services_test.go @@ -218,7 +218,7 @@ func TestServiceProxyGet(t *testing.T) { c := &simple.Client{ Request: simple.Request{ Method: "GET", - Path: testapi.Default.ResourcePathWithPrefix("proxy", "services", ns, "service-1") + "/foo", + Path: testapi.Default.ResourcePath("services", ns, "service-1") + "/proxy/foo", Query: simple.BuildQueryValues(url.Values{"param-name": []string{"param-value"}}), }, Response: simple.Response{StatusCode: 200, RawBody: &body}, @@ -231,7 +231,7 @@ func TestServiceProxyGet(t *testing.T) { c = &simple.Client{ Request: simple.Request{ Method: "GET", - Path: testapi.Default.ResourcePathWithPrefix("proxy", "services", ns, "https:service-1:my-port") + "/foo", + Path: testapi.Default.ResourcePath("services", ns, "https:service-1:my-port") + "/proxy/foo", Query: simple.BuildQueryValues(url.Values{"param-name": []string{"param-value"}}), }, Response: simple.Response{StatusCode: 200, RawBody: &body}, diff --git a/pkg/master/master.go b/pkg/master/master.go index 49dd09b388f..68fab133f82 100644 --- a/pkg/master/master.go +++ b/pkg/master/master.go @@ -315,6 +315,9 @@ func (m *Master) initV1ResourcesStorage(c *Config) { controllerStorage, controllerStatusStorage := controlleretcd.NewREST(dbClient("replicationControllers"), storageDecorator) + serviceRest := service.NewStorage(m.serviceRegistry, m.endpointRegistry, serviceClusterIPAllocator, serviceNodePortAllocator, m.ProxyTransport) + + // TODO: Factor out the core API registration m.v1ResourcesStorage = map[string]rest.Storage{ "pods": podStorage.Pod, "pods/attach": podStorage.Attach, @@ -330,13 +333,18 @@ 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.Node, - "nodes/status": nodeStorage.Status, - "nodes/proxy": nodeStorage.Proxy, - "events": eventStorage, + + "services": serviceRest.Service, + "services/proxy": serviceRest.Proxy, + "services/status": serviceStatusStorage, + + "endpoints": endpointsStorage, + + "nodes": nodeStorage.Node, + "nodes/status": nodeStorage.Status, + "nodes/proxy": nodeStorage.Proxy, + + "events": eventStorage, "limitRanges": limitRangeStorage, "resourceQuotas": resourceQuotaStorage, diff --git a/pkg/registry/service/proxy.go b/pkg/registry/service/proxy.go new file mode 100644 index 00000000000..77ff95331ac --- /dev/null +++ b/pkg/registry/service/proxy.go @@ -0,0 +1,77 @@ +/* +Copyright 2015 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package service + +import ( + "fmt" + "net/http" + "net/url" + "path" + + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/api/rest" + "k8s.io/kubernetes/pkg/capabilities" + genericrest "k8s.io/kubernetes/pkg/registry/generic/rest" + "k8s.io/kubernetes/pkg/runtime" +) + +// ProxyREST implements the proxy subresource for a Service +type ProxyREST struct { + ServiceRest *REST + ProxyTransport http.RoundTripper +} + +// Implement Connecter +var _ = rest.Connecter(&ProxyREST{}) + +var proxyMethods = []string{"GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS"} + +// New returns an empty service resource +func (r *ProxyREST) New() runtime.Object { + return &api.Service{} +} + +// ConnectMethods returns the list of HTTP methods that can be proxied +func (r *ProxyREST) ConnectMethods() []string { + return proxyMethods +} + +// NewConnectOptions returns versioned resource that represents proxy parameters +func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string) { + return &api.ServiceProxyOptions{}, true, "path" +} + +// Connect returns a handler for the service proxy +func (r *ProxyREST) Connect(ctx api.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error) { + proxyOpts, ok := opts.(*api.ServiceProxyOptions) + if !ok { + return nil, fmt.Errorf("Invalid options object: %#v", opts) + } + location, transport, err := r.ServiceRest.ResourceLocation(ctx, id) + if err != nil { + return nil, err + } + location.Path = path.Join(location.Path, proxyOpts.Path) + // Return a proxy handler that uses the desired transport, wrapped with additional proxy handling (to get URL rewriting, X-Forwarded-* headers, etc) + return newThrottledUpgradeAwareProxyHandler(location, transport, true, false, responder), nil +} + +func newThrottledUpgradeAwareProxyHandler(location *url.URL, transport http.RoundTripper, wrapTransport, upgradeRequired bool, responder rest.Responder) *genericrest.UpgradeAwareProxyHandler { + handler := genericrest.NewUpgradeAwareProxyHandler(location, transport, wrapTransport, upgradeRequired, responder) + handler.MaxBytesPerSec = capabilities.Get().PerConnectionBandwidthLimitBytesPerSec + return handler +} diff --git a/pkg/registry/service/rest.go b/pkg/registry/service/rest.go index a90d264a943..44f602d0c92 100644 --- a/pkg/registry/service/rest.go +++ b/pkg/registry/service/rest.go @@ -39,6 +39,12 @@ import ( "k8s.io/kubernetes/pkg/watch" ) +// ServiceRest includes storage for services and all sub resources +type ServiceRest struct { + Service *REST + Proxy *ProxyREST +} + // REST adapts a service registry into apiserver's RESTStorage model. type REST struct { registry Registry @@ -50,14 +56,18 @@ type REST struct { // NewStorage returns a new REST. func NewStorage(registry Registry, endpoints endpoint.Registry, serviceIPs ipallocator.Interface, - serviceNodePorts portallocator.Interface, proxyTransport http.RoundTripper) *REST { - return &REST{ + serviceNodePorts portallocator.Interface, proxyTransport http.RoundTripper) *ServiceRest { + rest := &REST{ registry: registry, endpoints: endpoints, serviceIPs: serviceIPs, serviceNodePorts: serviceNodePorts, proxyTransport: proxyTransport, } + return &ServiceRest{ + Service: rest, + Proxy: &ProxyREST{ServiceRest: rest, ProxyTransport: proxyTransport}, + } } func (rs *REST) Create(ctx api.Context, obj runtime.Object) (runtime.Object, error) { diff --git a/pkg/registry/service/rest_test.go b/pkg/registry/service/rest_test.go index 57b0daeb74e..c1c7120b169 100644 --- a/pkg/registry/service/rest_test.go +++ b/pkg/registry/service/rest_test.go @@ -48,7 +48,7 @@ func NewTestREST(t *testing.T, endpoints *api.EndpointsList) (*REST, *registryte storage := NewStorage(registry, endpointRegistry, r, portAllocator, nil) - return storage, registry + return storage.Service, registry } func makeIPNet(t *testing.T) *net.IPNet { diff --git a/test/e2e/autoscaling_utils.go b/test/e2e/autoscaling_utils.go index c1268a02001..6e4c673be60 100644 --- a/test/e2e/autoscaling_utils.go +++ b/test/e2e/autoscaling_utils.go @@ -187,10 +187,9 @@ func (rc *ResourceConsumer) sendConsumeMemRequests(requests, megabytes, duration // sendOneConsumeCPURequest sends POST request for cpu consumption func (rc *ResourceConsumer) sendOneConsumeCPURequest(millicores int, durationSec int) { defer GinkgoRecover() - _, err := rc.framework.Client.Post(). - Prefix("proxy"). - Namespace(rc.framework.Namespace.Name). - Resource("services"). + proxyRequest, err := getServicesProxyRequest(rc.framework.Client, rc.framework.Client.Post()) + expectNoError(err) + _, err = proxyRequest.Namespace(rc.framework.Namespace.Name). Name(rc.name). Suffix("ConsumeCPU"). Param("millicores", strconv.Itoa(millicores)). @@ -202,10 +201,9 @@ func (rc *ResourceConsumer) sendOneConsumeCPURequest(millicores int, durationSec // sendOneConsumeMemRequest sends POST request for memory consumption func (rc *ResourceConsumer) sendOneConsumeMemRequest(megabytes int, durationSec int) { defer GinkgoRecover() - _, err := rc.framework.Client.Post(). - Prefix("proxy"). - Namespace(rc.framework.Namespace.Name). - Resource("services"). + proxyRequest, err := getServicesProxyRequest(rc.framework.Client, rc.framework.Client.Post()) + expectNoError(err) + _, err = proxyRequest.Namespace(rc.framework.Namespace.Name). Name(rc.name). Suffix("ConsumeMem"). Param("megabytes", strconv.Itoa(megabytes)). diff --git a/test/e2e/dashboard.go b/test/e2e/dashboard.go index 1faf97afc24..a4bf75dff86 100644 --- a/test/e2e/dashboard.go +++ b/test/e2e/dashboard.go @@ -52,11 +52,12 @@ var _ = Describe("Kubernetes Dashboard", func() { By("Checking to make sure we get a response from the kubernetes-dashboard.") err = wait.Poll(poll, serverStartTimeout, func() (bool, error) { var status int + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + Logf("Get services proxy request failed: %v", errProxy) + } // Query against the proxy URL for the kube-ui service. - err := f.Client.Get(). - Namespace(uiNamespace). - Prefix("proxy"). - Resource("services"). + err := proxyRequest.Namespace(uiNamespace). Name(uiServiceName). Timeout(singleCallTimeout). Do(). diff --git a/test/e2e/es_cluster_logging.go b/test/e2e/es_cluster_logging.go index 93775bada5a..c700649734e 100644 --- a/test/e2e/es_cluster_logging.go +++ b/test/e2e/es_cluster_logging.go @@ -110,11 +110,13 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { err = nil var body []byte for start := time.Now(); time.Since(start) < graceTime; time.Sleep(10 * time.Second) { + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + Logf("After %v failed to get services proxy request: %v", time.Since(start), errProxy) + continue + } // Query against the root URL for Elasticsearch. - body, err = f.Client.Get(). - Namespace(api.NamespaceSystem). - Prefix("proxy"). - Resource("services"). + body, err = proxyRequest.Namespace(api.NamespaceSystem). Name("elasticsearch-logging"). DoRaw() if err != nil { @@ -161,10 +163,12 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { By("Checking health of Elasticsearch service.") healthy := false for start := time.Now(); time.Since(start) < graceTime; time.Sleep(5 * time.Second) { - body, err = f.Client.Get(). - Namespace(api.NamespaceSystem). - Prefix("proxy"). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + Logf("After %v failed to get services proxy request: %v", time.Since(start), errProxy) + continue + } + body, err = proxyRequest.Namespace(api.NamespaceSystem). Name("elasticsearch-logging"). Suffix("_cluster/health"). Param("level", "indices"). @@ -321,13 +325,15 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { } } + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + Logf("After %v failed to get services proxy request: %v", time.Since(start), errProxy) + continue + } // Ask Elasticsearch to return all the log lines that were tagged with the underscore // version of the name. Ask for twice as many log lines as we expect to check for // duplication bugs. - body, err = f.Client.Get(). - Namespace(api.NamespaceSystem). - Prefix("proxy"). - Resource("services"). + body, err = proxyRequest.Namespace(api.NamespaceSystem). Name("elasticsearch-logging"). Suffix("_search"). Param("q", fmt.Sprintf("log:%s", taintName)). diff --git a/test/e2e/example_k8petstore.go b/test/e2e/example_k8petstore.go index e9efa4856be..34e72278cfa 100644 --- a/test/e2e/example_k8petstore.go +++ b/test/e2e/example_k8petstore.go @@ -47,10 +47,11 @@ const ( // readTransactions reads # of transactions from the k8petstore web server endpoint. // for more details see the source of the k8petstore web server. func readTransactions(c *client.Client, ns string) (error, int) { - body, err := c.Get(). - Namespace(ns). - Prefix("proxy"). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(c, c.Get()) + if errProxy != nil { + return errProxy, -1 + } + body, err := proxyRequest.Namespace(ns). Name("frontend"). Suffix("llen"). DoRaw() diff --git a/test/e2e/examples.go b/test/e2e/examples.go index 9b8e211cbc5..7b33f8ebd10 100644 --- a/test/e2e/examples.go +++ b/test/e2e/examples.go @@ -432,10 +432,11 @@ func makeHttpRequestToService(c *client.Client, ns, service, path string, timeou var result []byte var err error for t := time.Now(); time.Since(t) < timeout; time.Sleep(poll) { - result, err = c.Get(). - Prefix("proxy"). - Namespace(ns). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(c, c.Get()) + if errProxy != nil { + break + } + result, err = proxyRequest.Namespace(ns). Name(service). Suffix(path). Do(). diff --git a/test/e2e/kibana_logging.go b/test/e2e/kibana_logging.go index 7374f7a3d36..e66476d1a52 100644 --- a/test/e2e/kibana_logging.go +++ b/test/e2e/kibana_logging.go @@ -79,11 +79,13 @@ func ClusterLevelLoggingWithKibana(f *Framework) { By("Checking to make sure we get a response from the Kibana UI.") err = nil for start := time.Now(); time.Since(start) < graceTime; time.Sleep(5 * time.Second) { + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + Logf("After %v failed to get services proxy request: %v", time.Since(start), errProxy) + continue + } // Query against the root URL for Kibana. - _, err = f.Client.Get(). - Namespace(api.NamespaceSystem). - Prefix("proxy"). - Resource("services"). + _, err = proxyRequest.Namespace(api.NamespaceSystem). Name("kibana-logging"). DoRaw() if err != nil { diff --git a/test/e2e/kubectl.go b/test/e2e/kubectl.go index bf124039dc3..888b553ab58 100644 --- a/test/e2e/kubectl.go +++ b/test/e2e/kubectl.go @@ -1185,10 +1185,11 @@ func waitForGuestbookResponse(c *client.Client, cmd, arg, expectedResponse strin } func makeRequestToGuestbook(c *client.Client, cmd, value string, ns string) (string, error) { - result, err := c.Get(). - Prefix("proxy"). - Namespace(ns). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(c, c.Get()) + if errProxy != nil { + return "", errProxy + } + result, err := proxyRequest.Namespace(ns). Name("frontend"). Suffix("/guestbook.php"). Param("cmd", cmd). diff --git a/test/e2e/networking.go b/test/e2e/networking.go index 706dec87ecf..8345b40b95f 100644 --- a/test/e2e/networking.go +++ b/test/e2e/networking.go @@ -150,20 +150,22 @@ var _ = Describe("Networking", func() { //once response OK, evaluate response body for pass/fail. var body []byte getDetails := func() ([]byte, error) { - return f.Client.Get(). - Namespace(f.Namespace.Name). - Prefix("proxy"). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + return nil, errProxy + } + return proxyRequest.Namespace(f.Namespace.Name). Name(svc.Name). Suffix("read"). DoRaw() } getStatus := func() ([]byte, error) { - return f.Client.Get(). - Namespace(f.Namespace.Name). - Prefix("proxy"). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(f.Client, f.Client.Get()) + if errProxy != nil { + return nil, errProxy + } + return proxyRequest.Namespace(f.Namespace.Name). Name(svc.Name). Suffix("status"). DoRaw() diff --git a/test/e2e/proxy.go b/test/e2e/proxy.go index 0090f1059b2..ce60da577f1 100644 --- a/test/e2e/proxy.go +++ b/test/e2e/proxy.go @@ -137,6 +137,9 @@ func proxyContext(version string) { svcProxyURL := func(scheme, port string) string { return prefix + "/proxy/namespaces/" + f.Namespace.Name + "/services/" + net.JoinSchemeNamePort(scheme, service.Name, port) } + subresourceServiceProxyURL := func(scheme, port string) string { + return prefix + "/namespaces/" + f.Namespace.Name + "/services/" + net.JoinSchemeNamePort(scheme, service.Name, port) + "/proxy" + } podProxyURL := func(scheme, port string) string { return prefix + "/proxy/namespaces/" + f.Namespace.Name + "/pods/" + net.JoinSchemeNamePort(scheme, pods[0].Name, port) } @@ -159,6 +162,13 @@ func proxyContext(version string) { svcProxyURL("https", "tlsportname2") + "/": "tls qux", svcProxyURL("https", "444") + "/": "tls qux", + subresourceServiceProxyURL("", "portname1") + "/": "foo", + subresourceServiceProxyURL("http", "portname1") + "/": "foo", + subresourceServiceProxyURL("", "portname2") + "/": "bar", + subresourceServiceProxyURL("http", "portname2") + "/": "bar", + subresourceServiceProxyURL("https", "tlsportname1") + "/": "tls baz", + subresourceServiceProxyURL("https", "tlsportname2") + "/": "tls qux", + podProxyURL("", "80") + "/": `test`, podProxyURL("", "160") + "/": "foo", podProxyURL("", "162") + "/": "bar", diff --git a/test/e2e/util.go b/test/e2e/util.go index 5391c0131f5..05736588780 100644 --- a/test/e2e/util.go +++ b/test/e2e/util.go @@ -121,6 +121,21 @@ const ( var subResourcePodProxyVersion = version.MustParse("v1.1.0") var subResourceServiceAndNodeProxyVersion = version.MustParse("v1.2.0") +func getServicesProxyRequest(c *client.Client, request *client.Request) (*client.Request, error) { + subResourceProxyAvailable, err := serverVersionGTE(subResourceServiceAndNodeProxyVersion, c) + if err != nil { + return nil, err + } + if subResourceProxyAvailable { + return request.Resource("services").SubResource("proxy"), nil + } + return request.Prefix("proxy").Resource("services"), nil +} + +func GetServicesProxyRequest(c *client.Client, request *client.Request) (*client.Request, error) { + return getServicesProxyRequest(c, request) +} + type CloudConfig struct { ProjectID string Zone string @@ -1081,10 +1096,12 @@ func serviceResponding(c *client.Client, ns, name string) error { By(fmt.Sprintf("trying to dial the service %s.%s via the proxy", ns, name)) return wait.PollImmediate(poll, serviceRespondingTimeout, func() (done bool, err error) { - body, err := c.Get(). - Prefix("proxy"). - Namespace(ns). - Resource("services"). + proxyRequest, errProxy := getServicesProxyRequest(c, c.Get()) + if errProxy != nil { + Logf("Failed to get services proxy request: %v:", errProxy) + return false, nil + } + body, err := proxyRequest.Namespace(ns). Name(name). Do(). Raw() diff --git a/test/soak/serve_hostnames/serve_hostnames.go b/test/soak/serve_hostnames/serve_hostnames.go index f19d42eb67f..5f7581b98e2 100644 --- a/test/soak/serve_hostnames/serve_hostnames.go +++ b/test/soak/serve_hostnames/serve_hostnames.go @@ -37,6 +37,7 @@ import ( "k8s.io/kubernetes/pkg/client/unversioned/clientcmd" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/intstr" + "k8s.io/kubernetes/test/e2e" ) var ( @@ -252,12 +253,16 @@ func main() { } } + proxyRequest, errProxy := e2e.GetServicesProxyRequest(c, c.Get()) + if errProxy != nil { + glog.Warningf("Get services proxy request failed: %v", errProxy) + return + } + // Wait for the endpoints to propagate. for start := time.Now(); time.Since(start) < endpointTimeout; time.Sleep(10 * time.Second) { - hostname, err := c.Get(). + hostname, err := proxyRequest. Namespace(ns). - Prefix("proxy"). - Resource("services"). Name("serve-hostnames"). DoRaw() if err != nil { @@ -286,10 +291,8 @@ func main() { go func(i int, query int) { inFlight <- struct{}{} t := time.Now() - hostname, err := c.Get(). + hostname, err := proxyRequest. Namespace(ns). - Prefix("proxy"). - Resource("services"). Name("serve-hostnames"). DoRaw() glog.V(4).Infof("Proxy call in namespace %s took %v", ns, time.Since(t))