mirror of https://github.com/k3s-io/k3s
15330 lines
428 KiB
JSON
15330 lines
428 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"title": "Kubernetes /api/v1",
|
|
"version": "unversioned"
|
|
},
|
|
"paths": {
|
|
"/api/v1/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "getAPIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/componentstatuses": {
|
|
"get": {
|
|
"description": "list objects of kind ComponentStatus",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listComponentStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ComponentStatusList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/componentstatuses/{name}": {
|
|
"get": {
|
|
"description": "read the specified ComponentStatus",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readComponentStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ComponentStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ComponentStatus",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/configmaps": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listConfigMapForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMapList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/endpoints": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listEndpointsForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.EndpointsList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/events": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listEventForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.EventList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/limitranges": {
|
|
"get": {
|
|
"description": "list or watch objects of kind LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listLimitRangeForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRangeList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespace",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.NamespaceList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespace",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/bindings": {
|
|
"post": {
|
|
"description": "create a Binding",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedBinding",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Binding"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Binding"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/configmaps": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMapList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/configmaps/{name}": {
|
|
"get": {
|
|
"description": "read the specified ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified ConfigMap",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ConfigMap",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/endpoints": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.EndpointsList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/endpoints/{name}": {
|
|
"get": {
|
|
"description": "read the specified Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Endpoints",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedEndpoints",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Endpoints",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/events": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.EventList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/events/{name}": {
|
|
"get": {
|
|
"description": "read the specified Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Event",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Event",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/limitranges": {
|
|
"get": {
|
|
"description": "list or watch objects of kind LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRangeList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/limitranges/{name}": {
|
|
"get": {
|
|
"description": "read the specified LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified LimitRange",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedLimitRange",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the LimitRange",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/persistentvolumeclaims": {
|
|
"get": {
|
|
"description": "list or watch objects of kind PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaimList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": {
|
|
"get": {
|
|
"description": "read the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedPersistentVolumeClaim",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolumeClaim",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPersistentVolumeClaimStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedPersistentVolumeClaimStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified PersistentVolumeClaim",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedPersistentVolumeClaimStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolumeClaim",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}": {
|
|
"get": {
|
|
"description": "read the specified Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Pod",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedPod",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/attach": {
|
|
"get": {
|
|
"description": "connect GET requests to attach of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedPodAttach",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to attach of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedPodAttach",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
|
|
"name": "container",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
|
|
"name": "stderr",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
|
|
"name": "stdin",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
|
|
"name": "stdout",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
|
|
"name": "tty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/binding": {
|
|
"post": {
|
|
"description": "create binding of a Binding",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedBindingBinding",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Binding"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Binding"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Binding",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/eviction": {
|
|
"post": {
|
|
"description": "create eviction of a Eviction",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedEvictionEviction",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1alpha1.Eviction"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1alpha1.Eviction"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Eviction",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/exec": {
|
|
"get": {
|
|
"description": "connect GET requests to exec of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedPodExec",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to exec of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedPodExec",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Command is the remote command to execute. argv array. Not executed within a shell.",
|
|
"name": "command",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
|
|
"name": "container",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Redirect the standard error stream of the pod for this call. Defaults to true.",
|
|
"name": "stderr",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
|
|
"name": "stdin",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Redirect the standard output stream of the pod for this call. Defaults to true.",
|
|
"name": "stdout",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
|
|
"name": "tty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/log": {
|
|
"get": {
|
|
"description": "read log of the specified Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"text/plain",
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPodLog",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
|
|
"name": "container",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Follow the log stream of the pod. Defaults to false.",
|
|
"name": "follow",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
|
|
"name": "limitBytes",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Return previous terminated container logs. Defaults to false.",
|
|
"name": "previous",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
|
|
"name": "sinceSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
|
|
"name": "sinceTime",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime",
|
|
"name": "tailLines",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
|
|
"name": "timestamps",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/portforward": {
|
|
"get": {
|
|
"description": "connect GET requests to portforward of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedPodPortforward",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to portforward of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedPodPortforward",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/proxy": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNamespacedPodProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Path is the URL path to use for the current proxy request to pod.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNamespacedPodProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Path is the URL path to use for the current proxy request to pod.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/pods/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPodStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedPodStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Pod",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedPodStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/podtemplates": {
|
|
"get": {
|
|
"description": "list or watch objects of kind PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplateList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/podtemplates/{name}": {
|
|
"get": {
|
|
"description": "read the specified PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified PodTemplate",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedPodTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PodTemplate",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/replicationcontrollers": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationControllerList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": {
|
|
"get": {
|
|
"description": "read the specified ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified ReplicationController",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedReplicationController",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ReplicationController",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": {
|
|
"get": {
|
|
"description": "read scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedScaleScale",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Scale"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedScaleScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Scale"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Scale"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update scale of the specified Scale",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedScaleScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Scale"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Scale",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedReplicationControllerStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedReplicationControllerStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified ReplicationController",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedReplicationControllerStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ReplicationController",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/resourcequotas": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuotaList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/resourcequotas/{name}": {
|
|
"get": {
|
|
"description": "read the specified ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified ResourceQuota",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedResourceQuota",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ResourceQuota",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedResourceQuotaStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedResourceQuotaStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified ResourceQuota",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedResourceQuotaStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ResourceQuota",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/secrets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.SecretList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/secrets/{name}": {
|
|
"get": {
|
|
"description": "read the specified Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Secret",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Secret",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/serviceaccounts": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccountList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/serviceaccounts/{name}": {
|
|
"get": {
|
|
"description": "read the specified ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified ServiceAccount",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedServiceAccount",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ServiceAccount",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/services": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNamespacedService",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/services/{name}": {
|
|
"get": {
|
|
"description": "read the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedService",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Service",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/services/{name}/proxy": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNamespacedServiceProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNamespacedServiceProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{namespace}/services/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespacedServiceStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespacedServiceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Service",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespacedServiceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{name}": {
|
|
"get": {
|
|
"description": "read the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespace",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNamespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Namespace",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Namespace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{name}/finalize": {
|
|
"put": {
|
|
"description": "replace finalize of the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespaceFinalize",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Namespace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/namespaces/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNamespaceStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNamespaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Namespace",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNamespaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Namespace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/nodes": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listNode",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.NodeList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createNode",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionNode",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/nodes/{name}": {
|
|
"get": {
|
|
"description": "read the specified Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNode",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNode",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deleteNode",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Node",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNode",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/nodes/{name}/proxy": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNodeProxy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Path is the URL path to use for the current proxy request to node.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/nodes/{name}/proxy/{path}": {
|
|
"get": {
|
|
"description": "connect GET requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectGetNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "connect PUT requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPutNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "connect POST requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectPostNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "connect DELETE requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectDeleteNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "connect OPTIONS requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectOptionsNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "connect HEAD requests to proxy of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "connectHeadNodeProxyWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "Path is the URL path to use for the current proxy request to node.",
|
|
"name": "path",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/nodes/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readNodeStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replaceNodeStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Node",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchNodeStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/persistentvolumeclaims": {
|
|
"get": {
|
|
"description": "list or watch objects of kind PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listPersistentVolumeClaimForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaimList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/persistentvolumes": {
|
|
"get": {
|
|
"description": "list or watch objects of kind PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listPersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "createPersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletecollectionPersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/persistentvolumes/{name}": {
|
|
"get": {
|
|
"description": "read the specified PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readPersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
|
|
"name": "exact",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"name": "export",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replacePersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "deletePersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Status"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified PersistentVolume",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchPersistentVolume",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolume",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/persistentvolumes/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "readPersistentVolumeStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "replacePersistentVolumeStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified PersistentVolume",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "patchPersistentVolumeStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/unversioned.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolume",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/pods": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listPodForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/podtemplates": {
|
|
"get": {
|
|
"description": "list or watch objects of kind PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listPodTemplateForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.PodTemplateList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/namespaces/{namespace}/pods/{name}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNamespacedPodWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/namespaces/{namespace}/services/{name}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNamespacedServiceWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/nodes/{name}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/proxy/nodes/{name}/{path}": {
|
|
"get": {
|
|
"description": "proxy GET requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyGETNodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "proxy PUT requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPUTNodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "proxy POST requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyPOSTNodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "proxy DELETE requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyDELETENodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"description": "proxy OPTIONS requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyOPTIONSNodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"head": {
|
|
"description": "proxy HEAD requests to Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "proxyHEADNodeWithPath",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the resource",
|
|
"name": "path",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/replicationcontrollers": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listReplicationControllerForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ReplicationControllerList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/resourcequotas": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listResourceQuotaForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ResourceQuotaList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/secrets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listSecretForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.SecretList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/serviceaccounts": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listServiceAccountForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceAccountList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/services": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "listServiceForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/configmaps": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchConfigMapListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/endpoints": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchEndpointsListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/events": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchEventListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/limitranges": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchLimitRangeListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespaceList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/configmaps": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedConfigMapList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/configmaps/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedConfigMap",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ConfigMap",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/endpoints": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedEndpointsList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/endpoints/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Endpoints",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedEndpoints",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Endpoints",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/events": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedEventList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/events/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedEvent",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Event",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/limitranges": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedLimitRangeList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/limitranges/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind LimitRange",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedLimitRange",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the LimitRange",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPersistentVolumeClaimList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPersistentVolumeClaim",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolumeClaim",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/pods": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPodList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/pods/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPod",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pod",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/podtemplates": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPodTemplateList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedPodTemplate",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PodTemplate",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/replicationcontrollers": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedReplicationControllerList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedReplicationController",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ReplicationController",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/resourcequotas": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedResourceQuotaList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedResourceQuota",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ResourceQuota",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/secrets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedSecretList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/secrets/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedSecret",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Secret",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/serviceaccounts": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedServiceAccountList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedServiceAccount",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ServiceAccount",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/services": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedServiceList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{namespace}/services/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Service",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"name": "namespace",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/namespaces/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNamespace",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Namespace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/nodes": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNodeList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/nodes/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Node",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchNode",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Node",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/persistentvolumeclaims": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of PersistentVolumeClaim",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchPersistentVolumeClaimListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/persistentvolumes": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchPersistentVolumeList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/persistentvolumes/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind PersistentVolume",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchPersistentVolume",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the PersistentVolume",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/pods": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Pod",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchPodListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/podtemplates": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of PodTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchPodTemplateListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/replicationcontrollers": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ReplicationController",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchReplicationControllerListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/resourcequotas": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ResourceQuota",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchResourceQuotaListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/secrets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchSecretListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/serviceaccounts": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ServiceAccount",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchServiceAccountListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/api/v1/watch/services": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"operationId": "watchServiceListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/versioned.Event"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "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.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"definitions": {
|
|
"intstr.IntOrString": {
|
|
"type": "string",
|
|
"format": "int-or-string"
|
|
},
|
|
"resource.Quantity": {
|
|
"type": "string"
|
|
},
|
|
"runtime.RawExtension": {
|
|
"description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
|
|
"required": [
|
|
"Raw"
|
|
],
|
|
"properties": {
|
|
"Raw": {
|
|
"description": "Raw is the underlying serialization of this object.",
|
|
"type": "string",
|
|
"format": "byte"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.APIResource": {
|
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
"required": [
|
|
"name",
|
|
"namespaced",
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "name is the name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"namespaced": {
|
|
"description": "namespaced indicates if a resource is namespaced or not.",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.APIResourceList": {
|
|
"description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
|
|
"required": [
|
|
"groupVersion",
|
|
"resources"
|
|
],
|
|
"properties": {
|
|
"groupVersion": {
|
|
"description": "groupVersion is the group and version this APIResourceList is for.",
|
|
"type": "string"
|
|
},
|
|
"resources": {
|
|
"description": "resources contains the name of the resources and if they are namespaced.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/unversioned.APIResource"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"unversioned.LabelSelector": {
|
|
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
|
|
"properties": {
|
|
"matchExpressions": {
|
|
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/unversioned.LabelSelectorRequirement"
|
|
}
|
|
},
|
|
"matchLabels": {
|
|
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"unversioned.LabelSelectorRequirement": {
|
|
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
|
|
"required": [
|
|
"key",
|
|
"operator"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"description": "key is the label key that the selector applies to.",
|
|
"type": "string"
|
|
},
|
|
"operator": {
|
|
"description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.",
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"unversioned.ListMeta": {
|
|
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
|
"properties": {
|
|
"resourceVersion": {
|
|
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.Patch": {
|
|
"description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body."
|
|
},
|
|
"unversioned.Status": {
|
|
"description": "Status is a return value for calls that don't return other objects.",
|
|
"properties": {
|
|
"code": {
|
|
"description": "Suggested HTTP return code for this status, 0 if not set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"details": {
|
|
"description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
|
|
"$ref": "#/definitions/unversioned.StatusDetails"
|
|
},
|
|
"message": {
|
|
"description": "A human-readable description of the status of this operation.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
},
|
|
"reason": {
|
|
"description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.StatusCause": {
|
|
"description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
|
|
"properties": {
|
|
"field": {
|
|
"description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.StatusDetails": {
|
|
"description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
|
|
"properties": {
|
|
"causes": {
|
|
"description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/unversioned.StatusCause"
|
|
}
|
|
},
|
|
"group": {
|
|
"description": "The group attribute of the resource associated with the status StatusReason.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
|
|
"type": "string"
|
|
},
|
|
"retryAfterSeconds": {
|
|
"description": "If specified, the time in seconds before the operation should be retried.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"unversioned.Time": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"v1.AttachedVolume": {
|
|
"description": "AttachedVolume describes a volume attached to a node",
|
|
"required": [
|
|
"name",
|
|
"devicePath"
|
|
],
|
|
"properties": {
|
|
"devicePath": {
|
|
"description": "DevicePath represents the device path where the volume should be avilable",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the attached volume",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Binding": {
|
|
"description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.",
|
|
"required": [
|
|
"target"
|
|
],
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"target": {
|
|
"description": "The target object that you want to bind to the standard object.",
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
}
|
|
}
|
|
},
|
|
"v1.Capabilities": {
|
|
"description": "Adds and removes POSIX capabilities from running containers.",
|
|
"properties": {
|
|
"add": {
|
|
"description": "Added capabilities",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"drop": {
|
|
"description": "Removed capabilities",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.ComponentCondition": {
|
|
"description": "Information about the condition of a component.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"error": {
|
|
"description": "Condition error code for a component. For example, a health check error code.",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "Message about the condition for a component. For example, information about a health check.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of condition for a component. Valid value: \"Healthy\"",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ComponentStatus": {
|
|
"description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.",
|
|
"properties": {
|
|
"conditions": {
|
|
"description": "List of component conditions observed",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ComponentCondition"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ComponentStatusList": {
|
|
"description": "Status of all the conditions for the component as a list of ComponentStatus objects.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of ComponentStatus objects.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ComponentStatus"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMap": {
|
|
"description": "ConfigMap holds configuration data for pods to consume.",
|
|
"properties": {
|
|
"data": {
|
|
"description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapKeySelector": {
|
|
"description": "Selects a key from a ConfigMap.",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"description": "The key to select.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapList": {
|
|
"description": "ConfigMapList is a resource containing a list of ConfigMap objects.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items is the list of ConfigMaps.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.Container": {
|
|
"description": "A single application container that you want to run within a pod.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"args": {
|
|
"description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"command": {
|
|
"description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"env": {
|
|
"description": "List of environment variables to set in the container. Cannot be updated.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EnvVar"
|
|
}
|
|
},
|
|
"image": {
|
|
"description": "Docker image name. More info: http://kubernetes.io/docs/user-guide/images",
|
|
"type": "string"
|
|
},
|
|
"imagePullPolicy": {
|
|
"description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images",
|
|
"type": "string"
|
|
},
|
|
"lifecycle": {
|
|
"description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
|
|
"$ref": "#/definitions/v1.Lifecycle"
|
|
},
|
|
"livenessProbe": {
|
|
"description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
|
"$ref": "#/definitions/v1.Probe"
|
|
},
|
|
"name": {
|
|
"description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
|
|
"type": "string"
|
|
},
|
|
"ports": {
|
|
"description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ContainerPort"
|
|
}
|
|
},
|
|
"readinessProbe": {
|
|
"description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
|
"$ref": "#/definitions/v1.Probe"
|
|
},
|
|
"resources": {
|
|
"description": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources",
|
|
"$ref": "#/definitions/v1.ResourceRequirements"
|
|
},
|
|
"securityContext": {
|
|
"description": "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md",
|
|
"$ref": "#/definitions/v1.SecurityContext"
|
|
},
|
|
"stdin": {
|
|
"description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"stdinOnce": {
|
|
"description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
|
|
"type": "boolean"
|
|
},
|
|
"terminationMessagePath": {
|
|
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.",
|
|
"type": "string"
|
|
},
|
|
"tty": {
|
|
"description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"volumeMounts": {
|
|
"description": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.VolumeMount"
|
|
}
|
|
},
|
|
"workingDir": {
|
|
"description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerImage": {
|
|
"description": "Describe a container image",
|
|
"required": [
|
|
"names"
|
|
],
|
|
"properties": {
|
|
"names": {
|
|
"description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"sizeBytes": {
|
|
"description": "The size of the image in bytes.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerPort": {
|
|
"description": "ContainerPort represents a network port in a single container.",
|
|
"required": [
|
|
"containerPort"
|
|
],
|
|
"properties": {
|
|
"containerPort": {
|
|
"description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 \u003c x \u003c 65536.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"hostIP": {
|
|
"description": "What host IP to bind the external port to.",
|
|
"type": "string"
|
|
},
|
|
"hostPort": {
|
|
"description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 \u003c x \u003c 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"name": {
|
|
"description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.",
|
|
"type": "string"
|
|
},
|
|
"protocol": {
|
|
"description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerState": {
|
|
"description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
|
|
"properties": {
|
|
"running": {
|
|
"description": "Details about a running container",
|
|
"$ref": "#/definitions/v1.ContainerStateRunning"
|
|
},
|
|
"terminated": {
|
|
"description": "Details about a terminated container",
|
|
"$ref": "#/definitions/v1.ContainerStateTerminated"
|
|
},
|
|
"waiting": {
|
|
"description": "Details about a waiting container",
|
|
"$ref": "#/definitions/v1.ContainerStateWaiting"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerStateRunning": {
|
|
"description": "ContainerStateRunning is a running state of a container.",
|
|
"properties": {
|
|
"startedAt": {
|
|
"description": "Time at which the container was last (re-)started",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerStateTerminated": {
|
|
"description": "ContainerStateTerminated is a terminated state of a container.",
|
|
"required": [
|
|
"exitCode"
|
|
],
|
|
"properties": {
|
|
"containerID": {
|
|
"description": "Container's ID in the format 'docker://\u003ccontainer_id\u003e'",
|
|
"type": "string"
|
|
},
|
|
"exitCode": {
|
|
"description": "Exit status from the last termination of the container",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"finishedAt": {
|
|
"description": "Time at which the container last terminated",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"message": {
|
|
"description": "Message regarding the last termination of the container",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "(brief) reason from the last termination of the container",
|
|
"type": "string"
|
|
},
|
|
"signal": {
|
|
"description": "Signal from the last termination of the container",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"startedAt": {
|
|
"description": "Time at which previous execution of the container started",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerStateWaiting": {
|
|
"description": "ContainerStateWaiting is a waiting state of a container.",
|
|
"properties": {
|
|
"message": {
|
|
"description": "Message regarding why the container is not yet running.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "(brief) reason the container is not yet running.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerStatus": {
|
|
"description": "ContainerStatus contains details for the current status of this container.",
|
|
"required": [
|
|
"name",
|
|
"ready",
|
|
"restartCount",
|
|
"image",
|
|
"imageID"
|
|
],
|
|
"properties": {
|
|
"containerID": {
|
|
"description": "Container's ID in the format 'docker://\u003ccontainer_id\u003e'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information",
|
|
"type": "string"
|
|
},
|
|
"image": {
|
|
"description": "The image the container is running. More info: http://kubernetes.io/docs/user-guide/images",
|
|
"type": "string"
|
|
},
|
|
"imageID": {
|
|
"description": "ImageID of the container's image.",
|
|
"type": "string"
|
|
},
|
|
"lastState": {
|
|
"description": "Details about the container's last termination condition.",
|
|
"$ref": "#/definitions/v1.ContainerState"
|
|
},
|
|
"name": {
|
|
"description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.",
|
|
"type": "string"
|
|
},
|
|
"ready": {
|
|
"description": "Specifies whether the container has passed its readiness probe.",
|
|
"type": "boolean"
|
|
},
|
|
"restartCount": {
|
|
"description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"state": {
|
|
"description": "Details about the container's current condition.",
|
|
"$ref": "#/definitions/v1.ContainerState"
|
|
}
|
|
}
|
|
},
|
|
"v1.DaemonEndpoint": {
|
|
"description": "DaemonEndpoint contains information about a single Daemon endpoint.",
|
|
"required": [
|
|
"Port"
|
|
],
|
|
"properties": {
|
|
"Port": {
|
|
"description": "Port number of the given endpoint.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1.DeleteOptions": {
|
|
"description": "DeleteOptions may be provided when deleting an API object",
|
|
"properties": {
|
|
"gracePeriodSeconds": {
|
|
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"orphanDependents": {
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"type": "boolean"
|
|
},
|
|
"preconditions": {
|
|
"description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
|
|
"$ref": "#/definitions/v1.Preconditions"
|
|
}
|
|
}
|
|
},
|
|
"v1.EndpointAddress": {
|
|
"description": "EndpointAddress is a tuple that describes single IP address.",
|
|
"required": [
|
|
"ip"
|
|
],
|
|
"properties": {
|
|
"hostname": {
|
|
"description": "The Hostname of this endpoint",
|
|
"type": "string"
|
|
},
|
|
"ip": {
|
|
"description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.",
|
|
"type": "string"
|
|
},
|
|
"nodeName": {
|
|
"description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.",
|
|
"type": "string"
|
|
},
|
|
"targetRef": {
|
|
"description": "Reference to object providing the endpoint.",
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
}
|
|
}
|
|
},
|
|
"v1.EndpointPort": {
|
|
"description": "EndpointPort is a tuple that describes a single port.",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "The port number of the endpoint.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"protocol": {
|
|
"description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.EndpointSubset": {
|
|
"description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
|
|
"properties": {
|
|
"addresses": {
|
|
"description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EndpointAddress"
|
|
}
|
|
},
|
|
"notReadyAddresses": {
|
|
"description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EndpointAddress"
|
|
}
|
|
},
|
|
"ports": {
|
|
"description": "Port numbers available on the related IP addresses.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EndpointPort"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.Endpoints": {
|
|
"description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]",
|
|
"required": [
|
|
"subsets"
|
|
],
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"subsets": {
|
|
"description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EndpointSubset"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.EndpointsList": {
|
|
"description": "EndpointsList is a list of endpoints.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of endpoints.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Endpoints"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvVar": {
|
|
"description": "EnvVar represents an environment variable present in a Container.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the environment variable. Must be a C_IDENTIFIER.",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
|
|
"type": "string"
|
|
},
|
|
"valueFrom": {
|
|
"description": "Source for the environment variable's value. Cannot be used if value is not empty.",
|
|
"$ref": "#/definitions/v1.EnvVarSource"
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvVarSource": {
|
|
"description": "EnvVarSource represents a source for the value of an EnvVar.",
|
|
"properties": {
|
|
"configMapKeyRef": {
|
|
"description": "Selects a key of a ConfigMap.",
|
|
"$ref": "#/definitions/v1.ConfigMapKeySelector"
|
|
},
|
|
"fieldRef": {
|
|
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.",
|
|
"$ref": "#/definitions/v1.ObjectFieldSelector"
|
|
},
|
|
"resourceFieldRef": {
|
|
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.",
|
|
"$ref": "#/definitions/v1.ResourceFieldSelector"
|
|
},
|
|
"secretKeyRef": {
|
|
"description": "Selects a key of a secret in the pod's namespace",
|
|
"$ref": "#/definitions/v1.SecretKeySelector"
|
|
}
|
|
}
|
|
},
|
|
"v1.Event": {
|
|
"description": "Event is a report of an event somewhere in the cluster.",
|
|
"required": [
|
|
"metadata",
|
|
"involvedObject"
|
|
],
|
|
"properties": {
|
|
"count": {
|
|
"description": "The number of times this event has occurred.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"firstTimestamp": {
|
|
"description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"involvedObject": {
|
|
"description": "The object that this event is about.",
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
},
|
|
"lastTimestamp": {
|
|
"description": "The time at which the most recent occurrence of this event was recorded.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"message": {
|
|
"description": "A human-readable description of the status of this operation.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"reason": {
|
|
"description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.",
|
|
"type": "string"
|
|
},
|
|
"source": {
|
|
"description": "The component reporting this event. Should be a short machine understandable string.",
|
|
"$ref": "#/definitions/v1.EventSource"
|
|
},
|
|
"type": {
|
|
"description": "Type of this event (Normal, Warning), new types could be added in the future",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.EventList": {
|
|
"description": "EventList is a list of events.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of events",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.EventSource": {
|
|
"description": "EventSource contains information for an event.",
|
|
"properties": {
|
|
"component": {
|
|
"description": "Component from which the event is generated.",
|
|
"type": "string"
|
|
},
|
|
"host": {
|
|
"description": "Node name on which the event is generated.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ExecAction": {
|
|
"description": "ExecAction describes a \"run in container\" action.",
|
|
"properties": {
|
|
"command": {
|
|
"description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.HTTPGetAction": {
|
|
"description": "HTTPGetAction describes an action based on HTTP Get requests.",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"host": {
|
|
"description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.",
|
|
"type": "string"
|
|
},
|
|
"httpHeaders": {
|
|
"description": "Custom headers to set in the request. HTTP allows repeated headers.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.HTTPHeader"
|
|
}
|
|
},
|
|
"path": {
|
|
"description": "Path to access on the HTTP server.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
},
|
|
"scheme": {
|
|
"description": "Scheme to use for connecting to the host. Defaults to HTTP.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.HTTPHeader": {
|
|
"description": "HTTPHeader describes a custom header to be used in HTTP probes",
|
|
"required": [
|
|
"name",
|
|
"value"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "The header field name",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "The header field value",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Handler": {
|
|
"description": "Handler defines a specific action that should be taken",
|
|
"properties": {
|
|
"exec": {
|
|
"description": "One and only one of the following should be specified. Exec specifies the action to take.",
|
|
"$ref": "#/definitions/v1.ExecAction"
|
|
},
|
|
"httpGet": {
|
|
"description": "HTTPGet specifies the http request to perform.",
|
|
"$ref": "#/definitions/v1.HTTPGetAction"
|
|
},
|
|
"tcpSocket": {
|
|
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
|
|
"$ref": "#/definitions/v1.TCPSocketAction"
|
|
}
|
|
}
|
|
},
|
|
"v1.Lifecycle": {
|
|
"description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.",
|
|
"properties": {
|
|
"postStart": {
|
|
"description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details",
|
|
"$ref": "#/definitions/v1.Handler"
|
|
},
|
|
"preStop": {
|
|
"description": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details",
|
|
"$ref": "#/definitions/v1.Handler"
|
|
}
|
|
}
|
|
},
|
|
"v1.LimitRange": {
|
|
"description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.LimitRangeSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1.LimitRangeItem": {
|
|
"description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.",
|
|
"properties": {
|
|
"default": {
|
|
"description": "Default resource requirement limit value by resource name if resource limit is omitted.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"defaultRequest": {
|
|
"description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"max": {
|
|
"description": "Max usage constraints on this kind by resource name.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"maxLimitRequestRatio": {
|
|
"description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"min": {
|
|
"description": "Min usage constraints on this kind by resource name.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"type": {
|
|
"description": "Type of resource that this limit applies to.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.LimitRangeList": {
|
|
"description": "LimitRangeList is a list of LimitRange items.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.LimitRange"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.LimitRangeSpec": {
|
|
"description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.",
|
|
"required": [
|
|
"limits"
|
|
],
|
|
"properties": {
|
|
"limits": {
|
|
"description": "Limits is the list of LimitRangeItem objects that are enforced.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.LimitRangeItem"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.LoadBalancerIngress": {
|
|
"description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
|
|
"properties": {
|
|
"hostname": {
|
|
"description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
|
|
"type": "string"
|
|
},
|
|
"ip": {
|
|
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.LoadBalancerStatus": {
|
|
"description": "LoadBalancerStatus represents the status of a load-balancer.",
|
|
"properties": {
|
|
"ingress": {
|
|
"description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.LoadBalancerIngress"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.LocalObjectReference": {
|
|
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Namespace": {
|
|
"description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.NamespaceSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.NamespaceStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.NamespaceList": {
|
|
"description": "NamespaceList is a list of Namespaces.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.NamespaceSpec": {
|
|
"description": "NamespaceSpec describes the attributes on a Namespace.",
|
|
"properties": {
|
|
"finalizers": {
|
|
"description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.NamespaceStatus": {
|
|
"description": "NamespaceStatus is information about the current status of a Namespace.",
|
|
"properties": {
|
|
"phase": {
|
|
"description": "Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Node": {
|
|
"description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.NodeSpec"
|
|
},
|
|
"status": {
|
|
"description": "Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.NodeStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeAddress": {
|
|
"description": "NodeAddress contains information for the node's address.",
|
|
"required": [
|
|
"type",
|
|
"address"
|
|
],
|
|
"properties": {
|
|
"address": {
|
|
"description": "The node address.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Node address type, one of Hostname, ExternalIP or InternalIP.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeCondition": {
|
|
"description": "NodeCondition contains condition information for a node.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastHeartbeatTime": {
|
|
"description": "Last time we got an update on a given condition.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transit from one status to another.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"message": {
|
|
"description": "Human readable message indicating details about last transition.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "(brief) reason for the condition's last transition.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the condition, one of True, False, Unknown.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of node condition.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeDaemonEndpoints": {
|
|
"description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
|
|
"properties": {
|
|
"kubeletEndpoint": {
|
|
"description": "Endpoint on which Kubelet is listening.",
|
|
"$ref": "#/definitions/v1.DaemonEndpoint"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeList": {
|
|
"description": "NodeList is the whole list of all Nodes which have been registered with master.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of nodes",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Node"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSpec": {
|
|
"description": "NodeSpec describes the attributes that a node is created with.",
|
|
"properties": {
|
|
"externalID": {
|
|
"description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.",
|
|
"type": "string"
|
|
},
|
|
"podCIDR": {
|
|
"description": "PodCIDR represents the pod IP range assigned to the node.",
|
|
"type": "string"
|
|
},
|
|
"providerID": {
|
|
"description": "ID of the node assigned by the cloud provider in the format: \u003cProviderName\u003e://\u003cProviderSpecificNodeID\u003e",
|
|
"type": "string"
|
|
},
|
|
"unschedulable": {
|
|
"description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration\"`",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeStatus": {
|
|
"description": "NodeStatus is information about the current status of a node.",
|
|
"properties": {
|
|
"addresses": {
|
|
"description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.NodeAddress"
|
|
}
|
|
},
|
|
"allocatable": {
|
|
"description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"capacity": {
|
|
"description": "Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"conditions": {
|
|
"description": "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.NodeCondition"
|
|
}
|
|
},
|
|
"daemonEndpoints": {
|
|
"description": "Endpoints of daemons running on the Node.",
|
|
"$ref": "#/definitions/v1.NodeDaemonEndpoints"
|
|
},
|
|
"images": {
|
|
"description": "List of container images on this node",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ContainerImage"
|
|
}
|
|
},
|
|
"nodeInfo": {
|
|
"description": "Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info",
|
|
"$ref": "#/definitions/v1.NodeSystemInfo"
|
|
},
|
|
"phase": {
|
|
"description": "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.",
|
|
"type": "string"
|
|
},
|
|
"volumesAttached": {
|
|
"description": "List of volumes that are attached to the node.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.AttachedVolume"
|
|
}
|
|
},
|
|
"volumesInUse": {
|
|
"description": "List of attachable volumes in use (mounted) by the node.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSystemInfo": {
|
|
"description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
|
|
"required": [
|
|
"machineID",
|
|
"systemUUID",
|
|
"bootID",
|
|
"kernelVersion",
|
|
"osImage",
|
|
"containerRuntimeVersion",
|
|
"kubeletVersion",
|
|
"kubeProxyVersion",
|
|
"operatingSystem",
|
|
"architecture"
|
|
],
|
|
"properties": {
|
|
"architecture": {
|
|
"description": "The Architecture reported by the node",
|
|
"type": "string"
|
|
},
|
|
"bootID": {
|
|
"description": "Boot ID reported by the node.",
|
|
"type": "string"
|
|
},
|
|
"containerRuntimeVersion": {
|
|
"description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
|
|
"type": "string"
|
|
},
|
|
"kernelVersion": {
|
|
"description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
|
|
"type": "string"
|
|
},
|
|
"kubeProxyVersion": {
|
|
"description": "KubeProxy Version reported by the node.",
|
|
"type": "string"
|
|
},
|
|
"kubeletVersion": {
|
|
"description": "Kubelet Version reported by the node.",
|
|
"type": "string"
|
|
},
|
|
"machineID": {
|
|
"description": "MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
|
|
"type": "string"
|
|
},
|
|
"operatingSystem": {
|
|
"description": "The Operating System reported by the node",
|
|
"type": "string"
|
|
},
|
|
"osImage": {
|
|
"description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
|
|
"type": "string"
|
|
},
|
|
"systemUUID": {
|
|
"description": "SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ObjectFieldSelector": {
|
|
"description": "ObjectFieldSelector selects an APIVersioned field of an object.",
|
|
"required": [
|
|
"fieldPath"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
|
|
"type": "string"
|
|
},
|
|
"fieldPath": {
|
|
"description": "Path of the field to select in the specified API version.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ObjectMeta": {
|
|
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
|
|
"properties": {
|
|
"annotations": {
|
|
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"clusterName": {
|
|
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"deletionGracePeriodSeconds": {
|
|
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"deletionTimestamp": {
|
|
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource will be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. Once the resource is deleted in the API, the Kubelet will send a hard termination signal to the container. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"finalizers": {
|
|
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"generateName": {
|
|
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency",
|
|
"type": "string"
|
|
},
|
|
"generation": {
|
|
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"labels": {
|
|
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"name": {
|
|
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
|
|
"type": "string"
|
|
},
|
|
"ownerReferences": {
|
|
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.OwnerReference"
|
|
}
|
|
},
|
|
"resourceVersion": {
|
|
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ObjectReference": {
|
|
"description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "API version of the referent.",
|
|
"type": "string"
|
|
},
|
|
"fieldPath": {
|
|
"description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces",
|
|
"type": "string"
|
|
},
|
|
"resourceVersion": {
|
|
"description": "Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.OwnerReference": {
|
|
"description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.",
|
|
"required": [
|
|
"apiVersion",
|
|
"kind",
|
|
"name",
|
|
"uid"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "API version of the referent.",
|
|
"type": "string"
|
|
},
|
|
"controller": {
|
|
"description": "If true, this reference points to the managing controller.",
|
|
"type": "boolean"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolume": {
|
|
"description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes",
|
|
"$ref": "#/definitions/v1.PersistentVolumeSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes",
|
|
"$ref": "#/definitions/v1.PersistentVolumeStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeClaim": {
|
|
"description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims",
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaimSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims",
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaimStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeClaimList": {
|
|
"description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaim"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeClaimSpec": {
|
|
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
|
|
"properties": {
|
|
"accessModes": {
|
|
"description": "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": {
|
|
"description": "Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources",
|
|
"$ref": "#/definitions/v1.ResourceRequirements"
|
|
},
|
|
"selector": {
|
|
"description": "A label query over volumes to consider for binding.",
|
|
"$ref": "#/definitions/unversioned.LabelSelector"
|
|
},
|
|
"volumeName": {
|
|
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeClaimStatus": {
|
|
"description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
|
|
"properties": {
|
|
"accessModes": {
|
|
"description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"capacity": {
|
|
"description": "Represents the actual resources of the underlying volume.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"phase": {
|
|
"description": "Phase represents the current phase of PersistentVolumeClaim.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeList": {
|
|
"description": "PersistentVolumeList is a list of PersistentVolume items.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PersistentVolume"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeSpec": {
|
|
"description": "PersistentVolumeSpec is the specification of a persistent volume.",
|
|
"properties": {
|
|
"accessModes": {
|
|
"description": "AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"capacity": {
|
|
"description": "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"claimRef": {
|
|
"description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding",
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
},
|
|
"persistentVolumeReclaimPolicy": {
|
|
"description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeStatus": {
|
|
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
|
|
"properties": {
|
|
"message": {
|
|
"description": "A human-readable message indicating details about why the volume is in this state.",
|
|
"type": "string"
|
|
},
|
|
"phase": {
|
|
"description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Pod": {
|
|
"description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.PodSpec"
|
|
},
|
|
"status": {
|
|
"description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.PodStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodCondition": {
|
|
"description": "PodCondition contains details for the current condition of this pod.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastProbeTime": {
|
|
"description": "Last time we probed the condition.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transitioned from one status to another.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"message": {
|
|
"description": "Human-readable message indicating details about last transition.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodList": {
|
|
"description": "PodList is a list of Pods.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of pods. More info: http://kubernetes.io/docs/user-guide/pods",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Pod"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodSecurityContext": {
|
|
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
|
|
"properties": {
|
|
"fsGroup": {
|
|
"description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"runAsNonRoot": {
|
|
"description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
|
|
"type": "boolean"
|
|
},
|
|
"runAsUser": {
|
|
"description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"seLinuxOptions": {
|
|
"description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.",
|
|
"$ref": "#/definitions/v1.SELinuxOptions"
|
|
},
|
|
"supplementalGroups": {
|
|
"description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.PodSpec": {
|
|
"description": "PodSpec is a description of a pod.",
|
|
"required": [
|
|
"containers"
|
|
],
|
|
"properties": {
|
|
"activeDeadlineSeconds": {
|
|
"description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"containers": {
|
|
"description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Container"
|
|
}
|
|
},
|
|
"dnsPolicy": {
|
|
"description": "Set DNS policy for containers within the pod. One of 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\".",
|
|
"type": "string"
|
|
},
|
|
"hostIPC": {
|
|
"description": "Use the host's ipc namespace. Optional: Default to false.",
|
|
"type": "boolean"
|
|
},
|
|
"hostNetwork": {
|
|
"description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.",
|
|
"type": "boolean"
|
|
},
|
|
"hostPID": {
|
|
"description": "Use the host's pid namespace. Optional: Default to false.",
|
|
"type": "boolean"
|
|
},
|
|
"hostname": {
|
|
"description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
|
|
"type": "string"
|
|
},
|
|
"imagePullSecrets": {
|
|
"description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
}
|
|
},
|
|
"nodeName": {
|
|
"description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
|
|
"type": "string"
|
|
},
|
|
"nodeSelector": {
|
|
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"restartPolicy": {
|
|
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy",
|
|
"type": "string"
|
|
},
|
|
"securityContext": {
|
|
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
|
|
"$ref": "#/definitions/v1.PodSecurityContext"
|
|
},
|
|
"serviceAccount": {
|
|
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
|
|
"type": "string"
|
|
},
|
|
"serviceAccountName": {
|
|
"description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md",
|
|
"type": "string"
|
|
},
|
|
"subdomain": {
|
|
"description": "If specified, the fully qualified Pod hostname will be \"\u003chostname\u003e.\u003csubdomain\u003e.\u003cpod namespace\u003e.svc.\u003ccluster domain\u003e\". If not specified, the pod will not have a domainname at all.",
|
|
"type": "string"
|
|
},
|
|
"terminationGracePeriodSeconds": {
|
|
"description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"volumes": {
|
|
"description": "List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Volume"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.PodStatus": {
|
|
"description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.",
|
|
"properties": {
|
|
"conditions": {
|
|
"description": "Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PodCondition"
|
|
}
|
|
},
|
|
"containerStatuses": {
|
|
"description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ContainerStatus"
|
|
}
|
|
},
|
|
"hostIP": {
|
|
"description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "A human readable message indicating details about why the pod is in this condition.",
|
|
"type": "string"
|
|
},
|
|
"phase": {
|
|
"description": "Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase",
|
|
"type": "string"
|
|
},
|
|
"podIP": {
|
|
"description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'",
|
|
"type": "string"
|
|
},
|
|
"startTime": {
|
|
"description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodTemplate": {
|
|
"description": "PodTemplate describes a template for creating copies of a predefined pod.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"template": {
|
|
"description": "Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodTemplateList": {
|
|
"description": "PodTemplateList is a list of PodTemplates.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of pod templates",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PodTemplate"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodTemplateSpec": {
|
|
"description": "PodTemplateSpec describes the data a pod should have when created from a template",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.PodSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1.Preconditions": {
|
|
"description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
|
|
"properties": {
|
|
"uid": {
|
|
"description": "Specifies the target UID.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Probe": {
|
|
"description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.",
|
|
"properties": {
|
|
"failureThreshold": {
|
|
"description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"initialDelaySeconds": {
|
|
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"periodSeconds": {
|
|
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"successThreshold": {
|
|
"description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"timeoutSeconds": {
|
|
"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1.ReplicationController": {
|
|
"description": "ReplicationController represents the configuration of a replication controller.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ReplicationControllerSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ReplicationControllerStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.ReplicationControllerCondition": {
|
|
"description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastProbeTime": {
|
|
"description": "Last time we probed the condition.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "The last time the condition transitioned from one status to another.",
|
|
"$ref": "#/definitions/unversioned.Time"
|
|
},
|
|
"message": {
|
|
"description": "A human readable message indicating details about the transition.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "The reason for the condition's last transition.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the condition, one of True, False, Unknown.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of replication controller condition.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ReplicationControllerList": {
|
|
"description": "ReplicationControllerList is a collection of replication controllers.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ReplicationController"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ReplicationControllerSpec": {
|
|
"description": "ReplicationControllerSpec is the specification of a replication controller.",
|
|
"properties": {
|
|
"minReadySeconds": {
|
|
"description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"replicas": {
|
|
"description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"selector": {
|
|
"description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"template": {
|
|
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1.ReplicationControllerStatus": {
|
|
"description": "ReplicationControllerStatus represents the current status of a replication controller.",
|
|
"required": [
|
|
"replicas"
|
|
],
|
|
"properties": {
|
|
"availableReplicas": {
|
|
"description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"conditions": {
|
|
"description": "Represents the latest available observations of a replication controller's current state.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ReplicationControllerCondition"
|
|
}
|
|
},
|
|
"fullyLabeledReplicas": {
|
|
"description": "The number of pods that have labels matching the labels of the pod template of the replication controller.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"observedGeneration": {
|
|
"description": "ObservedGeneration reflects the generation of the most recently observed replication controller.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"readyReplicas": {
|
|
"description": "The number of ready replicas for this replication controller.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"replicas": {
|
|
"description": "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceFieldSelector": {
|
|
"description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
|
|
"required": [
|
|
"resource"
|
|
],
|
|
"properties": {
|
|
"containerName": {
|
|
"description": "Container name: required for volumes, optional for env vars",
|
|
"type": "string"
|
|
},
|
|
"divisor": {
|
|
"description": "Specifies the output format of the exposed resources, defaults to \"1\"",
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
},
|
|
"resource": {
|
|
"description": "Required: resource to select",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceQuota": {
|
|
"description": "ResourceQuota sets aggregate quota restrictions enforced per namespace",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ResourceQuotaSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ResourceQuotaStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceQuotaList": {
|
|
"description": "ResourceQuotaList is a list of ResourceQuota items.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ResourceQuota"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceQuotaSpec": {
|
|
"description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.",
|
|
"properties": {
|
|
"hard": {
|
|
"description": "Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"scopes": {
|
|
"description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceQuotaStatus": {
|
|
"description": "ResourceQuotaStatus defines the enforced hard limits and observed use.",
|
|
"properties": {
|
|
"hard": {
|
|
"description": "Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"used": {
|
|
"description": "Used is the current observed total usage of the resource in the namespace.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceRequirements": {
|
|
"description": "ResourceRequirements describes the compute resource requirements.",
|
|
"properties": {
|
|
"limits": {
|
|
"description": "Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
},
|
|
"requests": {
|
|
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/resource.Quantity"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.SELinuxOptions": {
|
|
"description": "SELinuxOptions are the labels to be applied to the container",
|
|
"properties": {
|
|
"level": {
|
|
"description": "Level is SELinux level label that applies to the container.",
|
|
"type": "string"
|
|
},
|
|
"role": {
|
|
"description": "Role is a SELinux role label that applies to the container.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type is a SELinux type label that applies to the container.",
|
|
"type": "string"
|
|
},
|
|
"user": {
|
|
"description": "User is a SELinux user label that applies to the container.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Scale": {
|
|
"description": "Scale represents a scaling request for a resource.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.",
|
|
"$ref": "#/definitions/v1.ScaleSpec"
|
|
},
|
|
"status": {
|
|
"description": "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.",
|
|
"$ref": "#/definitions/v1.ScaleStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.ScaleSpec": {
|
|
"description": "ScaleSpec describes the attributes of a scale subresource.",
|
|
"properties": {
|
|
"replicas": {
|
|
"description": "desired number of instances for the scaled object.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1.ScaleStatus": {
|
|
"description": "ScaleStatus represents the current status of a scale subresource.",
|
|
"required": [
|
|
"replicas"
|
|
],
|
|
"properties": {
|
|
"replicas": {
|
|
"description": "actual number of observed instances of the scaled object.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"selector": {
|
|
"description": "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Secret": {
|
|
"description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.",
|
|
"properties": {
|
|
"data": {
|
|
"description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "byte"
|
|
}
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"stringData": {
|
|
"description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": {
|
|
"description": "Used to facilitate programmatic handling of secret data.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretKeySelector": {
|
|
"description": "SecretKeySelector selects a key of a Secret.",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"description": "The key of the secret to select from. Must be a valid secret key.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretList": {
|
|
"description": "SecretList is a list of Secret.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecurityContext": {
|
|
"description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.",
|
|
"properties": {
|
|
"capabilities": {
|
|
"description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.",
|
|
"$ref": "#/definitions/v1.Capabilities"
|
|
},
|
|
"privileged": {
|
|
"description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.",
|
|
"type": "boolean"
|
|
},
|
|
"readOnlyRootFilesystem": {
|
|
"description": "Whether this container has a read-only root filesystem. Default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"runAsNonRoot": {
|
|
"description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
|
|
"type": "boolean"
|
|
},
|
|
"runAsUser": {
|
|
"description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"seLinuxOptions": {
|
|
"description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
|
|
"$ref": "#/definitions/v1.SELinuxOptions"
|
|
}
|
|
}
|
|
},
|
|
"v1.Service": {
|
|
"description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ServiceSpec"
|
|
},
|
|
"status": {
|
|
"description": "Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.ServiceStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceAccount": {
|
|
"description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets",
|
|
"properties": {
|
|
"imagePullSecrets": {
|
|
"description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"secrets": {
|
|
"description": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceAccountList": {
|
|
"description": "ServiceAccountList is a list of ServiceAccount objects",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ServiceAccount"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceList": {
|
|
"description": "ServiceList holds a list of services.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"items": {
|
|
"description": "List of services",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/unversioned.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServicePort": {
|
|
"description": "ServicePort contains information on service's port.",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.",
|
|
"type": "string"
|
|
},
|
|
"nodePort": {
|
|
"description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"port": {
|
|
"description": "The port that will be exposed by this service.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"protocol": {
|
|
"description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.",
|
|
"type": "string"
|
|
},
|
|
"targetPort": {
|
|
"description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceSpec": {
|
|
"description": "ServiceSpec describes the attributes that a user creates on a service.",
|
|
"required": [
|
|
"ports"
|
|
],
|
|
"properties": {
|
|
"clusterIP": {
|
|
"description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies",
|
|
"type": "string"
|
|
},
|
|
"deprecatedPublicIPs": {
|
|
"description": "deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"externalIPs": {
|
|
"description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"externalName": {
|
|
"description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.",
|
|
"type": "string"
|
|
},
|
|
"loadBalancerIP": {
|
|
"description": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.",
|
|
"type": "string"
|
|
},
|
|
"loadBalancerSourceRanges": {
|
|
"description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"ports": {
|
|
"description": "The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ServicePort"
|
|
}
|
|
},
|
|
"selector": {
|
|
"description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"sessionAffinity": {
|
|
"description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceStatus": {
|
|
"description": "ServiceStatus represents the current status of a service.",
|
|
"properties": {
|
|
"loadBalancer": {
|
|
"description": "LoadBalancer contains the current status of the load-balancer, if one is present.",
|
|
"$ref": "#/definitions/v1.LoadBalancerStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.TCPSocketAction": {
|
|
"description": "TCPSocketAction describes an action based on opening a socket",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"port": {
|
|
"description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
}
|
|
}
|
|
},
|
|
"v1.Volume": {
|
|
"description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.VolumeMount": {
|
|
"description": "VolumeMount describes a mounting of a Volume within a container.",
|
|
"required": [
|
|
"name",
|
|
"mountPath"
|
|
],
|
|
"properties": {
|
|
"mountPath": {
|
|
"description": "Path within the container at which the volume should be mounted. Must not contain ':'.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "This must match the Name of a Volume.",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
|
|
"type": "boolean"
|
|
},
|
|
"subPath": {
|
|
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1alpha1.Eviction": {
|
|
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.",
|
|
"properties": {
|
|
"deleteOptions": {
|
|
"description": "DeleteOptions may be provided",
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
},
|
|
"metadata": {
|
|
"description": "ObjectMeta describes the pod that is being evicted.",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
}
|
|
}
|
|
},
|
|
"versioned.Event": {
|
|
"description": "Event represents a single event to a watched resource.",
|
|
"required": [
|
|
"type",
|
|
"object"
|
|
],
|
|
"properties": {
|
|
"object": {
|
|
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.",
|
|
"$ref": "#/definitions/runtime.RawExtension"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|