diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index cef4299e613..08c608ec158 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -4742,21 +4742,40 @@ } ] }, + { + "path": "/api/v1beta1/pods/{name}/exec", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta1/pods/{name}/log", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.PodLogOptions", + "type": "v1beta1.Pod", "method": "GET", - "summary": "read the specified PodLogOptions", - "nickname": "readPodLogOptions", + "summary": "read the specified Pod", + "nickname": "readPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the PodLogOptions", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -4773,7 +4792,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1beta1.PodLogOptions" + "responseModel": "v1beta1.Pod" } ], "produces": [ @@ -4785,6 +4804,193 @@ } ] }, + { + "path": "/api/v1beta1/pods/{name}/portforward", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/pods/{name}/proxy", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/pods/{name}/proxy/{path:*}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta1/pods/{name}/status", "description": "API at /api/v1beta1 version v1beta1", @@ -6914,6 +7120,31 @@ "id": "", "properties": null }, + "v1beta1.AWSElasticBlockStoreVolumeSource": { + "id": "v1beta1.AWSElasticBlockStoreVolumeSource", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "type": "string", + "description": "file system type to mount, such as ext4, xfs, ntfs" + }, + "partition": { + "type": "integer", + "format": "int32", + "description": "partition on the disk to mount (e.g., '1' for /dev/sda1); if omitted the plain device name (e.g., /dev/sda) will be mounted" + }, + "readOnly": { + "type": "boolean", + "description": "read-only if true, read-write otherwise (false or unspecified)" + }, + "volumeID": { + "type": "string", + "description": "unique id of the PD resource in AWS" + } + } + }, "v1beta1.AccessModeType": { "id": "v1beta1.AccessModeType", "properties": {} @@ -8668,6 +8899,19 @@ } } }, + "v1beta1.PersistentVolumeClaimVolumeSource": { + "id": "v1beta1.PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": "string", + "description": "the name of the claim in the same namespace to be mounted as a volume" + }, + "readOnly": { + "type": "boolean", + "description": "mount volume as read-only when true; default false" + } + } + }, "v1beta1.PersistentVolumeList": { "id": "v1beta1.PersistentVolumeList", "properties": { @@ -8727,9 +8971,10 @@ "v1beta1.PersistentVolumeSpec": { "id": "v1beta1.PersistentVolumeSpec", "required": [ - "persistentDisk", "hostPath", - "glusterfs" + "glusterfs", + "persistentDisk", + "awsElasticBlockStore" ], "properties": { "accessModes": { @@ -8739,6 +8984,10 @@ }, "description": "all ways the volume can be mounted" }, + "awsElasticBlockStore": { + "$ref": "v1beta1.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource provisioned by an admin" + }, "capacity": { "type": "any", "description": "a description of the persistent volume's resources and capacity" @@ -8911,63 +9160,6 @@ } } }, - "v1beta1.PodLogOptions": { - "id": "v1beta1.PodLogOptions", - "properties": { - "annotations": { - "type": "any", - "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" - }, - "apiVersion": { - "type": "string", - "description": "version of the schema the object should have" - }, - "container": { - "type": "string", - "description": "the container for which to stream logs; defaults to only container if there is one container in the pod" - }, - "creationTimestamp": { - "type": "string", - "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" - }, - "deletionTimestamp": { - "type": "string", - "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" - }, - "follow": { - "type": "boolean", - "description": "follow the log stream of the pod; defaults to false" - }, - "generateName": { - "type": "string", - "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" - }, - "id": { - "type": "string", - "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" - }, - "kind": { - "type": "string", - "description": "kind of object, in CamelCase; cannot be updated" - }, - "namespace": { - "type": "string", - "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" - }, - "resourceVersion": { - "$ref": "uint64", - "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" - }, - "selfLink": { - "type": "string", - "description": "URL for the object; populated by the system, read-only" - }, - "uid": { - "type": "string", - "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" - } - } - }, "v1beta1.PodState": { "id": "v1beta1.PodState", "properties": { @@ -9812,7 +10004,7 @@ }, "source": { "$ref": "v1beta1.VolumeSource", - "description": "location and type of volume to mount; at most one of HostDir, EmptyDir, GCEPersistentDisk, or GitRepo; default is EmptyDir" + "description": "location and type of volume to mount; at most one of HostDir, EmptyDir, GCEPersistentDisk, AWSElasticBlockStore, or GitRepo; default is EmptyDir" } } }, @@ -9851,6 +10043,7 @@ "hostDir", "emptyDir", "persistentDisk", + "awsElasticBlockStore", "gitRepo", "secret", "nfs", @@ -9858,6 +10051,10 @@ "glusterfs" ], "properties": { + "awsElasticBlockStore": { + "$ref": "v1beta1.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource attached to the host machine on demand" + }, "emptyDir": { "$ref": "v1beta1.EmptyDirVolumeSource", "description": "temporary directory that shares a pod's lifetime" @@ -9886,6 +10083,10 @@ "$ref": "v1beta1.GCEPersistentDiskVolumeSource", "description": "GCE disk resource attached to the host machine on demand" }, + "persistentVolumeClaim": { + "$ref": "v1beta1.PersistentVolumeClaimVolumeSource", + "description": "a reference to a PersistentVolumeClaim in the same namespace" + }, "secret": { "$ref": "v1beta1.SecretVolumeSource", "description": "secret to populate volume with" diff --git a/api/swagger-spec/v1beta2.json b/api/swagger-spec/v1beta2.json index 56625e84621..58a626423da 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -4742,21 +4742,40 @@ } ] }, + { + "path": "/api/v1beta2/pods/{name}/exec", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta2/pods/{name}/log", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.PodLogOptions", + "type": "v1beta2.Pod", "method": "GET", - "summary": "read the specified PodLogOptions", - "nickname": "readPodLogOptions", + "summary": "read the specified Pod", + "nickname": "readPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the PodLogOptions", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -4773,7 +4792,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1beta2.PodLogOptions" + "responseModel": "v1beta2.Pod" } ], "produces": [ @@ -4785,6 +4804,193 @@ } ] }, + { + "path": "/api/v1beta2/pods/{name}/portforward", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/pods/{name}/proxy", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/pods/{name}/proxy/{path:*}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta2/pods/{name}/status", "description": "API at /api/v1beta2 version v1beta2", @@ -6914,6 +7120,31 @@ "id": "", "properties": null }, + "v1beta2.AWSElasticBlockStoreVolumeSource": { + "id": "v1beta2.AWSElasticBlockStoreVolumeSource", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "type": "string", + "description": "file system type to mount, such as ext4, xfs, ntfs" + }, + "partition": { + "type": "integer", + "format": "int32", + "description": "partition on the disk to mount (e.g., '1' for /dev/sda1); if omitted the plain device name (e.g., /dev/sda) will be mounted" + }, + "readOnly": { + "type": "boolean", + "description": "read-only if true, read-write otherwise (false or unspecified)" + }, + "volumeID": { + "type": "string", + "description": "unique id of the PD resource in AWS" + } + } + }, "v1beta2.AccessModeType": { "id": "v1beta2.AccessModeType", "properties": {} @@ -8657,6 +8888,19 @@ } } }, + "v1beta2.PersistentVolumeClaimVolumeSource": { + "id": "v1beta2.PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": "string", + "description": "the name of the claim in the same namespace to be mounted as a volume" + }, + "readOnly": { + "type": "boolean", + "description": "mount volume as read-only when true; default false" + } + } + }, "v1beta2.PersistentVolumeList": { "id": "v1beta2.PersistentVolumeList", "properties": { @@ -8717,6 +8961,7 @@ "id": "v1beta2.PersistentVolumeSpec", "required": [ "persistentDisk", + "awsElasticBlockStore", "hostPath", "glusterfs" ], @@ -8728,6 +8973,10 @@ }, "description": "all ways the volume can be mounted" }, + "awsElasticBlockStore": { + "$ref": "v1beta2.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource provisioned by an admin" + }, "capacity": { "type": "any", "description": "a description of the persistent volume's resources and capacity" @@ -8900,63 +9149,6 @@ } } }, - "v1beta2.PodLogOptions": { - "id": "v1beta2.PodLogOptions", - "properties": { - "annotations": { - "type": "any", - "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" - }, - "apiVersion": { - "type": "string", - "description": "version of the schema the object should have" - }, - "container": { - "type": "string", - "description": "the container for which to stream logs; defaults to only container if there is one container in the pod" - }, - "creationTimestamp": { - "type": "string", - "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" - }, - "deletionTimestamp": { - "type": "string", - "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" - }, - "follow": { - "type": "boolean", - "description": "follow the log stream of the pod; defaults to false" - }, - "generateName": { - "type": "string", - "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" - }, - "id": { - "type": "string", - "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" - }, - "kind": { - "type": "string", - "description": "kind of object, in CamelCase; cannot be updated" - }, - "namespace": { - "type": "string", - "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" - }, - "resourceVersion": { - "$ref": "uint64", - "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" - }, - "selfLink": { - "type": "string", - "description": "URL for the object; populated by the system, read-only" - }, - "uid": { - "type": "string", - "description": "unique UUID across space and time; populated by the system, read-only" - } - } - }, "v1beta2.PodState": { "id": "v1beta2.PodState", "properties": { @@ -9801,7 +9993,7 @@ }, "source": { "$ref": "v1beta2.VolumeSource", - "description": "location and type of volume to mount; at most one of HostDir, EmptyDir, GCEPersistentDisk, or GitRepo; default is EmptyDir" + "description": "location and type of volume to mount; at most one of HostDir, EmptyDir, GCEPersistentDisk, AWSElasticBlockStore, or GitRepo; default is EmptyDir" } } }, @@ -9832,6 +10024,7 @@ "hostDir", "emptyDir", "persistentDisk", + "awsElasticBlockStore", "gitRepo", "secret", "nfs", @@ -9839,6 +10032,10 @@ "glusterfs" ], "properties": { + "awsElasticBlockStore": { + "$ref": "v1beta2.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource attached to the host machine on demand" + }, "emptyDir": { "$ref": "v1beta2.EmptyDirVolumeSource", "description": "temporary directory that shares a pod's lifetime" @@ -9867,6 +10064,10 @@ "$ref": "v1beta2.GCEPersistentDiskVolumeSource", "description": "GCE disk resource attached to the host machine on demand" }, + "persistentVolumeClaim": { + "$ref": "v1beta2.PersistentVolumeClaimVolumeSource", + "description": "a reference to a PersistentVolumeClaim in the same namespace" + }, "secret": { "$ref": "v1beta2.SecretVolumeSource", "description": "secret to populate volume" diff --git a/api/swagger-spec/v1beta3.json b/api/swagger-spec/v1beta3.json index b989fcf0a0c..332703f42cf 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -4722,21 +4722,40 @@ } ] }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/exec", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/log", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.PodLogOptions", + "type": "v1beta3.Pod", "method": "GET", - "summary": "read the specified PodLogOptions", - "nickname": "readPodLogOptions", + "summary": "read the specified Pod", + "nickname": "readPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the PodLogOptions", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -4753,7 +4772,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1beta3.PodLogOptions" + "responseModel": "v1beta3.Pod" } ], "produces": [ @@ -4765,6 +4784,193 @@ } ] }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/portforward", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/proxy", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/proxy/{path:*}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "string", + "method": "GET", + "summary": "connect GET requests to Pod", + "nickname": "connectGETPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "POST", + "summary": "connect POST requests to Pod", + "nickname": "connectPOSTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "PUT", + "summary": "connect PUT requests to Pod", + "nickname": "connectPUTPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "DELETE", + "summary": "connect DELETE requests to Pod", + "nickname": "connectDELETEPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "HEAD", + "summary": "connect HEAD requests to Pod", + "nickname": "connectHEADPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "string", + "method": "OPTIONS", + "summary": "connect OPTIONS requests to Pod", + "nickname": "connectOPTIONSPod", + "parameters": [], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/status", "description": "API at /api/v1beta3 version v1beta3", @@ -4816,6 +5022,550 @@ } ] }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/podtemplates", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodTemplateList", + "method": "GET", + "summary": "list or watch objects of kind PodTemplate", + "nickname": "listPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "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": "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": "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", + "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 + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodTemplateList" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta3.PodTemplate", + "method": "POST", + "summary": "create a PodTemplate", + "nickname": "createPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.PodTemplate", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodTemplate" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/podtemplates", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch individual changes to a list of PodTemplate", + "nickname": "watchPodTemplatelist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "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": "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": "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", + "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 + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/podtemplates/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodTemplate", + "method": "GET", + "summary": "read the specified PodTemplate", + "nickname": "readPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PodTemplate", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodTemplate" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta3.PodTemplate", + "method": "PUT", + "summary": "replace the specified PodTemplate", + "nickname": "replacePodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PodTemplate", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.PodTemplate", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodTemplate" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta3.PodTemplate", + "method": "PATCH", + "summary": "partially update the specified PodTemplate", + "nickname": "patchPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PodTemplate", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ] + }, + { + "type": "v1beta3.Status", + "method": "DELETE", + "summary": "delete a PodTemplate", + "nickname": "deletePodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PodTemplate", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/podtemplates/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch changes to an object of kind PodTemplate", + "nickname": "watchPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PodTemplate", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "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": "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": "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", + "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 + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/podtemplates", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodTemplateList", + "method": "GET", + "summary": "list or watch objects of kind PodTemplate", + "nickname": "listPodTemplate", + "parameters": [ + { + "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": "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": "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", + "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 + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodTemplateList" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/podtemplates", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch individual changes to a list of PodTemplate", + "nickname": "watchPodTemplatelist", + "parameters": [ + { + "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": "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": "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", + "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 + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers", "description": "API at /api/v1beta3 version v1beta3", @@ -7362,6 +8112,31 @@ } } }, + "v1beta3.AWSElasticBlockStoreVolumeSource": { + "id": "v1beta3.AWSElasticBlockStoreVolumeSource", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "type": "string", + "description": "file system type to mount, such as ext4, xfs, ntfs" + }, + "partition": { + "type": "integer", + "format": "int32", + "description": "partition on the disk to mount (e.g., '1' for /dev/sda1); if omitted the plain device name (e.g., /dev/sda) will be mounted" + }, + "readOnly": { + "type": "boolean", + "description": "read-only if true, read-write otherwise (false or unspecified)" + }, + "volumeID": { + "type": "string", + "description": "unique id of the PD resource in AWS" + } + } + }, "v1beta3.AccessModeType": { "id": "v1beta3.AccessModeType", "properties": {} @@ -8885,6 +9660,19 @@ } } }, + "v1beta3.PersistentVolumeClaimVolumeSource": { + "id": "v1beta3.PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": "string", + "description": "the name of the claim in the same namespace to be mounted as a volume" + }, + "readOnly": { + "type": "boolean", + "description": "mount volume as read-only when true; default false" + } + } + }, "v1beta3.PersistentVolumeList": { "id": "v1beta3.PersistentVolumeList", "properties": { @@ -8917,6 +9705,7 @@ "id": "v1beta3.PersistentVolumeSpec", "required": [ "gcePersistentDisk", + "awsElasticBlockStore", "hostPath", "glusterfs" ], @@ -8928,6 +9717,10 @@ }, "description": "all ways the volume can be mounted" }, + "awsElasticBlockStore": { + "$ref": "v1beta3.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource provisioned by an admin" + }, "capacity": { "type": "any", "description": "a description of the persistent volume's resources and capacity" @@ -9068,27 +9861,6 @@ } } }, - "v1beta3.PodLogOptions": { - "id": "v1beta3.PodLogOptions", - "properties": { - "apiVersion": { - "type": "string", - "description": "version of the schema the object should have" - }, - "container": { - "type": "string", - "description": "the container for which to stream logs; defaults to only container if there is one container in the pod" - }, - "follow": { - "type": "boolean", - "description": "follow the log stream of the pod; defaults to false" - }, - "kind": { - "type": "string", - "description": "kind of object, in CamelCase; cannot be updated" - } - } - }, "v1beta3.PodSpec": { "id": "v1beta3.PodSpec", "required": [ @@ -9167,6 +9939,94 @@ } } }, + "v1beta3.PodTemplate": { + "id": "v1beta3.PodTemplate", + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" + }, + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "labels": { + "type": "any", + "description": "map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services" + }, + "name": { + "type": "string", + "description": "string that identifies an object. Must be unique within a namespace; cannot be updated" + }, + "namespace": { + "type": "string", + "description": "namespace of the object; cannot be updated" + }, + "resourceVersion": { + "type": "string", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "template": { + "$ref": "v1beta3.PodTemplateSpec", + "description": "the template of the desired behavior of the pod; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system; read-only" + } + } + }, + "v1beta3.PodTemplateList": { + "id": "v1beta3.PodTemplateList", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "items": { + "type": "array", + "items": { + "$ref": "v1beta3.PodTemplate" + }, + "description": "list of pod templates" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "resourceVersion": { + "type": "string", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + } + } + }, "v1beta3.PodTemplateSpec": { "id": "v1beta3.PodTemplateSpec", "properties": { @@ -9348,7 +10208,7 @@ }, "selector": { "type": "any", - "description": "label keys and values that must match in order to be controlled by this replication controller" + "description": "label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template" }, "template": { "$ref": "v1beta3.PodTemplateSpec", @@ -9864,16 +10724,21 @@ "id": "v1beta3.Volume", "required": [ "name", - "gcePersistentDisk", - "gitRepo", + "emptyDir", "secret", - "nfs", - "iscsi", "glusterfs", "hostPath", - "emptyDir" + "awsElasticBlockStore", + "gitRepo", + "nfs", + "iscsi", + "gcePersistentDisk" ], "properties": { + "awsElasticBlockStore": { + "$ref": "v1beta3.AWSElasticBlockStoreVolumeSource", + "description": "AWS disk resource attached to the host machine on demand" + }, "emptyDir": { "$ref": "v1beta3.EmptyDirVolumeSource", "description": "temporary directory that shares a pod's lifetime" @@ -9906,6 +10771,10 @@ "$ref": "v1beta3.NFSVolumeSource", "description": "NFS volume that will be mounted in the host machine" }, + "persistentVolumeClaim": { + "$ref": "v1beta3.PersistentVolumeClaimVolumeSource", + "description": "a reference to a PersistentVolumeClaim in the same namespace" + }, "secret": { "$ref": "v1beta3.SecretVolumeSource", "description": "secret to populate volume"