8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
13048 lines
430 KiB
JSON
13048 lines
430 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"title": "Generic API Server",
|
|
"version": "unversioned"
|
|
},
|
|
"paths": {
|
|
"/api/": {
|
|
"get": {
|
|
"description": "get available API versions",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core"
|
|
],
|
|
"operationId": "getCoreAPIVersions",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIVersions"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "getCoreV1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIResourceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/configmaps": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1ConfigMapForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMapList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1EventForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.EventList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1Namespace",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "createCoreV1Namespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1CollectionNamespace",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"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",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1NamespacedConfigMap",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "createCoreV1NamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1CollectionNamespacedConfigMap",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespacedConfigMap",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ConfigMap",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1NamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespacedConfigMap",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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}/events": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1NamespacedEvent",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create an Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "createCoreV1NamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1CollectionNamespacedEvent",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespacedEvent",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete an Event",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1NamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespacedEvent",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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}/secrets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1NamespacedSecret",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "createCoreV1NamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1CollectionNamespacedSecret",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespacedSecret",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1NamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespacedSecret",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Secret"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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}/services": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1NamespacedService",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "createCoreV1NamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1CollectionNamespacedService",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespacedService",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1NamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespacedService",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespacedServiceStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Service",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespacedServiceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespacedServiceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1Namespace",
|
|
"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"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1Namespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "deleteCoreV1Namespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1Namespace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespaceFinalize",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "readCoreV1NamespaceStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Namespace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "replaceCoreV1NamespaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "patchCoreV1NamespaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Namespace"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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/secrets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Secret",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1SecretForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.SecretList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "listCoreV1ServiceForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.ServiceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1ConfigMapListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1EventListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespaceList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedConfigMapList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedConfigMap",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedEventList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedEvent",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedSecretList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedSecret",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedServiceList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1NamespacedService",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1Namespace",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1SecretListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"core_v1"
|
|
],
|
|
"operationId": "watchCoreV1ServiceListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/": {
|
|
"get": {
|
|
"description": "get available API versions",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"apis"
|
|
],
|
|
"operationId": "getAPIVersions",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIGroupList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/batch/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch"
|
|
],
|
|
"operationId": "getBatchAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIGroup"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/batch/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"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "getBatchV1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIResourceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/batch/v1/jobs": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "listBatchV1JobForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.JobList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/namespaces/{namespace}/jobs": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "listBatchV1NamespacedJob",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.JobList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "createBatchV1NamespacedJob",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "deleteBatchV1CollectionNamespacedJob",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/namespaces/{namespace}/jobs/{name}": {
|
|
"get": {
|
|
"description": "read the specified Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "readBatchV1NamespacedJob",
|
|
"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.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "replaceBatchV1NamespacedJob",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "deleteBatchV1NamespacedJob",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Job",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "patchBatchV1NamespacedJob",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Job",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "readBatchV1NamespacedJobStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "replaceBatchV1NamespacedJobStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Job",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "patchBatchV1NamespacedJobStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Job",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/watch/jobs": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "watchBatchV1JobListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/watch/namespaces/{namespace}/jobs": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "watchBatchV1NamespacedJobList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Job",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"batch_v1"
|
|
],
|
|
"operationId": "watchBatchV1NamespacedJob",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 Job",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/batch/v2alpha1/": {
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"batch_v2alpha1"
|
|
],
|
|
"operationId": "getBatchV2alpha1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIResourceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/extensions/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions"
|
|
],
|
|
"operationId": "getExtensionsAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIGroup"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/extensions/v1beta1/": {
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "getExtensionsV1beta1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIResourceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/extensions/v1beta1/daemonsets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSetList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/deployments": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1DeploymentForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DeploymentList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/ingresses": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1IngressForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.IngressList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1NamespacedDaemonSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/v1beta1.DaemonSetList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "createExtensionsV1beta1NamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": {
|
|
"get": {
|
|
"description": "read the specified DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedDaemonSet",
|
|
"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/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1NamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified DaemonSet",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DaemonSet",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedDaemonSetStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified DaemonSet",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedDaemonSetStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DaemonSet",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/deployments": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1NamespacedDeployment",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/v1beta1.DeploymentList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "createExtensionsV1beta1NamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1CollectionNamespacedDeployment",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": {
|
|
"get": {
|
|
"description": "read the specified Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedDeployment",
|
|
"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/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1NamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Deployment",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Deployment",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": {
|
|
"post": {
|
|
"description": "create rollback of a DeploymentRollback",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "createExtensionsV1beta1NamespacedDeploymentRollbackRollback",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DeploymentRollback"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.DeploymentRollback"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DeploymentRollback",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": {
|
|
"get": {
|
|
"description": "read scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedDeploymentsScale",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedDeploymentsScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedDeploymentsScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedDeploymentStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedDeploymentStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Deployment",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedDeploymentStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Deployment",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1NamespacedIngress",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/v1beta1.IngressList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create an Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "createExtensionsV1beta1NamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": {
|
|
"get": {
|
|
"description": "read the specified Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedIngress",
|
|
"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/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete an Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1NamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Ingress",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Ingress",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedIngressStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedIngressStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Ingress",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedIngressStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Ingress",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1NamespacedReplicaSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/v1beta1.ReplicaSetList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "createExtensionsV1beta1NamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1CollectionNamespacedReplicaSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": {
|
|
"get": {
|
|
"description": "read the specified ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedReplicaSet",
|
|
"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/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "deleteExtensionsV1beta1NamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified ReplicaSet",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ReplicaSet",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": {
|
|
"get": {
|
|
"description": "read scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedReplicasetsScale",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace scale of the specified Scale",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedReplicasetsScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedReplicasetsScale",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Scale"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "readExtensionsV1beta1NamespacedReplicaSetStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "replaceExtensionsV1beta1NamespacedReplicaSetStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified ReplicaSet",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "patchExtensionsV1beta1NamespacedReplicaSetStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the ReplicaSet",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/replicasets": {
|
|
"get": {
|
|
"description": "list or watch objects of kind ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "listExtensionsV1beta1ReplicaSetForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSetList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/daemonsets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/deployments": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/ingresses": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1IngressListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedDaemonSetList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind DaemonSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedDaemonSet",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 DaemonSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedDeploymentList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Deployment",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedDeployment",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 Deployment",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedIngressList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Ingress",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedIngress",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 Ingress",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedReplicaSetList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1NamespacedReplicaSet",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 ReplicaSet",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/extensions/v1beta1/watch/replicasets": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of ReplicaSet",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"extensions_v1beta1"
|
|
],
|
|
"operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/federation/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation"
|
|
],
|
|
"operationId": "getFederationAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIGroup"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/federation/v1beta1/": {
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "getFederationV1beta1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.APIResourceList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/federation/v1beta1/clusters": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "listFederationV1beta1Cluster",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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/v1beta1.ClusterList"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "createFederationV1beta1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "deleteFederationV1beta1CollectionCluster",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/federation/v1beta1/clusters/{name}": {
|
|
"get": {
|
|
"description": "read the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "readFederationV1beta1Cluster",
|
|
"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/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "replaceFederationV1beta1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "deleteFederationV1beta1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Status"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Cluster",
|
|
"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"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "patchFederationV1beta1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.Patch"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Cluster",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/federation/v1beta1/clusters/{name}/status": {
|
|
"put": {
|
|
"description": "replace status of the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "replaceFederationV1beta1ClusterStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Cluster",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/federation/v1beta1/watch/clusters": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "watchFederationV1beta1ClusterList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/apis/federation/v1beta1/watch/clusters/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"federation_v1beta1"
|
|
],
|
|
"operationId": "watchFederationV1beta1Cluster",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/v1.WatchEvent"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"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 Cluster",
|
|
"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. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"/logs/": {
|
|
"get": {
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"logs"
|
|
],
|
|
"operationId": "logFileListHandler",
|
|
"responses": {
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/logs/{logpath}": {
|
|
"get": {
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"logs"
|
|
],
|
|
"operationId": "logFileHandler",
|
|
"responses": {
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "path to the log",
|
|
"name": "logpath",
|
|
"in": "path",
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
"/version/": {
|
|
"get": {
|
|
"description": "get the code version",
|
|
"consumes": [
|
|
"application/json"
|
|
],
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"version"
|
|
],
|
|
"operationId": "getCodeVersion",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/version.Info"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"v1.APIGroup": {
|
|
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
|
|
"required": [
|
|
"name",
|
|
"versions",
|
|
"serverAddressByClientCIDRs"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "name is the name of the group.",
|
|
"type": "string"
|
|
},
|
|
"preferredVersion": {
|
|
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
|
|
"$ref": "#/definitions/v1.GroupVersionForDiscovery"
|
|
},
|
|
"serverAddressByClientCIDRs": {
|
|
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ServerAddressByClientCIDR"
|
|
}
|
|
},
|
|
"versions": {
|
|
"description": "versions are the versions supported in this group.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.GroupVersionForDiscovery"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.APIGroupList": {
|
|
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
|
|
"required": [
|
|
"groups"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"groups": {
|
|
"description": "groups is a list of APIGroup.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.APIGroup"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.APIResource": {
|
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
"required": [
|
|
"name",
|
|
"namespaced",
|
|
"kind",
|
|
"verbs"
|
|
],
|
|
"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"
|
|
},
|
|
"verbs": {
|
|
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"groupVersion": {
|
|
"description": "groupVersion is the group and version this APIResourceList is for.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"resources": {
|
|
"description": "resources contains the name of the resources and if they are namespaced.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.APIResource"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.APIVersions": {
|
|
"description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
|
|
"required": [
|
|
"versions",
|
|
"serverAddressByClientCIDRs"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"serverAddressByClientCIDRs": {
|
|
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ServerAddressByClientCIDR"
|
|
}
|
|
},
|
|
"versions": {
|
|
"description": "versions are the api versions that are available.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.AWSElasticBlockStoreVolumeSource": {
|
|
"description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"volumeID"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore",
|
|
"type": "string"
|
|
},
|
|
"partition": {
|
|
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"readOnly": {
|
|
"description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore",
|
|
"type": "boolean"
|
|
},
|
|
"volumeID": {
|
|
"description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Affinity": {
|
|
"description": "Affinity is a group of affinity scheduling rules.",
|
|
"properties": {
|
|
"nodeAffinity": {
|
|
"description": "Describes node affinity scheduling rules for the pod.",
|
|
"$ref": "#/definitions/v1.NodeAffinity"
|
|
},
|
|
"podAffinity": {
|
|
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
|
|
"$ref": "#/definitions/v1.PodAffinity"
|
|
},
|
|
"podAntiAffinity": {
|
|
"description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
|
|
"$ref": "#/definitions/v1.PodAntiAffinity"
|
|
}
|
|
}
|
|
},
|
|
"v1.AzureDiskVolumeSource": {
|
|
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
|
|
"required": [
|
|
"diskName",
|
|
"diskURI"
|
|
],
|
|
"properties": {
|
|
"cachingMode": {
|
|
"description": "Host Caching mode: None, Read Only, Read Write.",
|
|
"type": "string"
|
|
},
|
|
"diskName": {
|
|
"description": "The Name of the data disk in the blob storage",
|
|
"type": "string"
|
|
},
|
|
"diskURI": {
|
|
"description": "The URI the data disk in the blob storage",
|
|
"type": "string"
|
|
},
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"v1.AzureFileVolumeSource": {
|
|
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
|
|
"required": [
|
|
"secretName",
|
|
"shareName"
|
|
],
|
|
"properties": {
|
|
"readOnly": {
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
|
|
"type": "boolean"
|
|
},
|
|
"secretName": {
|
|
"description": "the name of secret that contains Azure Storage Account Name and Key",
|
|
"type": "string"
|
|
},
|
|
"shareName": {
|
|
"description": "Share Name",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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.CephFSVolumeSource": {
|
|
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
|
|
"required": [
|
|
"monitors"
|
|
],
|
|
"properties": {
|
|
"monitors": {
|
|
"description": "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": {
|
|
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
|
"type": "boolean"
|
|
},
|
|
"secretFile": {
|
|
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
|
"type": "string"
|
|
},
|
|
"secretRef": {
|
|
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
},
|
|
"user": {
|
|
"description": "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.CinderVolumeSource": {
|
|
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"volumeID"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
|
"type": "boolean"
|
|
},
|
|
"volumeID": {
|
|
"description": "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMap": {
|
|
"description": "ConfigMap holds configuration data for pods to consume.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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.ConfigMapEnvSource": {
|
|
"description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapKeySelector": {
|
|
"description": "Selects a key from a ConfigMap.",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"description": "The key to select.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapList": {
|
|
"description": "ConfigMapList is a resource containing a list of ConfigMap objects.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Items is the list of ConfigMaps.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.ConfigMap"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapVolumeSource": {
|
|
"description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"defaultMode": {
|
|
"description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"items": {
|
|
"description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.KeyToPath"
|
|
}
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"envFrom": {
|
|
"description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. An invalid key will prevent the container from starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.EnvFromSource"
|
|
}
|
|
},
|
|
"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.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.DeleteOptions": {
|
|
"description": "DeleteOptions may be provided when deleting an API object",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"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.DownwardAPIVolumeFile": {
|
|
"description": "DownwardAPIVolumeFile represents information to create the file containing the pod field",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"fieldRef": {
|
|
"description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.",
|
|
"$ref": "#/definitions/v1.ObjectFieldSelector"
|
|
},
|
|
"mode": {
|
|
"description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"path": {
|
|
"description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"v1.DownwardAPIVolumeSource": {
|
|
"description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"defaultMode": {
|
|
"description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"items": {
|
|
"description": "Items is a list of downward API volume file",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.DownwardAPIVolumeFile"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.EmptyDirVolumeSource": {
|
|
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"medium": {
|
|
"description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvFromSource": {
|
|
"description": "EnvFromSource represents the source of a set of ConfigMaps",
|
|
"properties": {
|
|
"configMapRef": {
|
|
"description": "The ConfigMap to select from",
|
|
"$ref": "#/definitions/v1.ConfigMapEnvSource"
|
|
},
|
|
"prefix": {
|
|
"description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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/v1.Time"
|
|
},
|
|
"involvedObject": {
|
|
"description": "The object that this event is about.",
|
|
"$ref": "#/definitions/v1.ObjectReference"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"lastTimestamp": {
|
|
"description": "The time at which the most recent occurrence of this event was recorded.",
|
|
"$ref": "#/definitions/v1.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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "List of events",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Event"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.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.FCVolumeSource": {
|
|
"description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"targetWWNs",
|
|
"lun"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
|
|
"type": "string"
|
|
},
|
|
"lun": {
|
|
"description": "Required: FC target lun number",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"readOnly": {
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
|
|
"type": "boolean"
|
|
},
|
|
"targetWWNs": {
|
|
"description": "Required: FC target worldwide names (WWNs)",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.FlexVolumeSource": {
|
|
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.",
|
|
"required": [
|
|
"driver"
|
|
],
|
|
"properties": {
|
|
"driver": {
|
|
"description": "Driver is the name of the driver to use for this volume.",
|
|
"type": "string"
|
|
},
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"description": "Optional: Extra command options if any.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"readOnly": {
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
|
|
"type": "boolean"
|
|
},
|
|
"secretRef": {
|
|
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.",
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
}
|
|
}
|
|
},
|
|
"v1.FlockerVolumeSource": {
|
|
"description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.",
|
|
"properties": {
|
|
"datasetName": {
|
|
"description": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker should be considered as deprecated",
|
|
"type": "string"
|
|
},
|
|
"datasetUUID": {
|
|
"description": "UUID of the dataset. This is unique identifier of a Flocker dataset",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.GCEPersistentDiskVolumeSource": {
|
|
"description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"pdName"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk",
|
|
"type": "string"
|
|
},
|
|
"partition": {
|
|
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"pdName": {
|
|
"description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"v1.GitRepoVolumeSource": {
|
|
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.",
|
|
"required": [
|
|
"repository"
|
|
],
|
|
"properties": {
|
|
"directory": {
|
|
"description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.",
|
|
"type": "string"
|
|
},
|
|
"repository": {
|
|
"description": "Repository URL",
|
|
"type": "string"
|
|
},
|
|
"revision": {
|
|
"description": "Commit hash for the specified revision.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.GlusterfsVolumeSource": {
|
|
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
|
|
"required": [
|
|
"endpoints",
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"endpoints": {
|
|
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"description": "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"v1.GroupVersionForDiscovery": {
|
|
"description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
|
|
"required": [
|
|
"groupVersion",
|
|
"version"
|
|
],
|
|
"properties": {
|
|
"groupVersion": {
|
|
"description": "groupVersion specifies the API group and version in the form \"group/version\"",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
|
|
"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.HostPathVolumeSource": {
|
|
"description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"description": "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.ISCSIVolumeSource": {
|
|
"description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"targetPortal",
|
|
"iqn",
|
|
"lun"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi",
|
|
"type": "string"
|
|
},
|
|
"iqn": {
|
|
"description": "Target iSCSI Qualified Name.",
|
|
"type": "string"
|
|
},
|
|
"iscsiInterface": {
|
|
"description": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.",
|
|
"type": "string"
|
|
},
|
|
"lun": {
|
|
"description": "iSCSI target lun number.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
|
|
"type": "boolean"
|
|
},
|
|
"targetPortal": {
|
|
"description": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Job": {
|
|
"description": "Job represents the configuration of a single job.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"description": "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.JobSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1.JobStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1.JobCondition": {
|
|
"description": "JobCondition describes current state of a job.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastProbeTime": {
|
|
"description": "Last time the condition was checked.",
|
|
"$ref": "#/definitions/v1.Time"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transit from one status to another.",
|
|
"$ref": "#/definitions/v1.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 job condition, Complete or Failed.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.JobList": {
|
|
"description": "JobList is a collection of jobs.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Items is the list of Job.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Job"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.JobSpec": {
|
|
"description": "JobSpec describes how the job execution will look like.",
|
|
"required": [
|
|
"template"
|
|
],
|
|
"properties": {
|
|
"activeDeadlineSeconds": {
|
|
"description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"completions": {
|
|
"description": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"manualSelector": {
|
|
"description": "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md",
|
|
"type": "boolean"
|
|
},
|
|
"parallelism": {
|
|
"description": "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) \u003c .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"selector": {
|
|
"description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"$ref": "#/definitions/v1.LabelSelector"
|
|
},
|
|
"template": {
|
|
"description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1.JobStatus": {
|
|
"description": "JobStatus represents the current state of a Job.",
|
|
"properties": {
|
|
"active": {
|
|
"description": "Active is the number of actively running pods.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"completionTime": {
|
|
"description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.",
|
|
"$ref": "#/definitions/v1.Time"
|
|
},
|
|
"conditions": {
|
|
"description": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.JobCondition"
|
|
}
|
|
},
|
|
"failed": {
|
|
"description": "Failed is the number of pods which reached Phase Failed.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"startTime": {
|
|
"description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.",
|
|
"$ref": "#/definitions/v1.Time"
|
|
},
|
|
"succeeded": {
|
|
"description": "Succeeded is the number of pods which reached Phase Succeeded.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1.KeyToPath": {
|
|
"description": "Maps a string key to a path within a volume.",
|
|
"required": [
|
|
"key",
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"description": "The key to project.",
|
|
"type": "string"
|
|
},
|
|
"mode": {
|
|
"description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"path": {
|
|
"description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.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/v1.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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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.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"
|
|
}
|
|
}
|
|
},
|
|
"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.NFSVolumeSource": {
|
|
"description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
|
|
"required": [
|
|
"server",
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"description": "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs",
|
|
"type": "boolean"
|
|
},
|
|
"server": {
|
|
"description": "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Namespace": {
|
|
"description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.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.NodeAffinity": {
|
|
"description": "Node affinity is a group of node affinity scheduling rules.",
|
|
"properties": {
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PreferredSchedulingTerm"
|
|
}
|
|
},
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.",
|
|
"$ref": "#/definitions/v1.NodeSelector"
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelector": {
|
|
"description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
|
|
"required": [
|
|
"nodeSelectorTerms"
|
|
],
|
|
"properties": {
|
|
"nodeSelectorTerms": {
|
|
"description": "Required. A list of node selector terms. The terms are ORed.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.NodeSelectorTerm"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelectorRequirement": {
|
|
"description": "A node 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": "The label key that the selector applies to.",
|
|
"type": "string"
|
|
},
|
|
"operator": {
|
|
"description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelectorTerm": {
|
|
"description": "A null or empty node selector term matches no objects.",
|
|
"required": [
|
|
"matchExpressions"
|
|
],
|
|
"properties": {
|
|
"matchExpressions": {
|
|
"description": "Required. A list of node selector requirements. The requirements are ANDed.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.NodeSelectorRequirement"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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/v1.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 is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\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/v1.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.Patch": {
|
|
"description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body."
|
|
},
|
|
"v1.PersistentVolumeClaimVolumeSource": {
|
|
"description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).",
|
|
"required": [
|
|
"claimName"
|
|
],
|
|
"properties": {
|
|
"claimName": {
|
|
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"v1.PhotonPersistentDiskVolumeSource": {
|
|
"description": "Represents a Photon Controller persistent disk resource.",
|
|
"required": [
|
|
"pdID"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
|
|
"type": "string"
|
|
},
|
|
"pdID": {
|
|
"description": "ID that identifies Photon Controller persistent disk",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAffinity": {
|
|
"description": "Pod affinity is a group of inter pod affinity scheduling rules.",
|
|
"properties": {
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.WeightedPodAffinityTerm"
|
|
}
|
|
},
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PodAffinityTerm"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAffinityTerm": {
|
|
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e tches that of any node on which a pod of the set of pods is running",
|
|
"required": [
|
|
"namespaces"
|
|
],
|
|
"properties": {
|
|
"labelSelector": {
|
|
"description": "A label query over a set of resources, in this case pods.",
|
|
"$ref": "#/definitions/v1.LabelSelector"
|
|
},
|
|
"namespaces": {
|
|
"description": "namespaces specifies which namespaces the labelSelector applies to (matches against); nil list means \"this pod's namespace,\" empty list means \"all namespaces\" The json tag here is not \"omitempty\" since we need to distinguish nil and empty. See https://golang.org/pkg/encoding/json/#Marshal for more details.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"topologyKey": {
|
|
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAntiAffinity": {
|
|
"description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
|
|
"properties": {
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.WeightedPodAffinityTerm"
|
|
}
|
|
},
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"description": "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.PodAffinityTerm"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"affinity": {
|
|
"description": "If specified, the pod's scheduling constraints",
|
|
"$ref": "#/definitions/v1.Affinity"
|
|
},
|
|
"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.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.PreferredSchedulingTerm": {
|
|
"description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
|
|
"required": [
|
|
"weight",
|
|
"preference"
|
|
],
|
|
"properties": {
|
|
"preference": {
|
|
"description": "A node selector term, associated with the corresponding weight.",
|
|
"$ref": "#/definitions/v1.NodeSelectorTerm"
|
|
},
|
|
"weight": {
|
|
"description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"exec": {
|
|
"description": "One and only one of the following should be specified. Exec specifies the action to take.",
|
|
"$ref": "#/definitions/v1.ExecAction"
|
|
},
|
|
"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"
|
|
},
|
|
"httpGet": {
|
|
"description": "HTTPGet specifies the http request to perform.",
|
|
"$ref": "#/definitions/v1.HTTPGetAction"
|
|
},
|
|
"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"
|
|
},
|
|
"tcpSocket": {
|
|
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
|
|
"$ref": "#/definitions/v1.TCPSocketAction"
|
|
},
|
|
"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.QuobyteVolumeSource": {
|
|
"description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
|
|
"required": [
|
|
"registry",
|
|
"volume"
|
|
],
|
|
"properties": {
|
|
"group": {
|
|
"description": "Group to map volume access to Default is no group",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
|
|
"type": "boolean"
|
|
},
|
|
"registry": {
|
|
"description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes",
|
|
"type": "string"
|
|
},
|
|
"user": {
|
|
"description": "User to map volume access to Defaults to serivceaccount user",
|
|
"type": "string"
|
|
},
|
|
"volume": {
|
|
"description": "Volume is a string that references an already created Quobyte volume by name.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.RBDVolumeSource": {
|
|
"description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
|
|
"required": [
|
|
"monitors",
|
|
"image"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd",
|
|
"type": "string"
|
|
},
|
|
"image": {
|
|
"description": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"type": "string"
|
|
},
|
|
"keyring": {
|
|
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"type": "string"
|
|
},
|
|
"monitors": {
|
|
"description": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"pool": {
|
|
"description": "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.",
|
|
"type": "string"
|
|
},
|
|
"readOnly": {
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"type": "boolean"
|
|
},
|
|
"secretRef": {
|
|
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
},
|
|
"user": {
|
|
"description": "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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.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.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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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": "string",
|
|
"format": "byte"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretList": {
|
|
"description": "SecretList is a list of Secret.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretVolumeSource": {
|
|
"description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"defaultMode": {
|
|
"description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"items": {
|
|
"description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.KeyToPath"
|
|
}
|
|
},
|
|
"secretName": {
|
|
"description": "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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.ServerAddressByClientCIDR": {
|
|
"description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
|
|
"required": [
|
|
"clientCIDR",
|
|
"serverAddress"
|
|
],
|
|
"properties": {
|
|
"clientCIDR": {
|
|
"description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
|
|
"type": "string"
|
|
},
|
|
"serverAddress": {
|
|
"description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"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.ServiceList": {
|
|
"description": "ServiceList holds a list of services.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "List of services",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1.Service"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.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.",
|
|
"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.Status": {
|
|
"description": "Status is a return value for calls that don't return other objects.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"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/v1.StatusDetails"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"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/v1.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"
|
|
}
|
|
}
|
|
},
|
|
"v1.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"
|
|
}
|
|
}
|
|
},
|
|
"v1.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/v1.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"
|
|
}
|
|
}
|
|
},
|
|
"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.Time": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"v1.Volume": {
|
|
"description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"awsElasticBlockStore": {
|
|
"description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore",
|
|
"$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource"
|
|
},
|
|
"azureDisk": {
|
|
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
|
|
"$ref": "#/definitions/v1.AzureDiskVolumeSource"
|
|
},
|
|
"azureFile": {
|
|
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
|
|
"$ref": "#/definitions/v1.AzureFileVolumeSource"
|
|
},
|
|
"cephfs": {
|
|
"description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
|
|
"$ref": "#/definitions/v1.CephFSVolumeSource"
|
|
},
|
|
"cinder": {
|
|
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
|
|
"$ref": "#/definitions/v1.CinderVolumeSource"
|
|
},
|
|
"configMap": {
|
|
"description": "ConfigMap represents a configMap that should populate this volume",
|
|
"$ref": "#/definitions/v1.ConfigMapVolumeSource"
|
|
},
|
|
"downwardAPI": {
|
|
"description": "DownwardAPI represents downward API about the pod that should populate this volume",
|
|
"$ref": "#/definitions/v1.DownwardAPIVolumeSource"
|
|
},
|
|
"emptyDir": {
|
|
"description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir",
|
|
"$ref": "#/definitions/v1.EmptyDirVolumeSource"
|
|
},
|
|
"fc": {
|
|
"description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
|
|
"$ref": "#/definitions/v1.FCVolumeSource"
|
|
},
|
|
"flexVolume": {
|
|
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.",
|
|
"$ref": "#/definitions/v1.FlexVolumeSource"
|
|
},
|
|
"flocker": {
|
|
"description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
|
|
"$ref": "#/definitions/v1.FlockerVolumeSource"
|
|
},
|
|
"gcePersistentDisk": {
|
|
"description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk",
|
|
"$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource"
|
|
},
|
|
"gitRepo": {
|
|
"description": "GitRepo represents a git repository at a particular revision.",
|
|
"$ref": "#/definitions/v1.GitRepoVolumeSource"
|
|
},
|
|
"glusterfs": {
|
|
"description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
|
|
"$ref": "#/definitions/v1.GlusterfsVolumeSource"
|
|
},
|
|
"hostPath": {
|
|
"description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath",
|
|
"$ref": "#/definitions/v1.HostPathVolumeSource"
|
|
},
|
|
"iscsi": {
|
|
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md",
|
|
"$ref": "#/definitions/v1.ISCSIVolumeSource"
|
|
},
|
|
"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"
|
|
},
|
|
"nfs": {
|
|
"description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs",
|
|
"$ref": "#/definitions/v1.NFSVolumeSource"
|
|
},
|
|
"persistentVolumeClaim": {
|
|
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims",
|
|
"$ref": "#/definitions/v1.PersistentVolumeClaimVolumeSource"
|
|
},
|
|
"photonPersistentDisk": {
|
|
"description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
|
|
"$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource"
|
|
},
|
|
"quobyte": {
|
|
"description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
|
|
"$ref": "#/definitions/v1.QuobyteVolumeSource"
|
|
},
|
|
"rbd": {
|
|
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
|
|
"$ref": "#/definitions/v1.RBDVolumeSource"
|
|
},
|
|
"secret": {
|
|
"description": "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets",
|
|
"$ref": "#/definitions/v1.SecretVolumeSource"
|
|
},
|
|
"vsphereVolume": {
|
|
"description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
|
|
"$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource"
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"v1.VsphereVirtualDiskVolumeSource": {
|
|
"description": "Represents a vSphere volume resource.",
|
|
"required": [
|
|
"volumePath"
|
|
],
|
|
"properties": {
|
|
"fsType": {
|
|
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
|
|
"type": "string"
|
|
},
|
|
"volumePath": {
|
|
"description": "Path that identifies vSphere volume vmdk",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.WatchEvent": {
|
|
"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: *Status is recommended; other types may make sense\n depending on context.",
|
|
"$ref": "#/definitions/runtime.RawExtension"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.WeightedPodAffinityTerm": {
|
|
"description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
|
|
"required": [
|
|
"weight",
|
|
"podAffinityTerm"
|
|
],
|
|
"properties": {
|
|
"podAffinityTerm": {
|
|
"description": "Required. A pod affinity term, associated with the corresponding weight.",
|
|
"$ref": "#/definitions/v1.PodAffinityTerm"
|
|
},
|
|
"weight": {
|
|
"description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Cluster": {
|
|
"description": "Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the behavior of the Cluster.",
|
|
"$ref": "#/definitions/v1beta1.ClusterSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status describes the current status of a Cluster",
|
|
"$ref": "#/definitions/v1beta1.ClusterStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ClusterCondition": {
|
|
"description": "ClusterCondition describes current state of a cluster.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastProbeTime": {
|
|
"description": "Last time the condition was checked.",
|
|
"$ref": "#/definitions/v1.Time"
|
|
},
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transit from one status to another.",
|
|
"$ref": "#/definitions/v1.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 cluster condition, Complete or Failed.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ClusterList": {
|
|
"description": "A list of all the kubernetes clusters registered to the federation",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "List of Cluster objects.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.Cluster"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ClusterSpec": {
|
|
"description": "ClusterSpec describes the attributes of a kubernetes cluster.",
|
|
"required": [
|
|
"serverAddressByClientCIDRs"
|
|
],
|
|
"properties": {
|
|
"secretRef": {
|
|
"description": "Name of the secret containing kubeconfig to access this cluster. The secret is read from the kubernetes cluster that is hosting federation control plane. Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key \"kubeconfig\". This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. This can be left empty if the cluster allows insecure access.",
|
|
"$ref": "#/definitions/v1.LocalObjectReference"
|
|
},
|
|
"serverAddressByClientCIDRs": {
|
|
"description": "A map of client CIDR to server address. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.ServerAddressByClientCIDR"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ClusterStatus": {
|
|
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
|
|
"properties": {
|
|
"conditions": {
|
|
"description": "Conditions is an array of current cluster conditions.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.ClusterCondition"
|
|
}
|
|
},
|
|
"region": {
|
|
"description": "Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'.",
|
|
"type": "string"
|
|
},
|
|
"zones": {
|
|
"description": "Zones is the list of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. These will always be in the same region.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSet": {
|
|
"description": "DaemonSet represents the configuration of a daemon set.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"description": "Spec defines the desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1beta1.DaemonSetSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status is the current status of this daemon set. 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/v1beta1.DaemonSetStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetList": {
|
|
"description": "DaemonSetList is a collection of daemon sets.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Items is a list of daemon sets.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.DaemonSet"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetSpec": {
|
|
"description": "DaemonSetSpec is the specification of a daemon set.",
|
|
"required": [
|
|
"template"
|
|
],
|
|
"properties": {
|
|
"selector": {
|
|
"description": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"$ref": "#/definitions/v1.LabelSelector"
|
|
},
|
|
"template": {
|
|
"description": "Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetStatus": {
|
|
"description": "DaemonSetStatus represents the current status of a daemon set.",
|
|
"required": [
|
|
"currentNumberScheduled",
|
|
"numberMisscheduled",
|
|
"desiredNumberScheduled",
|
|
"numberReady"
|
|
],
|
|
"properties": {
|
|
"currentNumberScheduled": {
|
|
"description": "CurrentNumberScheduled is the number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"desiredNumberScheduled": {
|
|
"description": "DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"numberMisscheduled": {
|
|
"description": "NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"numberReady": {
|
|
"description": "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"observedGeneration": {
|
|
"description": "ObservedGeneration is the most recent generation observed by the daemon set controller.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Deployment": {
|
|
"description": "Deployment enables declarative updates for Pods and ReplicaSets.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object metadata.",
|
|
"$ref": "#/definitions/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"description": "Specification of the desired behavior of the Deployment.",
|
|
"$ref": "#/definitions/v1beta1.DeploymentSpec"
|
|
},
|
|
"status": {
|
|
"description": "Most recently observed status of the Deployment.",
|
|
"$ref": "#/definitions/v1beta1.DeploymentStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentCondition": {
|
|
"description": "DeploymentCondition describes the state of a deployment at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transitioned from one status to another.",
|
|
"$ref": "#/definitions/v1.Time"
|
|
},
|
|
"lastUpdateTime": {
|
|
"description": "The last time this condition was updated.",
|
|
"$ref": "#/definitions/v1.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 deployment condition.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentList": {
|
|
"description": "DeploymentList is a list of Deployments.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Items is the list of Deployments.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.Deployment"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata.",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentRollback": {
|
|
"description": "DeploymentRollback stores the information required to rollback a deployment.",
|
|
"required": [
|
|
"name",
|
|
"rollbackTo"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Required: This must match the Name of a deployment.",
|
|
"type": "string"
|
|
},
|
|
"rollbackTo": {
|
|
"description": "The config of this deployment rollback.",
|
|
"$ref": "#/definitions/v1beta1.RollbackConfig"
|
|
},
|
|
"updatedAnnotations": {
|
|
"description": "The annotations to be updated to a deployment",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentSpec": {
|
|
"description": "DeploymentSpec is the specification of the desired behavior of the Deployment.",
|
|
"required": [
|
|
"template"
|
|
],
|
|
"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"
|
|
},
|
|
"paused": {
|
|
"description": "Indicates that the deployment is paused and will not be processed by the deployment controller.",
|
|
"type": "boolean"
|
|
},
|
|
"progressDeadlineSeconds": {
|
|
"description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"replicas": {
|
|
"description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"revisionHistoryLimit": {
|
|
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"rollbackTo": {
|
|
"description": "The config this deployment is rolling back to. Will be cleared after rollback is done.",
|
|
"$ref": "#/definitions/v1beta1.RollbackConfig"
|
|
},
|
|
"selector": {
|
|
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.",
|
|
"$ref": "#/definitions/v1.LabelSelector"
|
|
},
|
|
"strategy": {
|
|
"description": "The deployment strategy to use to replace existing pods with new ones.",
|
|
"$ref": "#/definitions/v1beta1.DeploymentStrategy"
|
|
},
|
|
"template": {
|
|
"description": "Template describes the pods that will be created.",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentStatus": {
|
|
"description": "DeploymentStatus is the most recently observed status of the Deployment.",
|
|
"properties": {
|
|
"availableReplicas": {
|
|
"description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"conditions": {
|
|
"description": "Represents the latest available observations of a deployment's current state.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.DeploymentCondition"
|
|
}
|
|
},
|
|
"observedGeneration": {
|
|
"description": "The generation observed by the deployment controller.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"readyReplicas": {
|
|
"description": "Total number of ready pods targeted by this deployment.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"replicas": {
|
|
"description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"unavailableReplicas": {
|
|
"description": "Total number of unavailable pods targeted by this deployment.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"updatedReplicas": {
|
|
"description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentStrategy": {
|
|
"description": "DeploymentStrategy describes how to replace existing pods with new ones.",
|
|
"properties": {
|
|
"rollingUpdate": {
|
|
"description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.",
|
|
"$ref": "#/definitions/v1beta1.RollingUpdateDeployment"
|
|
},
|
|
"type": {
|
|
"description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.HTTPIngressPath": {
|
|
"description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.",
|
|
"required": [
|
|
"backend"
|
|
],
|
|
"properties": {
|
|
"backend": {
|
|
"description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to.",
|
|
"$ref": "#/definitions/v1beta1.IngressBackend"
|
|
},
|
|
"path": {
|
|
"description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.HTTPIngressRuleValue": {
|
|
"description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://\u003chost\u003e/\u003cpath\u003e?\u003csearchpart\u003e -\u003e backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
|
|
"required": [
|
|
"paths"
|
|
],
|
|
"properties": {
|
|
"paths": {
|
|
"description": "A collection of paths that map requests to backends.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.HTTPIngressPath"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Ingress": {
|
|
"description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"description": "Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1beta1.IngressSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1beta1.IngressStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressBackend": {
|
|
"description": "IngressBackend describes all endpoints for a given service and port.",
|
|
"required": [
|
|
"serviceName",
|
|
"servicePort"
|
|
],
|
|
"properties": {
|
|
"serviceName": {
|
|
"description": "Specifies the name of the referenced service.",
|
|
"type": "string"
|
|
},
|
|
"servicePort": {
|
|
"description": "Specifies the port of the referenced service.",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressList": {
|
|
"description": "IngressList is a collection of Ingress.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Items is the list of Ingress.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.Ingress"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressRule": {
|
|
"description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.",
|
|
"properties": {
|
|
"host": {
|
|
"description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.",
|
|
"type": "string"
|
|
},
|
|
"http": {
|
|
"$ref": "#/definitions/v1beta1.HTTPIngressRuleValue"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressSpec": {
|
|
"description": "IngressSpec describes the Ingress the user wishes to exist.",
|
|
"properties": {
|
|
"backend": {
|
|
"description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.",
|
|
"$ref": "#/definitions/v1beta1.IngressBackend"
|
|
},
|
|
"rules": {
|
|
"description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.IngressRule"
|
|
}
|
|
},
|
|
"tls": {
|
|
"description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.IngressTLS"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressStatus": {
|
|
"description": "IngressStatus describe the current state of the Ingress.",
|
|
"properties": {
|
|
"loadBalancer": {
|
|
"description": "LoadBalancer contains the current status of the load-balancer.",
|
|
"$ref": "#/definitions/v1.LoadBalancerStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressTLS": {
|
|
"description": "IngressTLS describes the transport layer security associated with an Ingress.",
|
|
"properties": {
|
|
"hosts": {
|
|
"description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"secretName": {
|
|
"description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSet": {
|
|
"description": "ReplicaSet represents the configuration of a ReplicaSet.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet 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 ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
|
|
"$ref": "#/definitions/v1beta1.ReplicaSetSpec"
|
|
},
|
|
"status": {
|
|
"description": "Status is the most recently observed status of the ReplicaSet. 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/v1beta1.ReplicaSetStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetCondition": {
|
|
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastTransitionTime": {
|
|
"description": "The last time the condition transitioned from one status to another.",
|
|
"$ref": "#/definitions/v1.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 replica set condition.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetList": {
|
|
"description": "ReplicaSetList is a collection of ReplicaSets.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSet"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetSpec": {
|
|
"description": "ReplicaSetSpec is the specification of a ReplicaSet.",
|
|
"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 replica count. If the 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 replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"$ref": "#/definitions/v1.LabelSelector"
|
|
},
|
|
"template": {
|
|
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template",
|
|
"$ref": "#/definitions/v1.PodTemplateSpec"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetStatus": {
|
|
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
|
|
"required": [
|
|
"replicas"
|
|
],
|
|
"properties": {
|
|
"availableReplicas": {
|
|
"description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"conditions": {
|
|
"description": "Represents the latest available observations of a replica set's current state.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1beta1.ReplicaSetCondition"
|
|
}
|
|
},
|
|
"fullyLabeledReplicas": {
|
|
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"observedGeneration": {
|
|
"description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"readyReplicas": {
|
|
"description": "The number of ready replicas for this replica set.",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RollbackConfig": {
|
|
"properties": {
|
|
"revision": {
|
|
"description": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RollingUpdateDeployment": {
|
|
"description": "Spec to control the desired behavior of rolling update.",
|
|
"properties": {
|
|
"maxSurge": {
|
|
"description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
},
|
|
"maxUnavailable": {
|
|
"description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.",
|
|
"$ref": "#/definitions/intstr.IntOrString"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Scale": {
|
|
"description": "represents a scaling request for a resource.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"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/v1beta1.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/v1beta1.ScaleStatus"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ScaleSpec": {
|
|
"description": "describes the attributes of a scale subresource",
|
|
"properties": {
|
|
"replicas": {
|
|
"description": "desired number of instances for the scaled object.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ScaleStatus": {
|
|
"description": "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. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"targetSelector": {
|
|
"description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ServerAddressByClientCIDR": {
|
|
"description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
|
|
"required": [
|
|
"clientCIDR",
|
|
"serverAddress"
|
|
],
|
|
"properties": {
|
|
"clientCIDR": {
|
|
"description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
|
|
"type": "string"
|
|
},
|
|
"serverAddress": {
|
|
"description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"version.Info": {
|
|
"description": "Info contains versioning information. how we'll want to distribute that information.",
|
|
"required": [
|
|
"major",
|
|
"minor",
|
|
"gitVersion",
|
|
"gitCommit",
|
|
"gitTreeState",
|
|
"buildDate",
|
|
"goVersion",
|
|
"compiler",
|
|
"platform"
|
|
],
|
|
"properties": {
|
|
"buildDate": {
|
|
"type": "string"
|
|
},
|
|
"compiler": {
|
|
"type": "string"
|
|
},
|
|
"gitCommit": {
|
|
"type": "string"
|
|
},
|
|
"gitTreeState": {
|
|
"type": "string"
|
|
},
|
|
"gitVersion": {
|
|
"type": "string"
|
|
},
|
|
"goVersion": {
|
|
"type": "string"
|
|
},
|
|
"major": {
|
|
"type": "string"
|
|
},
|
|
"minor": {
|
|
"type": "string"
|
|
},
|
|
"platform": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"securityDefinitions": {
|
|
"BearerToken": {
|
|
"description": "Bearer Token authentication",
|
|
"type": "apiKey",
|
|
"name": "authorization",
|
|
"in": "header"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"BearerToken": []
|
|
}
|
|
]
|
|
}
|