mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 04:50:23 +00:00
10817 lines
472 KiB
JSON
Generated
10817 lines
472 KiB
JSON
Generated
{
|
|
"swaggerVersion": "1.2",
|
|
"apiVersion": "extensions/v1beta1",
|
|
"basePath": "https://10.10.10.10:6443",
|
|
"resourcePath": "/apis/extensions/v1beta1",
|
|
"info": {
|
|
"title": "",
|
|
"description": ""
|
|
},
|
|
"apis": [
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DaemonSetList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind DaemonSet",
|
|
"nickname": "listNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSetList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "POST",
|
|
"summary": "create a DaemonSet",
|
|
"nickname": "createNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of DaemonSet",
|
|
"nickname": "deletecollectionNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of DaemonSet",
|
|
"nickname": "watchNamespacedDaemonSetList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "GET",
|
|
"summary": "read the specified DaemonSet",
|
|
"nickname": "readNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "PUT",
|
|
"summary": "replace the specified DaemonSet",
|
|
"nickname": "replaceNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified DaemonSet",
|
|
"nickname": "patchNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete a DaemonSet",
|
|
"nickname": "deleteNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind DaemonSet",
|
|
"nickname": "watchNamespacedDaemonSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/daemonsets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DaemonSetList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind DaemonSet",
|
|
"nickname": "listDaemonSetForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSetList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/daemonsets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of DaemonSet",
|
|
"nickname": "watchDaemonSetListForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "GET",
|
|
"summary": "read status of the specified DaemonSet",
|
|
"nickname": "readNamespacedDaemonSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "PUT",
|
|
"summary": "replace status of the specified DaemonSet",
|
|
"nickname": "replaceNamespacedDaemonSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.DaemonSet",
|
|
"method": "PATCH",
|
|
"summary": "partially update status of the specified DaemonSet",
|
|
"nickname": "patchNamespacedDaemonSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DaemonSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DaemonSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/deployments",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DeploymentList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind Deployment",
|
|
"nickname": "listNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DeploymentList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "POST",
|
|
"summary": "create a Deployment",
|
|
"nickname": "createNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Deployment"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of Deployment",
|
|
"nickname": "deletecollectionNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of Deployment",
|
|
"nickname": "watchNamespacedDeploymentList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "GET",
|
|
"summary": "read the specified Deployment",
|
|
"nickname": "readNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "PUT",
|
|
"summary": "replace the specified Deployment",
|
|
"nickname": "replaceNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified Deployment",
|
|
"nickname": "patchNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete a Deployment",
|
|
"nickname": "deleteNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind Deployment",
|
|
"nickname": "watchNamespacedDeployment",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/deployments",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DeploymentList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind Deployment",
|
|
"nickname": "listDeploymentForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DeploymentList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/deployments",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of Deployment",
|
|
"nickname": "watchDeploymentListForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.DeploymentRollback",
|
|
"method": "POST",
|
|
"summary": "create rollback of a Deployment",
|
|
"nickname": "createNamespacedDeploymentRollback",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.DeploymentRollback",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the DeploymentRollback",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.DeploymentRollback"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.DeploymentRollback"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.DeploymentRollback"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "GET",
|
|
"summary": "read scale of the specified Deployment",
|
|
"nickname": "readNamespacedDeploymentScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PUT",
|
|
"summary": "replace scale of the specified Deployment",
|
|
"nickname": "replaceNamespacedDeploymentScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PATCH",
|
|
"summary": "partially update scale of the specified Deployment",
|
|
"nickname": "patchNamespacedDeploymentScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "GET",
|
|
"summary": "read status of the specified Deployment",
|
|
"nickname": "readNamespacedDeploymentStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "PUT",
|
|
"summary": "replace status of the specified Deployment",
|
|
"nickname": "replaceNamespacedDeploymentStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Deployment",
|
|
"method": "PATCH",
|
|
"summary": "partially update status of the specified Deployment",
|
|
"nickname": "patchNamespacedDeploymentStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Deployment",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Deployment"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.IngressList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind Ingress",
|
|
"nickname": "listNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.IngressList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "POST",
|
|
"summary": "create an Ingress",
|
|
"nickname": "createNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Ingress"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of Ingress",
|
|
"nickname": "deletecollectionNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of Ingress",
|
|
"nickname": "watchNamespacedIngressList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "GET",
|
|
"summary": "read the specified Ingress",
|
|
"nickname": "readNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "PUT",
|
|
"summary": "replace the specified Ingress",
|
|
"nickname": "replaceNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified Ingress",
|
|
"nickname": "patchNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete an Ingress",
|
|
"nickname": "deleteNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind Ingress",
|
|
"nickname": "watchNamespacedIngress",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/ingresses",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.IngressList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind Ingress",
|
|
"nickname": "listIngressForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.IngressList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/ingresses",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of Ingress",
|
|
"nickname": "watchIngressListForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "GET",
|
|
"summary": "read status of the specified Ingress",
|
|
"nickname": "readNamespacedIngressStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "PUT",
|
|
"summary": "replace status of the specified Ingress",
|
|
"nickname": "replaceNamespacedIngressStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Ingress",
|
|
"method": "PATCH",
|
|
"summary": "partially update status of the specified Ingress",
|
|
"nickname": "patchNamespacedIngressStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Ingress",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Ingress"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.NetworkPolicyList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind NetworkPolicy",
|
|
"nickname": "listNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicyList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"method": "POST",
|
|
"summary": "create a NetworkPolicy",
|
|
"nickname": "createNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of NetworkPolicy",
|
|
"nickname": "deletecollectionNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of NetworkPolicy",
|
|
"nickname": "watchNamespacedNetworkPolicyList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"method": "GET",
|
|
"summary": "read the specified NetworkPolicy",
|
|
"nickname": "readNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the NetworkPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"method": "PUT",
|
|
"summary": "replace the specified NetworkPolicy",
|
|
"nickname": "replaceNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the NetworkPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.NetworkPolicy",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified NetworkPolicy",
|
|
"nickname": "patchNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the NetworkPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete a NetworkPolicy",
|
|
"nickname": "deleteNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the NetworkPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind NetworkPolicy",
|
|
"nickname": "watchNamespacedNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the NetworkPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/networkpolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.NetworkPolicyList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind NetworkPolicy",
|
|
"nickname": "listNetworkPolicyForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.NetworkPolicyList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/networkpolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of NetworkPolicy",
|
|
"nickname": "watchNetworkPolicyListForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/podsecuritypolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicyList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind PodSecurityPolicy",
|
|
"nickname": "listPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.PodSecurityPolicyList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"method": "POST",
|
|
"summary": "create a PodSecurityPolicy",
|
|
"nickname": "createPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of PodSecurityPolicy",
|
|
"nickname": "deletecollectionPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/podsecuritypolicies",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of PodSecurityPolicy",
|
|
"nickname": "watchPodSecurityPolicyList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/podsecuritypolicies/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"method": "GET",
|
|
"summary": "read the specified PodSecurityPolicy",
|
|
"nickname": "readPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the PodSecurityPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"method": "PUT",
|
|
"summary": "replace the specified PodSecurityPolicy",
|
|
"nickname": "replacePodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the PodSecurityPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.PodSecurityPolicy",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified PodSecurityPolicy",
|
|
"nickname": "patchPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the PodSecurityPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.PodSecurityPolicy"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete a PodSecurityPolicy",
|
|
"nickname": "deletePodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the PodSecurityPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind PodSecurityPolicy",
|
|
"nickname": "watchPodSecurityPolicy",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the PodSecurityPolicy",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.ReplicaSetList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind ReplicaSet",
|
|
"nickname": "listNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSetList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "POST",
|
|
"summary": "create a ReplicaSet",
|
|
"nickname": "createNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
},
|
|
{
|
|
"code": 202,
|
|
"message": "Accepted",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete collection of ReplicaSet",
|
|
"nickname": "deletecollectionNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of ReplicaSet",
|
|
"nickname": "watchNamespacedReplicaSetList",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "GET",
|
|
"summary": "read the specified ReplicaSet",
|
|
"nickname": "readNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "export",
|
|
"description": "Should this value be exported. Export strips fields that a user can not specify.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "exact",
|
|
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "PUT",
|
|
"summary": "replace the specified ReplicaSet",
|
|
"nickname": "replaceNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "PATCH",
|
|
"summary": "partially update the specified ReplicaSet",
|
|
"nickname": "patchNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1.Status",
|
|
"method": "DELETE",
|
|
"summary": "delete a ReplicaSet",
|
|
"nickname": "deleteNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.DeleteOptions",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "orphanDependents",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "propagationPolicy",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.Status"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch changes to an object of kind ReplicaSet",
|
|
"nickname": "watchNamespacedReplicaSet",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/replicasets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.ReplicaSetList",
|
|
"method": "GET",
|
|
"summary": "list or watch objects of kind ReplicaSet",
|
|
"nickname": "listReplicaSetForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSetList"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/watch/replicasets",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.WatchEvent",
|
|
"method": "GET",
|
|
"summary": "watch individual changes to a list of ReplicaSet",
|
|
"nickname": "watchReplicaSetListForAllNamespaces",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "labelSelector",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "fieldSelector",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "includeUninitialized",
|
|
"description": "If true, partially initialized resources are included in the response.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"paramType": "query",
|
|
"name": "watch",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "resourceVersion",
|
|
"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.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "timeoutSeconds",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"paramType": "query",
|
|
"name": "limit",
|
|
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "continue",
|
|
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1.WatchEvent"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "GET",
|
|
"summary": "read scale of the specified ReplicaSet",
|
|
"nickname": "readNamespacedReplicaSetScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PUT",
|
|
"summary": "replace scale of the specified ReplicaSet",
|
|
"nickname": "replaceNamespacedReplicaSetScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PATCH",
|
|
"summary": "partially update scale of the specified ReplicaSet",
|
|
"nickname": "patchNamespacedReplicaSetScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "GET",
|
|
"summary": "read status of the specified ReplicaSet",
|
|
"nickname": "readNamespacedReplicaSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "PUT",
|
|
"summary": "replace status of the specified ReplicaSet",
|
|
"nickname": "replaceNamespacedReplicaSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.ReplicaSet",
|
|
"method": "PATCH",
|
|
"summary": "partially update status of the specified ReplicaSet",
|
|
"nickname": "patchNamespacedReplicaSetStatus",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the ReplicaSet",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.ReplicaSet"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "GET",
|
|
"summary": "read scale of the specified ReplicationControllerDummy",
|
|
"nickname": "readNamespacedReplicationControllerDummyScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PUT",
|
|
"summary": "replace scale of the specified ReplicationControllerDummy",
|
|
"nickname": "replaceNamespacedReplicationControllerDummyScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
},
|
|
{
|
|
"code": 201,
|
|
"message": "Created",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"*/*"
|
|
]
|
|
},
|
|
{
|
|
"type": "v1beta1.Scale",
|
|
"method": "PATCH",
|
|
"summary": "partially update scale of the specified ReplicationControllerDummy",
|
|
"nickname": "patchNamespacedReplicationControllerDummyScale",
|
|
"parameters": [
|
|
{
|
|
"type": "string",
|
|
"paramType": "query",
|
|
"name": "pretty",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"required": false,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "v1.Patch",
|
|
"paramType": "body",
|
|
"name": "body",
|
|
"description": "",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "namespace",
|
|
"description": "object name and auth scope, such as for teams and projects",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
},
|
|
{
|
|
"type": "string",
|
|
"paramType": "path",
|
|
"name": "name",
|
|
"description": "name of the Scale",
|
|
"required": true,
|
|
"allowMultiple": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"message": "OK",
|
|
"responseModel": "v1beta1.Scale"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/apis/extensions/v1beta1",
|
|
"description": "API at /apis/extensions/v1beta1",
|
|
"operations": [
|
|
{
|
|
"type": "v1.APIResourceList",
|
|
"method": "GET",
|
|
"summary": "get available resources",
|
|
"nickname": "getAPIResources",
|
|
"parameters": [],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"models": {
|
|
"v1beta1.DaemonSetList": {
|
|
"id": "v1beta1.DaemonSetList",
|
|
"description": "DaemonSetList is a collection of daemon sets.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.DaemonSet"
|
|
},
|
|
"description": "A list of daemon sets."
|
|
}
|
|
}
|
|
},
|
|
"v1.ListMeta": {
|
|
"id": "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": {
|
|
"selfLink": {
|
|
"type": "string",
|
|
"description": "selfLink is a URL representing this object. Populated by the system. Read-only."
|
|
},
|
|
"resourceVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency"
|
|
},
|
|
"continue": {
|
|
"type": "string",
|
|
"description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSet": {
|
|
"id": "v1beta1.DaemonSet",
|
|
"description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.DaemonSetSpec",
|
|
"description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
},
|
|
"status": {
|
|
"$ref": "v1beta1.DaemonSetStatus",
|
|
"description": "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: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
}
|
|
}
|
|
},
|
|
"v1.ObjectMeta": {
|
|
"id": "v1.ObjectMeta",
|
|
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"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"
|
|
},
|
|
"generateName": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency"
|
|
},
|
|
"namespace": {
|
|
"type": "string",
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"type": "string",
|
|
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only."
|
|
},
|
|
"uid": {
|
|
"type": "string",
|
|
"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"
|
|
},
|
|
"resourceVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency"
|
|
},
|
|
"generation": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
|
|
},
|
|
"creationTimestamp": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"deletionTimestamp": {
|
|
"type": "string",
|
|
"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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"deletionGracePeriodSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"labels": {
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"annotations": {
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"ownerReferences": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.OwnerReference"
|
|
},
|
|
"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."
|
|
},
|
|
"initializers": {
|
|
"$ref": "v1.Initializers",
|
|
"description": "An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects.\n\nWhen an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user."
|
|
},
|
|
"finalizers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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."
|
|
},
|
|
"clusterName": {
|
|
"type": "string",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.OwnerReference": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "API version of the referent."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
|
|
},
|
|
"uid": {
|
|
"type": "string",
|
|
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
|
|
},
|
|
"controller": {
|
|
"type": "boolean",
|
|
"description": "If true, this reference points to the managing controller."
|
|
},
|
|
"blockOwnerDeletion": {
|
|
"type": "boolean",
|
|
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."
|
|
}
|
|
}
|
|
},
|
|
"v1.Initializers": {
|
|
"id": "v1.Initializers",
|
|
"description": "Initializers tracks the progress of initialization.",
|
|
"required": [
|
|
"pending"
|
|
],
|
|
"properties": {
|
|
"pending": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Initializer"
|
|
},
|
|
"description": "Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients."
|
|
},
|
|
"result": {
|
|
"$ref": "v1.Status",
|
|
"description": "If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion."
|
|
}
|
|
}
|
|
},
|
|
"v1.Initializer": {
|
|
"id": "v1.Initializer",
|
|
"description": "Initializer is information about an initializer that has not yet completed.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "name of the process that is responsible for initializing this object."
|
|
}
|
|
}
|
|
},
|
|
"v1.Status": {
|
|
"id": "v1.Status",
|
|
"description": "Status is a return value for calls that don't return other objects.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A human-readable description of the status of this operation."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"details": {
|
|
"$ref": "v1.StatusDetails",
|
|
"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."
|
|
},
|
|
"code": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Suggested HTTP return code for this status, 0 if not set."
|
|
}
|
|
}
|
|
},
|
|
"v1.StatusDetails": {
|
|
"id": "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": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."
|
|
},
|
|
"group": {
|
|
"type": "string",
|
|
"description": "The group attribute of the resource associated with the status StatusReason."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"uid": {
|
|
"type": "string",
|
|
"description": "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
|
|
},
|
|
"causes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.StatusCause"
|
|
},
|
|
"description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."
|
|
},
|
|
"retryAfterSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."
|
|
}
|
|
}
|
|
},
|
|
"v1.StatusCause": {
|
|
"id": "v1.StatusCause",
|
|
"description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
|
|
"properties": {
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "A machine-readable description of the cause of the error. If this value is empty there is no information available."
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader."
|
|
},
|
|
"field": {
|
|
"type": "string",
|
|
"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\""
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetSpec": {
|
|
"id": "v1beta1.DaemonSetSpec",
|
|
"description": "DaemonSetSpec is the specification of a daemon set.",
|
|
"required": [
|
|
"template"
|
|
],
|
|
"properties": {
|
|
"selector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
|
},
|
|
"template": {
|
|
"$ref": "v1.PodTemplateSpec",
|
|
"description": "An 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: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
|
|
},
|
|
"updateStrategy": {
|
|
"$ref": "v1beta1.DaemonSetUpdateStrategy",
|
|
"description": "An update strategy to replace existing DaemonSet pods with new pods."
|
|
},
|
|
"minReadySeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The minimum number of seconds for which a newly created DaemonSet 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)."
|
|
},
|
|
"templateGeneration": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation."
|
|
},
|
|
"revisionHistoryLimit": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."
|
|
}
|
|
}
|
|
},
|
|
"v1.LabelSelector": {
|
|
"id": "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": {
|
|
"matchLabels": {
|
|
"type": "object",
|
|
"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."
|
|
},
|
|
"matchExpressions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.LabelSelectorRequirement"
|
|
},
|
|
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed."
|
|
}
|
|
}
|
|
},
|
|
"v1.LabelSelectorRequirement": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "key is the label key that the selector applies to."
|
|
},
|
|
"operator": {
|
|
"type": "string",
|
|
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."
|
|
},
|
|
"values": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodTemplateSpec": {
|
|
"id": "v1.PodTemplateSpec",
|
|
"description": "PodTemplateSpec describes the data a pod should have when created from a template",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1.PodSpec",
|
|
"description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodSpec": {
|
|
"id": "v1.PodSpec",
|
|
"description": "PodSpec is a description of a pod.",
|
|
"required": [
|
|
"containers"
|
|
],
|
|
"properties": {
|
|
"volumes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Volume"
|
|
},
|
|
"description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"
|
|
},
|
|
"initContainers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Container"
|
|
},
|
|
"description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"
|
|
},
|
|
"containers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Container"
|
|
},
|
|
"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."
|
|
},
|
|
"restartPolicy": {
|
|
"type": "string",
|
|
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"
|
|
},
|
|
"terminationGracePeriodSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"activeDeadlineSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"dnsPolicy": {
|
|
"type": "string",
|
|
"description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."
|
|
},
|
|
"nodeSelector": {
|
|
"type": "object",
|
|
"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: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"
|
|
},
|
|
"serviceAccountName": {
|
|
"type": "string",
|
|
"description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"
|
|
},
|
|
"serviceAccount": {
|
|
"type": "string",
|
|
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."
|
|
},
|
|
"automountServiceAccountToken": {
|
|
"type": "boolean",
|
|
"description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."
|
|
},
|
|
"nodeName": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"hostNetwork": {
|
|
"type": "boolean",
|
|
"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."
|
|
},
|
|
"hostPID": {
|
|
"type": "boolean",
|
|
"description": "Use the host's pid namespace. Optional: Default to false."
|
|
},
|
|
"hostIPC": {
|
|
"type": "boolean",
|
|
"description": "Use the host's ipc namespace. Optional: Default to false."
|
|
},
|
|
"shareProcessNamespace": {
|
|
"type": "boolean",
|
|
"description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is alpha-level and is honored only by servers that enable the PodShareProcessNamespace feature."
|
|
},
|
|
"securityContext": {
|
|
"$ref": "v1.PodSecurityContext",
|
|
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
|
|
},
|
|
"imagePullSecrets": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.LocalObjectReference"
|
|
},
|
|
"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: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"
|
|
},
|
|
"hostname": {
|
|
"type": "string",
|
|
"description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."
|
|
},
|
|
"subdomain": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"affinity": {
|
|
"$ref": "v1.Affinity",
|
|
"description": "If specified, the pod's scheduling constraints"
|
|
},
|
|
"schedulerName": {
|
|
"type": "string",
|
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."
|
|
},
|
|
"tolerations": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Toleration"
|
|
},
|
|
"description": "If specified, the pod's tolerations."
|
|
},
|
|
"hostAliases": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.HostAlias"
|
|
},
|
|
"description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."
|
|
},
|
|
"priorityClassName": {
|
|
"type": "string",
|
|
"description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."
|
|
},
|
|
"dnsConfig": {
|
|
"$ref": "v1.PodDNSConfig",
|
|
"description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."
|
|
},
|
|
"readinessGates": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.PodReadinessGate"
|
|
},
|
|
"description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md"
|
|
}
|
|
}
|
|
},
|
|
"v1.Volume": {
|
|
"id": "v1.Volume",
|
|
"description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"hostPath": {
|
|
"$ref": "v1.HostPathVolumeSource",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
|
|
},
|
|
"emptyDir": {
|
|
"$ref": "v1.EmptyDirVolumeSource",
|
|
"description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"
|
|
},
|
|
"gcePersistentDisk": {
|
|
"$ref": "v1.GCEPersistentDiskVolumeSource",
|
|
"description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
|
|
},
|
|
"awsElasticBlockStore": {
|
|
"$ref": "v1.AWSElasticBlockStoreVolumeSource",
|
|
"description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
|
|
},
|
|
"gitRepo": {
|
|
"$ref": "v1.GitRepoVolumeSource",
|
|
"description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."
|
|
},
|
|
"secret": {
|
|
"$ref": "v1.SecretVolumeSource",
|
|
"description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"
|
|
},
|
|
"nfs": {
|
|
"$ref": "v1.NFSVolumeSource",
|
|
"description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
|
|
},
|
|
"iscsi": {
|
|
"$ref": "v1.ISCSIVolumeSource",
|
|
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md"
|
|
},
|
|
"glusterfs": {
|
|
"$ref": "v1.GlusterfsVolumeSource",
|
|
"description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md"
|
|
},
|
|
"persistentVolumeClaim": {
|
|
"$ref": "v1.PersistentVolumeClaimVolumeSource",
|
|
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
|
},
|
|
"rbd": {
|
|
"$ref": "v1.RBDVolumeSource",
|
|
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md"
|
|
},
|
|
"flexVolume": {
|
|
"$ref": "v1.FlexVolumeSource",
|
|
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
|
|
},
|
|
"cinder": {
|
|
"$ref": "v1.CinderVolumeSource",
|
|
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
|
},
|
|
"cephfs": {
|
|
"$ref": "v1.CephFSVolumeSource",
|
|
"description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
|
|
},
|
|
"flocker": {
|
|
"$ref": "v1.FlockerVolumeSource",
|
|
"description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"
|
|
},
|
|
"downwardAPI": {
|
|
"$ref": "v1.DownwardAPIVolumeSource",
|
|
"description": "DownwardAPI represents downward API about the pod that should populate this volume"
|
|
},
|
|
"fc": {
|
|
"$ref": "v1.FCVolumeSource",
|
|
"description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."
|
|
},
|
|
"azureFile": {
|
|
"$ref": "v1.AzureFileVolumeSource",
|
|
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
|
|
},
|
|
"configMap": {
|
|
"$ref": "v1.ConfigMapVolumeSource",
|
|
"description": "ConfigMap represents a configMap that should populate this volume"
|
|
},
|
|
"vsphereVolume": {
|
|
"$ref": "v1.VsphereVirtualDiskVolumeSource",
|
|
"description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
|
|
},
|
|
"quobyte": {
|
|
"$ref": "v1.QuobyteVolumeSource",
|
|
"description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
|
|
},
|
|
"azureDisk": {
|
|
"$ref": "v1.AzureDiskVolumeSource",
|
|
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
|
|
},
|
|
"photonPersistentDisk": {
|
|
"$ref": "v1.PhotonPersistentDiskVolumeSource",
|
|
"description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
|
|
},
|
|
"projected": {
|
|
"$ref": "v1.ProjectedVolumeSource",
|
|
"description": "Items for all in one resources secrets, configmaps, and downward API"
|
|
},
|
|
"portworxVolume": {
|
|
"$ref": "v1.PortworxVolumeSource",
|
|
"description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"
|
|
},
|
|
"scaleIO": {
|
|
"$ref": "v1.ScaleIOVolumeSource",
|
|
"description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
|
|
},
|
|
"storageos": {
|
|
"$ref": "v1.StorageOSVolumeSource",
|
|
"description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."
|
|
}
|
|
}
|
|
},
|
|
"v1.HostPathVolumeSource": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
|
|
},
|
|
"type": {
|
|
"$ref": "v1.HostPathType",
|
|
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
|
|
}
|
|
}
|
|
},
|
|
"v1.HostPathType": {
|
|
"id": "v1.HostPathType",
|
|
"properties": {}
|
|
},
|
|
"v1.EmptyDirVolumeSource": {
|
|
"id": "v1.EmptyDirVolumeSource",
|
|
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"medium": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"
|
|
},
|
|
"sizeLimit": {
|
|
"type": "string",
|
|
"description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"
|
|
}
|
|
}
|
|
},
|
|
"v1.GCEPersistentDiskVolumeSource": {
|
|
"id": "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": {
|
|
"pdName": {
|
|
"type": "string",
|
|
"description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
|
|
},
|
|
"partition": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
|
|
}
|
|
}
|
|
},
|
|
"v1.AWSElasticBlockStoreVolumeSource": {
|
|
"id": "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": {
|
|
"volumeID": {
|
|
"type": "string",
|
|
"description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
|
|
},
|
|
"partition": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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)."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
|
|
}
|
|
}
|
|
},
|
|
"v1.GitRepoVolumeSource": {
|
|
"id": "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.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
|
|
"required": [
|
|
"repository"
|
|
],
|
|
"properties": {
|
|
"repository": {
|
|
"type": "string",
|
|
"description": "Repository URL"
|
|
},
|
|
"revision": {
|
|
"type": "string",
|
|
"description": "Commit hash for the specified revision."
|
|
},
|
|
"directory": {
|
|
"type": "string",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretVolumeSource": {
|
|
"id": "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": {
|
|
"secretName": {
|
|
"type": "string",
|
|
"description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.KeyToPath"
|
|
},
|
|
"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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."
|
|
},
|
|
"defaultMode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the Secret or it's keys must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.KeyToPath": {
|
|
"id": "v1.KeyToPath",
|
|
"description": "Maps a string key to a path within a volume.",
|
|
"required": [
|
|
"key",
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"description": "The key to project."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"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 '..'."
|
|
},
|
|
"mode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.NFSVolumeSource": {
|
|
"id": "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": {
|
|
"server": {
|
|
"type": "string",
|
|
"description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
|
|
}
|
|
}
|
|
},
|
|
"v1.ISCSIVolumeSource": {
|
|
"id": "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": {
|
|
"targetPortal": {
|
|
"type": "string",
|
|
"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)."
|
|
},
|
|
"iqn": {
|
|
"type": "string",
|
|
"description": "Target iSCSI Qualified Name."
|
|
},
|
|
"lun": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "iSCSI Target Lun number."
|
|
},
|
|
"iscsiInterface": {
|
|
"type": "string",
|
|
"description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."
|
|
},
|
|
"portals": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."
|
|
},
|
|
"chapAuthDiscovery": {
|
|
"type": "boolean",
|
|
"description": "whether support iSCSI Discovery CHAP authentication"
|
|
},
|
|
"chapAuthSession": {
|
|
"type": "boolean",
|
|
"description": "whether support iSCSI Session CHAP authentication"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "CHAP Secret for iSCSI target and initiator authentication"
|
|
},
|
|
"initiatorName": {
|
|
"type": "string",
|
|
"description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface \u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection."
|
|
}
|
|
}
|
|
},
|
|
"v1.LocalObjectReference": {
|
|
"id": "v1.LocalObjectReference",
|
|
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
}
|
|
}
|
|
},
|
|
"v1.GlusterfsVolumeSource": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod"
|
|
}
|
|
}
|
|
},
|
|
"v1.PersistentVolumeClaimVolumeSource": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Will force the ReadOnly setting in VolumeMounts. Default false."
|
|
}
|
|
}
|
|
},
|
|
"v1.RBDVolumeSource": {
|
|
"id": "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": {
|
|
"monitors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"image": {
|
|
"type": "string",
|
|
"description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/storage/volumes#rbd"
|
|
},
|
|
"pool": {
|
|
"type": "string",
|
|
"description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"user": {
|
|
"type": "string",
|
|
"description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"keyring": {
|
|
"type": "string",
|
|
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it"
|
|
}
|
|
}
|
|
},
|
|
"v1.FlexVolumeSource": {
|
|
"id": "v1.FlexVolumeSource",
|
|
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
|
|
"required": [
|
|
"driver"
|
|
],
|
|
"properties": {
|
|
"driver": {
|
|
"type": "string",
|
|
"description": "Driver is the name of the driver to use for this volume."
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"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."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
},
|
|
"options": {
|
|
"type": "object",
|
|
"description": "Optional: Extra command options if any."
|
|
}
|
|
}
|
|
},
|
|
"v1.CinderVolumeSource": {
|
|
"id": "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": {
|
|
"volumeID": {
|
|
"type": "string",
|
|
"description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
|
|
}
|
|
}
|
|
},
|
|
"v1.CephFSVolumeSource": {
|
|
"id": "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": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"
|
|
},
|
|
"user": {
|
|
"type": "string",
|
|
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
|
},
|
|
"secretFile": {
|
|
"type": "string",
|
|
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
|
|
}
|
|
}
|
|
},
|
|
"v1.FlockerVolumeSource": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker should be considered as deprecated"
|
|
},
|
|
"datasetUUID": {
|
|
"type": "string",
|
|
"description": "UUID of the dataset. This is unique identifier of a Flocker dataset"
|
|
}
|
|
}
|
|
},
|
|
"v1.DownwardAPIVolumeSource": {
|
|
"id": "v1.DownwardAPIVolumeSource",
|
|
"description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.DownwardAPIVolumeFile"
|
|
},
|
|
"description": "Items is a list of downward API volume file"
|
|
},
|
|
"defaultMode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.DownwardAPIVolumeFile": {
|
|
"id": "v1.DownwardAPIVolumeFile",
|
|
"description": "DownwardAPIVolumeFile represents information to create the file containing the pod field",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"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 '..'"
|
|
},
|
|
"fieldRef": {
|
|
"$ref": "v1.ObjectFieldSelector",
|
|
"description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."
|
|
},
|
|
"resourceFieldRef": {
|
|
"$ref": "v1.ResourceFieldSelector",
|
|
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."
|
|
},
|
|
"mode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.ObjectFieldSelector": {
|
|
"id": "v1.ObjectFieldSelector",
|
|
"description": "ObjectFieldSelector selects an APIVersioned field of an object.",
|
|
"required": [
|
|
"fieldPath"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."
|
|
},
|
|
"fieldPath": {
|
|
"type": "string",
|
|
"description": "Path of the field to select in the specified API version."
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceFieldSelector": {
|
|
"id": "v1.ResourceFieldSelector",
|
|
"description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
|
|
"required": [
|
|
"resource"
|
|
],
|
|
"properties": {
|
|
"containerName": {
|
|
"type": "string",
|
|
"description": "Container name: required for volumes, optional for env vars"
|
|
},
|
|
"resource": {
|
|
"type": "string",
|
|
"description": "Required: resource to select"
|
|
},
|
|
"divisor": {
|
|
"type": "string",
|
|
"description": "Specifies the output format of the exposed resources, defaults to \"1\""
|
|
}
|
|
}
|
|
},
|
|
"v1.FCVolumeSource": {
|
|
"id": "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.",
|
|
"properties": {
|
|
"targetWWNs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Optional: FC target worldwide names (WWNs)"
|
|
},
|
|
"lun": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Optional: FC target lun number"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
},
|
|
"wwids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."
|
|
}
|
|
}
|
|
},
|
|
"v1.AzureFileVolumeSource": {
|
|
"id": "v1.AzureFileVolumeSource",
|
|
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
|
|
"required": [
|
|
"secretName",
|
|
"shareName"
|
|
],
|
|
"properties": {
|
|
"secretName": {
|
|
"type": "string",
|
|
"description": "the name of secret that contains Azure Storage Account Name and Key"
|
|
},
|
|
"shareName": {
|
|
"type": "string",
|
|
"description": "Share Name"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapVolumeSource": {
|
|
"id": "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": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.KeyToPath"
|
|
},
|
|
"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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."
|
|
},
|
|
"defaultMode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the ConfigMap or it's keys must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.VsphereVirtualDiskVolumeSource": {
|
|
"id": "v1.VsphereVirtualDiskVolumeSource",
|
|
"description": "Represents a vSphere volume resource.",
|
|
"required": [
|
|
"volumePath"
|
|
],
|
|
"properties": {
|
|
"volumePath": {
|
|
"type": "string",
|
|
"description": "Path that identifies vSphere volume vmdk"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"storagePolicyName": {
|
|
"type": "string",
|
|
"description": "Storage Policy Based Management (SPBM) profile name."
|
|
},
|
|
"storagePolicyID": {
|
|
"type": "string",
|
|
"description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."
|
|
}
|
|
}
|
|
},
|
|
"v1.QuobyteVolumeSource": {
|
|
"id": "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": {
|
|
"registry": {
|
|
"type": "string",
|
|
"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"
|
|
},
|
|
"volume": {
|
|
"type": "string",
|
|
"description": "Volume is a string that references an already created Quobyte volume by name."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."
|
|
},
|
|
"user": {
|
|
"type": "string",
|
|
"description": "User to map volume access to Defaults to serivceaccount user"
|
|
},
|
|
"group": {
|
|
"type": "string",
|
|
"description": "Group to map volume access to Default is no group"
|
|
}
|
|
}
|
|
},
|
|
"v1.AzureDiskVolumeSource": {
|
|
"id": "v1.AzureDiskVolumeSource",
|
|
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
|
|
"required": [
|
|
"diskName",
|
|
"diskURI"
|
|
],
|
|
"properties": {
|
|
"diskName": {
|
|
"type": "string",
|
|
"description": "The Name of the data disk in the blob storage"
|
|
},
|
|
"diskURI": {
|
|
"type": "string",
|
|
"description": "The URI the data disk in the blob storage"
|
|
},
|
|
"cachingMode": {
|
|
"$ref": "v1.AzureDataDiskCachingMode",
|
|
"description": "Host Caching mode: None, Read Only, Read Write."
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
},
|
|
"kind": {
|
|
"$ref": "v1.AzureDataDiskKind",
|
|
"description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"
|
|
}
|
|
}
|
|
},
|
|
"v1.AzureDataDiskCachingMode": {
|
|
"id": "v1.AzureDataDiskCachingMode",
|
|
"properties": {}
|
|
},
|
|
"v1.AzureDataDiskKind": {
|
|
"id": "v1.AzureDataDiskKind",
|
|
"properties": {}
|
|
},
|
|
"v1.PhotonPersistentDiskVolumeSource": {
|
|
"id": "v1.PhotonPersistentDiskVolumeSource",
|
|
"description": "Represents a Photon Controller persistent disk resource.",
|
|
"required": [
|
|
"pdID"
|
|
],
|
|
"properties": {
|
|
"pdID": {
|
|
"type": "string",
|
|
"description": "ID that identifies Photon Controller persistent disk"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.ProjectedVolumeSource": {
|
|
"id": "v1.ProjectedVolumeSource",
|
|
"description": "Represents a projected volume source",
|
|
"required": [
|
|
"sources"
|
|
],
|
|
"properties": {
|
|
"sources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.VolumeProjection"
|
|
},
|
|
"description": "list of volume projections"
|
|
},
|
|
"defaultMode": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. 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."
|
|
}
|
|
}
|
|
},
|
|
"v1.VolumeProjection": {
|
|
"id": "v1.VolumeProjection",
|
|
"description": "Projection that may be projected along with other supported volume types",
|
|
"properties": {
|
|
"secret": {
|
|
"$ref": "v1.SecretProjection",
|
|
"description": "information about the secret data to project"
|
|
},
|
|
"downwardAPI": {
|
|
"$ref": "v1.DownwardAPIProjection",
|
|
"description": "information about the downwardAPI data to project"
|
|
},
|
|
"configMap": {
|
|
"$ref": "v1.ConfigMapProjection",
|
|
"description": "information about the configMap data to project"
|
|
},
|
|
"serviceAccountToken": {
|
|
"$ref": "v1.ServiceAccountTokenProjection",
|
|
"description": "information about the serviceAccountToken data to project"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretProjection": {
|
|
"id": "v1.SecretProjection",
|
|
"description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.KeyToPath"
|
|
},
|
|
"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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the Secret or its key must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.DownwardAPIProjection": {
|
|
"id": "v1.DownwardAPIProjection",
|
|
"description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.DownwardAPIVolumeFile"
|
|
},
|
|
"description": "Items is a list of DownwardAPIVolume file"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapProjection": {
|
|
"id": "v1.ConfigMapProjection",
|
|
"description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.KeyToPath"
|
|
},
|
|
"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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the ConfigMap or it's keys must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.ServiceAccountTokenProjection": {
|
|
"id": "v1.ServiceAccountTokenProjection",
|
|
"description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).",
|
|
"required": [
|
|
"path"
|
|
],
|
|
"properties": {
|
|
"audience": {
|
|
"type": "string",
|
|
"description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."
|
|
},
|
|
"expirationSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Path is the path relative to the mount point of the file to project the token into."
|
|
}
|
|
}
|
|
},
|
|
"v1.PortworxVolumeSource": {
|
|
"id": "v1.PortworxVolumeSource",
|
|
"description": "PortworxVolumeSource represents a Portworx volume resource.",
|
|
"required": [
|
|
"volumeID"
|
|
],
|
|
"properties": {
|
|
"volumeID": {
|
|
"type": "string",
|
|
"description": "VolumeID uniquely identifies a Portworx volume"
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
}
|
|
}
|
|
},
|
|
"v1.ScaleIOVolumeSource": {
|
|
"id": "v1.ScaleIOVolumeSource",
|
|
"description": "ScaleIOVolumeSource represents a persistent ScaleIO volume",
|
|
"required": [
|
|
"gateway",
|
|
"system",
|
|
"secretRef"
|
|
],
|
|
"properties": {
|
|
"gateway": {
|
|
"type": "string",
|
|
"description": "The host address of the ScaleIO API Gateway."
|
|
},
|
|
"system": {
|
|
"type": "string",
|
|
"description": "The name of the storage system as configured in ScaleIO."
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."
|
|
},
|
|
"sslEnabled": {
|
|
"type": "boolean",
|
|
"description": "Flag to enable/disable SSL communication with Gateway, default false"
|
|
},
|
|
"protectionDomain": {
|
|
"type": "string",
|
|
"description": "The name of the ScaleIO Protection Domain for the configured storage."
|
|
},
|
|
"storagePool": {
|
|
"type": "string",
|
|
"description": "The ScaleIO Storage Pool associated with the protection domain."
|
|
},
|
|
"storageMode": {
|
|
"type": "string",
|
|
"description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned."
|
|
},
|
|
"volumeName": {
|
|
"type": "string",
|
|
"description": "The name of a volume already created in the ScaleIO system that is associated with this volume source."
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
}
|
|
}
|
|
},
|
|
"v1.StorageOSVolumeSource": {
|
|
"id": "v1.StorageOSVolumeSource",
|
|
"description": "Represents a StorageOS persistent volume resource.",
|
|
"properties": {
|
|
"volumeName": {
|
|
"type": "string",
|
|
"description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."
|
|
},
|
|
"volumeNamespace": {
|
|
"type": "string",
|
|
"description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."
|
|
},
|
|
"fsType": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.LocalObjectReference",
|
|
"description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."
|
|
}
|
|
}
|
|
},
|
|
"v1.Container": {
|
|
"id": "v1.Container",
|
|
"description": "A single application container that you want to run within a pod.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"image": {
|
|
"type": "string",
|
|
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
|
|
},
|
|
"command": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
|
|
},
|
|
"args": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
|
|
},
|
|
"workingDir": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.ContainerPort"
|
|
},
|
|
"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."
|
|
},
|
|
"envFrom": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.EnvFromSource"
|
|
},
|
|
"description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is 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."
|
|
},
|
|
"env": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.EnvVar"
|
|
},
|
|
"description": "List of environment variables to set in the container. Cannot be updated."
|
|
},
|
|
"resources": {
|
|
"$ref": "v1.ResourceRequirements",
|
|
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
|
},
|
|
"volumeMounts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.VolumeMount"
|
|
},
|
|
"description": "Pod volumes to mount into the container's filesystem. Cannot be updated."
|
|
},
|
|
"volumeDevices": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.VolumeDevice"
|
|
},
|
|
"description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future."
|
|
},
|
|
"livenessProbe": {
|
|
"$ref": "v1.Probe",
|
|
"description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
|
|
},
|
|
"readinessProbe": {
|
|
"$ref": "v1.Probe",
|
|
"description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
|
|
},
|
|
"lifecycle": {
|
|
"$ref": "v1.Lifecycle",
|
|
"description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated."
|
|
},
|
|
"terminationMessagePath": {
|
|
"type": "string",
|
|
"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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
|
},
|
|
"terminationMessagePolicy": {
|
|
"type": "string",
|
|
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
|
},
|
|
"imagePullPolicy": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/containers/images#updating-images"
|
|
},
|
|
"securityContext": {
|
|
"$ref": "v1.SecurityContext",
|
|
"description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
|
|
},
|
|
"stdin": {
|
|
"type": "boolean",
|
|
"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."
|
|
},
|
|
"stdinOnce": {
|
|
"type": "boolean",
|
|
"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"
|
|
},
|
|
"tty": {
|
|
"type": "boolean",
|
|
"description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."
|
|
}
|
|
}
|
|
},
|
|
"v1.ContainerPort": {
|
|
"id": "v1.ContainerPort",
|
|
"description": "ContainerPort represents a network port in a single container.",
|
|
"required": [
|
|
"containerPort"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"hostPort": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
},
|
|
"containerPort": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 \u003c x \u003c 65536."
|
|
},
|
|
"protocol": {
|
|
"type": "string",
|
|
"description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\"."
|
|
},
|
|
"hostIP": {
|
|
"type": "string",
|
|
"description": "What host IP to bind the external port to."
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvFromSource": {
|
|
"id": "v1.EnvFromSource",
|
|
"description": "EnvFromSource represents the source of a set of ConfigMaps",
|
|
"properties": {
|
|
"prefix": {
|
|
"type": "string",
|
|
"description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."
|
|
},
|
|
"configMapRef": {
|
|
"$ref": "v1.ConfigMapEnvSource",
|
|
"description": "The ConfigMap to select from"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "v1.SecretEnvSource",
|
|
"description": "The Secret to select from"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapEnvSource": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the ConfigMap must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretEnvSource": {
|
|
"id": "v1.SecretEnvSource",
|
|
"description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the Secret must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvVar": {
|
|
"id": "v1.EnvVar",
|
|
"description": "EnvVar represents an environment variable present in a Container.",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the environment variable. Must be a C_IDENTIFIER."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"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 \"\"."
|
|
},
|
|
"valueFrom": {
|
|
"$ref": "v1.EnvVarSource",
|
|
"description": "Source for the environment variable's value. Cannot be used if value is not empty."
|
|
}
|
|
}
|
|
},
|
|
"v1.EnvVarSource": {
|
|
"id": "v1.EnvVarSource",
|
|
"description": "EnvVarSource represents a source for the value of an EnvVar.",
|
|
"properties": {
|
|
"fieldRef": {
|
|
"$ref": "v1.ObjectFieldSelector",
|
|
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP."
|
|
},
|
|
"resourceFieldRef": {
|
|
"$ref": "v1.ResourceFieldSelector",
|
|
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."
|
|
},
|
|
"configMapKeyRef": {
|
|
"$ref": "v1.ConfigMapKeySelector",
|
|
"description": "Selects a key of a ConfigMap."
|
|
},
|
|
"secretKeyRef": {
|
|
"$ref": "v1.SecretKeySelector",
|
|
"description": "Selects a key of a secret in the pod's namespace"
|
|
}
|
|
}
|
|
},
|
|
"v1.ConfigMapKeySelector": {
|
|
"id": "v1.ConfigMapKeySelector",
|
|
"description": "Selects a key from a ConfigMap.",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "The key to select."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the ConfigMap or it's key must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecretKeySelector": {
|
|
"id": "v1.SecretKeySelector",
|
|
"description": "SecretKeySelector selects a key of a Secret.",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "The key of the secret to select from. Must be a valid secret key."
|
|
},
|
|
"optional": {
|
|
"type": "boolean",
|
|
"description": "Specify whether the Secret or it's key must be defined"
|
|
}
|
|
}
|
|
},
|
|
"v1.ResourceRequirements": {
|
|
"id": "v1.ResourceRequirements",
|
|
"description": "ResourceRequirements describes the compute resource requirements.",
|
|
"properties": {
|
|
"limits": {
|
|
"type": "object",
|
|
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"
|
|
},
|
|
"requests": {
|
|
"type": "object",
|
|
"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: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"
|
|
}
|
|
}
|
|
},
|
|
"v1.VolumeMount": {
|
|
"id": "v1.VolumeMount",
|
|
"description": "VolumeMount describes a mounting of a Volume within a container.",
|
|
"required": [
|
|
"name",
|
|
"mountPath"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "This must match the Name of a Volume."
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."
|
|
},
|
|
"mountPath": {
|
|
"type": "string",
|
|
"description": "Path within the container at which the volume should be mounted. Must not contain ':'."
|
|
},
|
|
"subPath": {
|
|
"type": "string",
|
|
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."
|
|
},
|
|
"mountPropagation": {
|
|
"$ref": "v1.MountPropagationMode",
|
|
"description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."
|
|
}
|
|
}
|
|
},
|
|
"v1.MountPropagationMode": {
|
|
"id": "v1.MountPropagationMode",
|
|
"properties": {}
|
|
},
|
|
"v1.VolumeDevice": {
|
|
"id": "v1.VolumeDevice",
|
|
"description": "volumeDevice describes a mapping of a raw block device within a container.",
|
|
"required": [
|
|
"name",
|
|
"devicePath"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "name must match the name of a persistentVolumeClaim in the pod"
|
|
},
|
|
"devicePath": {
|
|
"type": "string",
|
|
"description": "devicePath is the path inside of the container that the device will be mapped to."
|
|
}
|
|
}
|
|
},
|
|
"v1.Probe": {
|
|
"id": "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": {
|
|
"$ref": "v1.ExecAction",
|
|
"description": "One and only one of the following should be specified. Exec specifies the action to take."
|
|
},
|
|
"httpGet": {
|
|
"$ref": "v1.HTTPGetAction",
|
|
"description": "HTTPGet specifies the http request to perform."
|
|
},
|
|
"tcpSocket": {
|
|
"$ref": "v1.TCPSocketAction",
|
|
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"
|
|
},
|
|
"initialDelaySeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
|
|
},
|
|
"timeoutSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
|
|
},
|
|
"periodSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
|
|
},
|
|
"successThreshold": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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."
|
|
},
|
|
"failureThreshold": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
|
|
}
|
|
}
|
|
},
|
|
"v1.ExecAction": {
|
|
"id": "v1.ExecAction",
|
|
"description": "ExecAction describes a \"run in container\" action.",
|
|
"properties": {
|
|
"command": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.HTTPGetAction": {
|
|
"id": "v1.HTTPGetAction",
|
|
"description": "HTTPGetAction describes an action based on HTTP Get requests.",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Path to access on the HTTP server."
|
|
},
|
|
"port": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
|
|
},
|
|
"scheme": {
|
|
"type": "string",
|
|
"description": "Scheme to use for connecting to the host. Defaults to HTTP."
|
|
},
|
|
"httpHeaders": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.HTTPHeader"
|
|
},
|
|
"description": "Custom headers to set in the request. HTTP allows repeated headers."
|
|
}
|
|
}
|
|
},
|
|
"v1.HTTPHeader": {
|
|
"id": "v1.HTTPHeader",
|
|
"description": "HTTPHeader describes a custom header to be used in HTTP probes",
|
|
"required": [
|
|
"name",
|
|
"value"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The header field name"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The header field value"
|
|
}
|
|
}
|
|
},
|
|
"v1.TCPSocketAction": {
|
|
"id": "v1.TCPSocketAction",
|
|
"description": "TCPSocketAction describes an action based on opening a socket",
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"port": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"description": "Optional: Host name to connect to, defaults to the pod IP."
|
|
}
|
|
}
|
|
},
|
|
"v1.Lifecycle": {
|
|
"id": "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": {
|
|
"$ref": "v1.Handler",
|
|
"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: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
|
|
},
|
|
"preStop": {
|
|
"$ref": "v1.Handler",
|
|
"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: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
|
|
}
|
|
}
|
|
},
|
|
"v1.Handler": {
|
|
"id": "v1.Handler",
|
|
"description": "Handler defines a specific action that should be taken",
|
|
"properties": {
|
|
"exec": {
|
|
"$ref": "v1.ExecAction",
|
|
"description": "One and only one of the following should be specified. Exec specifies the action to take."
|
|
},
|
|
"httpGet": {
|
|
"$ref": "v1.HTTPGetAction",
|
|
"description": "HTTPGet specifies the http request to perform."
|
|
},
|
|
"tcpSocket": {
|
|
"$ref": "v1.TCPSocketAction",
|
|
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"
|
|
}
|
|
}
|
|
},
|
|
"v1.SecurityContext": {
|
|
"id": "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": {
|
|
"$ref": "v1.Capabilities",
|
|
"description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."
|
|
},
|
|
"privileged": {
|
|
"type": "boolean",
|
|
"description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."
|
|
},
|
|
"seLinuxOptions": {
|
|
"$ref": "v1.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."
|
|
},
|
|
"runAsUser": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"runAsGroup": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
|
|
},
|
|
"runAsNonRoot": {
|
|
"type": "boolean",
|
|
"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."
|
|
},
|
|
"readOnlyRootFilesystem": {
|
|
"type": "boolean",
|
|
"description": "Whether this container has a read-only root filesystem. Default is false."
|
|
},
|
|
"allowPrivilegeEscalation": {
|
|
"type": "boolean",
|
|
"description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"
|
|
}
|
|
}
|
|
},
|
|
"v1.Capabilities": {
|
|
"id": "v1.Capabilities",
|
|
"description": "Adds and removes POSIX capabilities from running containers.",
|
|
"properties": {
|
|
"add": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Capability"
|
|
},
|
|
"description": "Added capabilities"
|
|
},
|
|
"drop": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Capability"
|
|
},
|
|
"description": "Removed capabilities"
|
|
}
|
|
}
|
|
},
|
|
"v1.Capability": {
|
|
"id": "v1.Capability",
|
|
"properties": {}
|
|
},
|
|
"v1.SELinuxOptions": {
|
|
"id": "v1.SELinuxOptions",
|
|
"description": "SELinuxOptions are the labels to be applied to the container",
|
|
"properties": {
|
|
"user": {
|
|
"type": "string",
|
|
"description": "User is a SELinux user label that applies to the container."
|
|
},
|
|
"role": {
|
|
"type": "string",
|
|
"description": "Role is a SELinux role label that applies to the container."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type is a SELinux type label that applies to the container."
|
|
},
|
|
"level": {
|
|
"type": "string",
|
|
"description": "Level is SELinux level label that applies to the container."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodSecurityContext": {
|
|
"id": "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": {
|
|
"seLinuxOptions": {
|
|
"$ref": "v1.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."
|
|
},
|
|
"runAsUser": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"runAsGroup": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."
|
|
},
|
|
"runAsNonRoot": {
|
|
"type": "boolean",
|
|
"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."
|
|
},
|
|
"supplementalGroups": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"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."
|
|
},
|
|
"fsGroup": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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 "
|
|
},
|
|
"sysctls": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Sysctl"
|
|
},
|
|
"description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."
|
|
}
|
|
}
|
|
},
|
|
"v1.Sysctl": {
|
|
"id": "v1.Sysctl",
|
|
"description": "Sysctl defines a kernel parameter to be set",
|
|
"required": [
|
|
"name",
|
|
"value"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of a property to set"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "Value of a property to set"
|
|
}
|
|
}
|
|
},
|
|
"v1.Affinity": {
|
|
"id": "v1.Affinity",
|
|
"description": "Affinity is a group of affinity scheduling rules.",
|
|
"properties": {
|
|
"nodeAffinity": {
|
|
"$ref": "v1.NodeAffinity",
|
|
"description": "Describes node affinity scheduling rules for the pod."
|
|
},
|
|
"podAffinity": {
|
|
"$ref": "v1.PodAffinity",
|
|
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."
|
|
},
|
|
"podAntiAffinity": {
|
|
"$ref": "v1.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))."
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeAffinity": {
|
|
"id": "v1.NodeAffinity",
|
|
"description": "Node affinity is a group of node affinity scheduling rules.",
|
|
"properties": {
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"$ref": "v1.NodeSelector",
|
|
"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."
|
|
},
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.PreferredSchedulingTerm"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelector": {
|
|
"id": "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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.NodeSelectorTerm"
|
|
},
|
|
"description": "Required. A list of node selector terms. The terms are ORed."
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelectorTerm": {
|
|
"id": "v1.NodeSelectorTerm",
|
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
|
|
"properties": {
|
|
"matchExpressions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.NodeSelectorRequirement"
|
|
},
|
|
"description": "A list of node selector requirements by node's labels."
|
|
},
|
|
"matchFields": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.NodeSelectorRequirement"
|
|
},
|
|
"description": "A list of node selector requirements by node's fields."
|
|
}
|
|
}
|
|
},
|
|
"v1.NodeSelectorRequirement": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"description": "The label key that the selector applies to."
|
|
},
|
|
"operator": {
|
|
"type": "string",
|
|
"description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."
|
|
},
|
|
"values": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.PreferredSchedulingTerm": {
|
|
"id": "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": {
|
|
"weight": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."
|
|
},
|
|
"preference": {
|
|
"$ref": "v1.NodeSelectorTerm",
|
|
"description": "A node selector term, associated with the corresponding weight."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAffinity": {
|
|
"id": "v1.PodAffinity",
|
|
"description": "Pod affinity is a group of inter pod affinity scheduling rules.",
|
|
"properties": {
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.PodAffinityTerm"
|
|
},
|
|
"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 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."
|
|
},
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.WeightedPodAffinityTerm"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAffinityTerm": {
|
|
"id": "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 matches that of any node on which a pod of the set of pods is running",
|
|
"required": [
|
|
"topologyKey"
|
|
],
|
|
"properties": {
|
|
"labelSelector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "A label query over a set of resources, in this case pods."
|
|
},
|
|
"namespaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\""
|
|
},
|
|
"topologyKey": {
|
|
"type": "string",
|
|
"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. Empty topologyKey is not allowed."
|
|
}
|
|
}
|
|
},
|
|
"v1.WeightedPodAffinityTerm": {
|
|
"id": "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": {
|
|
"weight": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."
|
|
},
|
|
"podAffinityTerm": {
|
|
"$ref": "v1.PodAffinityTerm",
|
|
"description": "Required. A pod affinity term, associated with the corresponding weight."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodAntiAffinity": {
|
|
"id": "v1.PodAntiAffinity",
|
|
"description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
|
|
"properties": {
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.PodAffinityTerm"
|
|
},
|
|
"description": "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."
|
|
},
|
|
"preferredDuringSchedulingIgnoredDuringExecution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.WeightedPodAffinityTerm"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1.Toleration": {
|
|
"id": "v1.Toleration",
|
|
"description": "The pod this Toleration is attached to tolerates any taint that matches the triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.",
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."
|
|
},
|
|
"operator": {
|
|
"type": "string",
|
|
"description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."
|
|
},
|
|
"effect": {
|
|
"type": "string",
|
|
"description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."
|
|
},
|
|
"tolerationSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."
|
|
}
|
|
}
|
|
},
|
|
"v1.HostAlias": {
|
|
"id": "v1.HostAlias",
|
|
"description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
|
|
"properties": {
|
|
"ip": {
|
|
"type": "string",
|
|
"description": "IP address of the host file entry."
|
|
},
|
|
"hostnames": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Hostnames for the above IP address."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodDNSConfig": {
|
|
"id": "v1.PodDNSConfig",
|
|
"description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.",
|
|
"properties": {
|
|
"nameservers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."
|
|
},
|
|
"searches": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."
|
|
},
|
|
"options": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.PodDNSConfigOption"
|
|
},
|
|
"description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."
|
|
}
|
|
}
|
|
},
|
|
"v1.PodDNSConfigOption": {
|
|
"id": "v1.PodDNSConfigOption",
|
|
"description": "PodDNSConfigOption defines DNS resolver options of a pod.",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Required."
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.PodReadinessGate": {
|
|
"id": "v1.PodReadinessGate",
|
|
"description": "PodReadinessGate contains the reference to a pod condition",
|
|
"required": [
|
|
"conditionType"
|
|
],
|
|
"properties": {
|
|
"conditionType": {
|
|
"type": "string",
|
|
"description": "ConditionType refers to a condition in the pod's condition list with matching type."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetUpdateStrategy": {
|
|
"id": "v1beta1.DaemonSetUpdateStrategy",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete."
|
|
},
|
|
"rollingUpdate": {
|
|
"$ref": "v1beta1.RollingUpdateDaemonSet",
|
|
"description": "Rolling update config params. Present only if type = \"RollingUpdate\"."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RollingUpdateDaemonSet": {
|
|
"id": "v1beta1.RollingUpdateDaemonSet",
|
|
"description": "Spec to control the desired behavior of daemon set rolling update.",
|
|
"properties": {
|
|
"maxUnavailable": {
|
|
"type": "string",
|
|
"description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetStatus": {
|
|
"id": "v1beta1.DaemonSetStatus",
|
|
"description": "DaemonSetStatus represents the current status of a daemon set.",
|
|
"required": [
|
|
"currentNumberScheduled",
|
|
"numberMisscheduled",
|
|
"desiredNumberScheduled",
|
|
"numberReady"
|
|
],
|
|
"properties": {
|
|
"currentNumberScheduled": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"
|
|
},
|
|
"numberMisscheduled": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"
|
|
},
|
|
"desiredNumberScheduled": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"
|
|
},
|
|
"numberReady": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."
|
|
},
|
|
"observedGeneration": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "The most recent generation observed by the daemon set controller."
|
|
},
|
|
"updatedNumberScheduled": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The total number of nodes that are running updated daemon pod"
|
|
},
|
|
"numberAvailable": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"
|
|
},
|
|
"numberUnavailable": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"
|
|
},
|
|
"collisionCount": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."
|
|
},
|
|
"conditions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.DaemonSetCondition"
|
|
},
|
|
"description": "Represents the latest available observations of a DaemonSet's current state."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DaemonSetCondition": {
|
|
"id": "v1beta1.DaemonSetCondition",
|
|
"description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type of DaemonSet condition."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the condition, one of True, False, Unknown."
|
|
},
|
|
"lastTransitionTime": {
|
|
"type": "string",
|
|
"description": "Last time the condition transitioned from one status to another."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the condition's last transition."
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A human readable message indicating details about the transition."
|
|
}
|
|
}
|
|
},
|
|
"v1.WatchEvent": {
|
|
"id": "v1.WatchEvent",
|
|
"required": [
|
|
"type",
|
|
"object"
|
|
],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"object": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1.Patch": {
|
|
"id": "v1.Patch",
|
|
"description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
|
|
"properties": {}
|
|
},
|
|
"v1.DeleteOptions": {
|
|
"id": "v1.DeleteOptions",
|
|
"description": "DeleteOptions may be provided when deleting an API object.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"gracePeriodSeconds": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"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."
|
|
},
|
|
"preconditions": {
|
|
"$ref": "v1.Preconditions",
|
|
"description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
|
|
},
|
|
"orphanDependents": {
|
|
"type": "boolean",
|
|
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both."
|
|
},
|
|
"propagationPolicy": {
|
|
"$ref": "v1.DeletionPropagation",
|
|
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."
|
|
}
|
|
}
|
|
},
|
|
"v1.Preconditions": {
|
|
"id": "v1.Preconditions",
|
|
"description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
|
|
"properties": {
|
|
"uid": {
|
|
"$ref": "types.UID",
|
|
"description": "Specifies the target UID."
|
|
}
|
|
}
|
|
},
|
|
"types.UID": {
|
|
"id": "types.UID",
|
|
"properties": {}
|
|
},
|
|
"v1.DeletionPropagation": {
|
|
"id": "v1.DeletionPropagation",
|
|
"properties": {}
|
|
},
|
|
"v1beta1.DeploymentList": {
|
|
"id": "v1beta1.DeploymentList",
|
|
"description": "DeploymentList is a list of Deployments.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata."
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.Deployment"
|
|
},
|
|
"description": "Items is the list of Deployments."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Deployment": {
|
|
"id": "v1beta1.Deployment",
|
|
"description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object metadata."
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.DeploymentSpec",
|
|
"description": "Specification of the desired behavior of the Deployment."
|
|
},
|
|
"status": {
|
|
"$ref": "v1beta1.DeploymentStatus",
|
|
"description": "Most recently observed status of the Deployment."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentSpec": {
|
|
"id": "v1beta1.DeploymentSpec",
|
|
"description": "DeploymentSpec is the specification of the desired behavior of the Deployment.",
|
|
"required": [
|
|
"template"
|
|
],
|
|
"properties": {
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."
|
|
},
|
|
"selector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment."
|
|
},
|
|
"template": {
|
|
"$ref": "v1.PodTemplateSpec",
|
|
"description": "Template describes the pods that will be created."
|
|
},
|
|
"strategy": {
|
|
"$ref": "v1beta1.DeploymentStrategy",
|
|
"description": "The deployment strategy to use to replace existing pods with new ones."
|
|
},
|
|
"minReadySeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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)"
|
|
},
|
|
"revisionHistoryLimit": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified."
|
|
},
|
|
"paused": {
|
|
"type": "boolean",
|
|
"description": "Indicates that the deployment is paused and will not be processed by the deployment controller."
|
|
},
|
|
"rollbackTo": {
|
|
"$ref": "v1beta1.RollbackConfig",
|
|
"description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done."
|
|
},
|
|
"progressDeadlineSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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. Note that progress will not be estimated during the time a deployment is paused. This is not set by default."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentStrategy": {
|
|
"id": "v1beta1.DeploymentStrategy",
|
|
"description": "DeploymentStrategy describes how to replace existing pods with new ones.",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate."
|
|
},
|
|
"rollingUpdate": {
|
|
"$ref": "v1beta1.RollingUpdateDeployment",
|
|
"description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RollingUpdateDeployment": {
|
|
"id": "v1beta1.RollingUpdateDeployment",
|
|
"description": "Spec to control the desired behavior of rolling update.",
|
|
"properties": {
|
|
"maxUnavailable": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"maxSurge": {
|
|
"type": "string",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RollbackConfig": {
|
|
"id": "v1beta1.RollbackConfig",
|
|
"description": "DEPRECATED.",
|
|
"properties": {
|
|
"revision": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentStatus": {
|
|
"id": "v1beta1.DeploymentStatus",
|
|
"description": "DeploymentStatus is the most recently observed status of the Deployment.",
|
|
"properties": {
|
|
"observedGeneration": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "The generation observed by the deployment controller."
|
|
},
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."
|
|
},
|
|
"updatedReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec."
|
|
},
|
|
"readyReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Total number of ready pods targeted by this deployment."
|
|
},
|
|
"availableReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."
|
|
},
|
|
"unavailableReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."
|
|
},
|
|
"conditions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.DeploymentCondition"
|
|
},
|
|
"description": "Represents the latest available observations of a deployment's current state."
|
|
},
|
|
"collisionCount": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentCondition": {
|
|
"id": "v1beta1.DeploymentCondition",
|
|
"description": "DeploymentCondition describes the state of a deployment at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type of deployment condition."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the condition, one of True, False, Unknown."
|
|
},
|
|
"lastUpdateTime": {
|
|
"type": "string",
|
|
"description": "The last time this condition was updated."
|
|
},
|
|
"lastTransitionTime": {
|
|
"type": "string",
|
|
"description": "Last time the condition transitioned from one status to another."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the condition's last transition."
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A human readable message indicating details about the transition."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.DeploymentRollback": {
|
|
"id": "v1beta1.DeploymentRollback",
|
|
"description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.",
|
|
"required": [
|
|
"name",
|
|
"rollbackTo"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Required: This must match the Name of a deployment."
|
|
},
|
|
"updatedAnnotations": {
|
|
"type": "object",
|
|
"description": "The annotations to be updated to a deployment"
|
|
},
|
|
"rollbackTo": {
|
|
"$ref": "v1beta1.RollbackConfig",
|
|
"description": "The config of this deployment rollback."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Scale": {
|
|
"id": "v1beta1.Scale",
|
|
"description": "represents a scaling request for a resource.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata."
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.ScaleSpec",
|
|
"description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status."
|
|
},
|
|
"status": {
|
|
"$ref": "v1beta1.ScaleStatus",
|
|
"description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ScaleSpec": {
|
|
"id": "v1beta1.ScaleSpec",
|
|
"description": "describes the attributes of a scale subresource",
|
|
"properties": {
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "desired number of instances for the scaled object."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ScaleStatus": {
|
|
"id": "v1beta1.ScaleStatus",
|
|
"description": "represents the current status of a scale subresource.",
|
|
"required": [
|
|
"replicas"
|
|
],
|
|
"properties": {
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "actual number of observed instances of the scaled object."
|
|
},
|
|
"selector": {
|
|
"type": "object",
|
|
"description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors"
|
|
},
|
|
"targetSelector": {
|
|
"type": "string",
|
|
"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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressList": {
|
|
"id": "v1beta1.IngressList",
|
|
"description": "IngressList is a collection of Ingress.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.Ingress"
|
|
},
|
|
"description": "Items is the list of Ingress."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.Ingress": {
|
|
"id": "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": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.IngressSpec",
|
|
"description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
},
|
|
"status": {
|
|
"$ref": "v1beta1.IngressStatus",
|
|
"description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressSpec": {
|
|
"id": "v1beta1.IngressSpec",
|
|
"description": "IngressSpec describes the Ingress the user wishes to exist.",
|
|
"properties": {
|
|
"backend": {
|
|
"$ref": "v1beta1.IngressBackend",
|
|
"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."
|
|
},
|
|
"tls": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.IngressTLS"
|
|
},
|
|
"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."
|
|
},
|
|
"rules": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.IngressRule"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressBackend": {
|
|
"id": "v1beta1.IngressBackend",
|
|
"description": "IngressBackend describes all endpoints for a given service and port.",
|
|
"required": [
|
|
"serviceName",
|
|
"servicePort"
|
|
],
|
|
"properties": {
|
|
"serviceName": {
|
|
"type": "string",
|
|
"description": "Specifies the name of the referenced service."
|
|
},
|
|
"servicePort": {
|
|
"type": "string",
|
|
"description": "Specifies the port of the referenced service."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressTLS": {
|
|
"id": "v1beta1.IngressTLS",
|
|
"description": "IngressTLS describes the transport layer security associated with an Ingress.",
|
|
"properties": {
|
|
"hosts": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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."
|
|
},
|
|
"secretName": {
|
|
"type": "string",
|
|
"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."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressRule": {
|
|
"id": "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": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"http": {
|
|
"$ref": "v1beta1.HTTPIngressRuleValue"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.HTTPIngressRuleValue": {
|
|
"id": "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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.HTTPIngressPath"
|
|
},
|
|
"description": "A collection of paths that map requests to backends."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.HTTPIngressPath": {
|
|
"id": "v1beta1.HTTPIngressPath",
|
|
"description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.",
|
|
"required": [
|
|
"backend"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"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."
|
|
},
|
|
"backend": {
|
|
"$ref": "v1beta1.IngressBackend",
|
|
"description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IngressStatus": {
|
|
"id": "v1beta1.IngressStatus",
|
|
"description": "IngressStatus describe the current state of the Ingress.",
|
|
"properties": {
|
|
"loadBalancer": {
|
|
"$ref": "v1.LoadBalancerStatus",
|
|
"description": "LoadBalancer contains the current status of the load-balancer."
|
|
}
|
|
}
|
|
},
|
|
"v1.LoadBalancerStatus": {
|
|
"id": "v1.LoadBalancerStatus",
|
|
"description": "LoadBalancerStatus represents the status of a load-balancer.",
|
|
"properties": {
|
|
"ingress": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.LoadBalancerIngress"
|
|
},
|
|
"description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."
|
|
}
|
|
}
|
|
},
|
|
"v1.LoadBalancerIngress": {
|
|
"id": "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": {
|
|
"ip": {
|
|
"type": "string",
|
|
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"
|
|
},
|
|
"hostname": {
|
|
"type": "string",
|
|
"description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicyList": {
|
|
"id": "v1beta1.NetworkPolicyList",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicy"
|
|
},
|
|
"description": "Items is a list of schema objects."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicy": {
|
|
"id": "v1beta1.NetworkPolicy",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.NetworkPolicySpec",
|
|
"description": "Specification of the desired behavior for this NetworkPolicy."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicySpec": {
|
|
"id": "v1beta1.NetworkPolicySpec",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.",
|
|
"required": [
|
|
"podSelector"
|
|
],
|
|
"properties": {
|
|
"podSelector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."
|
|
},
|
|
"ingress": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyIngressRule"
|
|
},
|
|
"description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)."
|
|
},
|
|
"egress": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyEgressRule"
|
|
},
|
|
"description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"
|
|
},
|
|
"policyTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.PolicyType"
|
|
},
|
|
"description": "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicyIngressRule": {
|
|
"id": "v1beta1.NetworkPolicyIngressRule",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.",
|
|
"properties": {
|
|
"ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyPort"
|
|
},
|
|
"description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."
|
|
},
|
|
"from": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyPeer"
|
|
},
|
|
"description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicyPort": {
|
|
"id": "v1beta1.NetworkPolicyPort",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.",
|
|
"properties": {
|
|
"protocol": {
|
|
"$ref": "v1.Protocol",
|
|
"description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP."
|
|
},
|
|
"port": {
|
|
"type": "string",
|
|
"description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched."
|
|
}
|
|
}
|
|
},
|
|
"v1.Protocol": {
|
|
"id": "v1.Protocol",
|
|
"properties": {}
|
|
},
|
|
"v1beta1.NetworkPolicyPeer": {
|
|
"id": "v1beta1.NetworkPolicyPeer",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.",
|
|
"properties": {
|
|
"podSelector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace."
|
|
},
|
|
"namespaceSelector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector."
|
|
},
|
|
"ipBlock": {
|
|
"$ref": "v1beta1.IPBlock",
|
|
"description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IPBlock": {
|
|
"id": "v1beta1.IPBlock",
|
|
"description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
|
|
"required": [
|
|
"cidr"
|
|
],
|
|
"properties": {
|
|
"cidr": {
|
|
"type": "string",
|
|
"description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\""
|
|
},
|
|
"except": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.NetworkPolicyEgressRule": {
|
|
"id": "v1beta1.NetworkPolicyEgressRule",
|
|
"description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8",
|
|
"properties": {
|
|
"ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyPort"
|
|
},
|
|
"description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."
|
|
},
|
|
"to": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.NetworkPolicyPeer"
|
|
},
|
|
"description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.PolicyType": {
|
|
"id": "v1beta1.PolicyType",
|
|
"properties": {}
|
|
},
|
|
"v1beta1.PodSecurityPolicyList": {
|
|
"id": "v1beta1.PodSecurityPolicyList",
|
|
"description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.PodSecurityPolicy"
|
|
},
|
|
"description": "items is a list of schema objects."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.PodSecurityPolicy": {
|
|
"id": "v1beta1.PodSecurityPolicy",
|
|
"description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.PodSecurityPolicySpec",
|
|
"description": "spec defines the policy enforced."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.PodSecurityPolicySpec": {
|
|
"id": "v1beta1.PodSecurityPolicySpec",
|
|
"description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.",
|
|
"required": [
|
|
"seLinux",
|
|
"runAsUser",
|
|
"supplementalGroups",
|
|
"fsGroup"
|
|
],
|
|
"properties": {
|
|
"privileged": {
|
|
"type": "boolean",
|
|
"description": "privileged determines if a pod can request to be run as privileged."
|
|
},
|
|
"defaultAddCapabilities": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Capability"
|
|
},
|
|
"description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."
|
|
},
|
|
"requiredDropCapabilities": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Capability"
|
|
},
|
|
"description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."
|
|
},
|
|
"allowedCapabilities": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.Capability"
|
|
},
|
|
"description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."
|
|
},
|
|
"volumes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.FSType"
|
|
},
|
|
"description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."
|
|
},
|
|
"hostNetwork": {
|
|
"type": "boolean",
|
|
"description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."
|
|
},
|
|
"hostPorts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.HostPortRange"
|
|
},
|
|
"description": "hostPorts determines which host port ranges are allowed to be exposed."
|
|
},
|
|
"hostPID": {
|
|
"type": "boolean",
|
|
"description": "hostPID determines if the policy allows the use of HostPID in the pod spec."
|
|
},
|
|
"hostIPC": {
|
|
"type": "boolean",
|
|
"description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec."
|
|
},
|
|
"seLinux": {
|
|
"$ref": "v1beta1.SELinuxStrategyOptions",
|
|
"description": "seLinux is the strategy that will dictate the allowable labels that may be set."
|
|
},
|
|
"runAsUser": {
|
|
"$ref": "v1beta1.RunAsUserStrategyOptions",
|
|
"description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."
|
|
},
|
|
"supplementalGroups": {
|
|
"$ref": "v1beta1.SupplementalGroupsStrategyOptions",
|
|
"description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."
|
|
},
|
|
"fsGroup": {
|
|
"$ref": "v1beta1.FSGroupStrategyOptions",
|
|
"description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."
|
|
},
|
|
"readOnlyRootFilesystem": {
|
|
"type": "boolean",
|
|
"description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."
|
|
},
|
|
"defaultAllowPrivilegeEscalation": {
|
|
"type": "boolean",
|
|
"description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."
|
|
},
|
|
"allowPrivilegeEscalation": {
|
|
"type": "boolean",
|
|
"description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."
|
|
},
|
|
"allowedHostPaths": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.AllowedHostPath"
|
|
},
|
|
"description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used."
|
|
},
|
|
"allowedFlexVolumes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.AllowedFlexVolume"
|
|
},
|
|
"description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field."
|
|
},
|
|
"allowedUnsafeSysctls": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc."
|
|
},
|
|
"forbiddenSysctls": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.FSType": {
|
|
"id": "v1beta1.FSType",
|
|
"properties": {}
|
|
},
|
|
"v1beta1.HostPortRange": {
|
|
"id": "v1beta1.HostPortRange",
|
|
"description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.",
|
|
"required": [
|
|
"min",
|
|
"max"
|
|
],
|
|
"properties": {
|
|
"min": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "min is the start of the range, inclusive."
|
|
},
|
|
"max": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "max is the end of the range, inclusive."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.SELinuxStrategyOptions": {
|
|
"id": "v1beta1.SELinuxStrategyOptions",
|
|
"description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.",
|
|
"required": [
|
|
"rule"
|
|
],
|
|
"properties": {
|
|
"rule": {
|
|
"type": "string",
|
|
"description": "rule is the strategy that will dictate the allowable labels that may be set."
|
|
},
|
|
"seLinuxOptions": {
|
|
"$ref": "v1.SELinuxOptions",
|
|
"description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.RunAsUserStrategyOptions": {
|
|
"id": "v1beta1.RunAsUserStrategyOptions",
|
|
"description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.",
|
|
"required": [
|
|
"rule"
|
|
],
|
|
"properties": {
|
|
"rule": {
|
|
"type": "string",
|
|
"description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set."
|
|
},
|
|
"ranges": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.IDRange"
|
|
},
|
|
"description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.IDRange": {
|
|
"id": "v1beta1.IDRange",
|
|
"description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.",
|
|
"required": [
|
|
"min",
|
|
"max"
|
|
],
|
|
"properties": {
|
|
"min": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "min is the start of the range, inclusive."
|
|
},
|
|
"max": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "max is the end of the range, inclusive."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.SupplementalGroupsStrategyOptions": {
|
|
"id": "v1beta1.SupplementalGroupsStrategyOptions",
|
|
"description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.",
|
|
"properties": {
|
|
"rule": {
|
|
"type": "string",
|
|
"description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."
|
|
},
|
|
"ranges": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.IDRange"
|
|
},
|
|
"description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.FSGroupStrategyOptions": {
|
|
"id": "v1beta1.FSGroupStrategyOptions",
|
|
"description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.",
|
|
"properties": {
|
|
"rule": {
|
|
"type": "string",
|
|
"description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."
|
|
},
|
|
"ranges": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.IDRange"
|
|
},
|
|
"description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.AllowedHostPath": {
|
|
"id": "v1beta1.AllowedHostPath",
|
|
"description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.",
|
|
"properties": {
|
|
"pathPrefix": {
|
|
"type": "string",
|
|
"description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`"
|
|
},
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.AllowedFlexVolume": {
|
|
"id": "v1beta1.AllowedFlexVolume",
|
|
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.",
|
|
"required": [
|
|
"driver"
|
|
],
|
|
"properties": {
|
|
"driver": {
|
|
"type": "string",
|
|
"description": "driver is the name of the Flexvolume driver."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetList": {
|
|
"id": "v1beta1.ReplicaSetList",
|
|
"description": "ReplicaSetList is a collection of ReplicaSets.",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ListMeta",
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.ReplicaSet"
|
|
},
|
|
"description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSet": {
|
|
"id": "v1beta1.ReplicaSet",
|
|
"description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"metadata": {
|
|
"$ref": "v1.ObjectMeta",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
|
|
},
|
|
"spec": {
|
|
"$ref": "v1beta1.ReplicaSetSpec",
|
|
"description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
},
|
|
"status": {
|
|
"$ref": "v1beta1.ReplicaSetStatus",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetSpec": {
|
|
"id": "v1beta1.ReplicaSetSpec",
|
|
"description": "ReplicaSetSpec is the specification of a ReplicaSet.",
|
|
"properties": {
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"
|
|
},
|
|
"minReadySeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"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)"
|
|
},
|
|
"selector": {
|
|
"$ref": "v1.LabelSelector",
|
|
"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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
|
},
|
|
"template": {
|
|
"$ref": "v1.PodTemplateSpec",
|
|
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetStatus": {
|
|
"id": "v1beta1.ReplicaSetStatus",
|
|
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
|
|
"required": [
|
|
"replicas"
|
|
],
|
|
"properties": {
|
|
"replicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"
|
|
},
|
|
"fullyLabeledReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset."
|
|
},
|
|
"readyReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of ready replicas for this replica set."
|
|
},
|
|
"availableReplicas": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The number of available replicas (ready for at least minReadySeconds) for this replica set."
|
|
},
|
|
"observedGeneration": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."
|
|
},
|
|
"conditions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1beta1.ReplicaSetCondition"
|
|
},
|
|
"description": "Represents the latest available observations of a replica set's current state."
|
|
}
|
|
}
|
|
},
|
|
"v1beta1.ReplicaSetCondition": {
|
|
"id": "v1beta1.ReplicaSetCondition",
|
|
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Type of replica set condition."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the condition, one of True, False, Unknown."
|
|
},
|
|
"lastTransitionTime": {
|
|
"type": "string",
|
|
"description": "The last time the condition transitioned from one status to another."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the condition's last transition."
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A human readable message indicating details about the transition."
|
|
}
|
|
}
|
|
},
|
|
"v1.APIResourceList": {
|
|
"id": "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": {
|
|
"kind": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
|
|
},
|
|
"apiVersion": {
|
|
"type": "string",
|
|
"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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
|
|
},
|
|
"groupVersion": {
|
|
"type": "string",
|
|
"description": "groupVersion is the group and version this APIResourceList is for."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "v1.APIResource"
|
|
},
|
|
"description": "resources contains the name of the resources and if they are namespaced."
|
|
}
|
|
}
|
|
},
|
|
"v1.APIResource": {
|
|
"id": "v1.APIResource",
|
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
"required": [
|
|
"name",
|
|
"singularName",
|
|
"namespaced",
|
|
"kind",
|
|
"verbs"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "name is the plural name of the resource."
|
|
},
|
|
"singularName": {
|
|
"type": "string",
|
|
"description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."
|
|
},
|
|
"namespaced": {
|
|
"type": "boolean",
|
|
"description": "namespaced indicates if a resource is namespaced or not."
|
|
},
|
|
"group": {
|
|
"type": "string",
|
|
"description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\"."
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\"."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"
|
|
},
|
|
"verbs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"
|
|
},
|
|
"shortNames": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "shortNames is a list of suggested short names of the resource."
|
|
},
|
|
"categories": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|