diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index 3d2b701bade..1e101c542eb 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -235,6 +235,44 @@ "consumes": [ "*/*" ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Endpoints", + "nickname": "deleteEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -961,6 +999,14 @@ "description": "name of the Node", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1375,6 +1421,14 @@ "description": "name of the Namespace", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1414,6 +1468,78 @@ } ] }, + { + "path": "/api/v1beta1/namespaces/{name}/finalize", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/namespaces/{name}/status", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta1/nodes", "description": "API at /api/v1beta1 version v1beta1", @@ -1573,6 +1699,14 @@ "description": "name of the Node", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2045,6 +2179,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2677,6 +2819,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2941,6 +3091,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -3850,6 +4008,10 @@ } ], "models": { + "*v1beta1.DeleteOptions": { + "id": "*v1beta1.DeleteOptions", + "properties": {} + }, "v1beta1.Binding": { "id": "v1beta1.Binding", "required": [ @@ -3869,6 +4031,10 @@ "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" @@ -4042,6 +4208,10 @@ "type": "v1beta1.DNSPolicy", "description": "DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'" }, + "hostNetwork": { + "type": "boolean", + "description": "host networking requested for this pod" + }, "id": { "type": "string", "description": "manifest name; must be a DNS_SUBDOMAIN; cannot be updated" @@ -4167,6 +4337,10 @@ "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" + }, "endpoints": { "type": "array", "items": { @@ -4233,6 +4407,10 @@ "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" @@ -4310,6 +4488,10 @@ "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" + }, "firstTimestamp": { "type": "string", "description": "the time at which the event was first recorded" @@ -4394,6 +4576,10 @@ "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" @@ -4443,6 +4629,10 @@ } } }, + "v1beta1.FinalizerName": { + "id": "v1beta1.FinalizerName", + "properties": {} + }, "v1beta1.GCEPersistentDiskVolumeSource": { "id": "v1beta1.GCEPersistentDiskVolumeSource", "required": [ @@ -4559,6 +4749,10 @@ "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" @@ -4628,6 +4822,10 @@ "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" @@ -4722,6 +4920,10 @@ "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" + }, "externalID": { "type": "string", "description": "external id of the node assigned by some machine database (e.g. a cloud provider)" @@ -4802,6 +5004,10 @@ "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" @@ -4846,6 +5052,27 @@ } } }, + "v1beta1.NFSVolumeSource": { + "id": "v1beta1.NFSVolumeSource", + "required": [ + "server", + "path" + ], + "properties": { + "path": { + "type": "string", + "description": "the path that is exported by the NFS server" + }, + "readOnly": { + "type": "boolean", + "description": "forces the NFS export to be mounted with read-only permissions" + }, + "server": { + "type": "string", + "description": "the hostname or IP address of the NFS server" + } + } + }, "v1beta1.Namespace": { "id": "v1beta1.Namespace", "properties": { @@ -4861,6 +5088,10 @@ "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" @@ -4925,6 +5156,10 @@ "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" @@ -4964,7 +5199,15 @@ }, "v1beta1.NamespaceSpec": { "id": "v1beta1.NamespaceSpec", - "properties": {} + "properties": { + "finalizers": { + "type": "array", + "items": { + "$ref": "v1beta1.FinalizerName" + }, + "description": "an opaque list of values that must be empty to permanently remove object from storage" + } + } }, "v1beta1.NamespaceStatus": { "id": "v1beta1.NamespaceStatus", @@ -5130,6 +5373,10 @@ "type": "v1beta1.PodState", "description": "current state of the pod; populated by the system, read-only" }, + "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" + }, "desiredState": { "type": "v1beta1.PodState", "description": "specification of the desired state of the pod" @@ -5215,6 +5462,10 @@ "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" @@ -5344,6 +5595,10 @@ "type": "v1beta1.ReplicationControllerState", "description": "current state of the replication controller; populated by the system, read-only" }, + "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" + }, "desiredState": { "type": "v1beta1.ReplicationControllerState", "description": "specification of the desired state of the replication controller" @@ -5404,6 +5659,10 @@ "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" @@ -5481,6 +5740,10 @@ "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" @@ -5545,6 +5808,10 @@ "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" @@ -5610,6 +5877,10 @@ "limits": { "type": "v1beta1.ResourceList", "description": "Maximum amount of compute resources allowed" + }, + "requests": { + "type": "v1beta1.ResourceList", + "description": "Minimum amount of resources requested" } } }, @@ -5661,6 +5932,10 @@ "type": "v1beta1.Secret.data", "description": "data contains the secret data. Each key must be a valid DNS_SUBDOMAIN. Each value must be a base64 encoded string" }, + "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" @@ -5717,6 +5992,10 @@ "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" @@ -5793,6 +6072,10 @@ "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" @@ -5820,7 +6103,7 @@ }, "portalIP": { "type": "string", - "description": "IP address of the service; usually assigned by the system; if specified, it will be allocated to the service if unused, and creation of the service will fail otherwise; cannot be updated" + "description": "IP address of the service; usually assigned by the system; if specified, it will be allocated to the service if unused, and creation of the service will fail otherwise; cannot be updated; 'None' can be specified for a headless service when proxying is not required" }, "protocol": { "type": "v1beta1.Protocol", @@ -5886,6 +6169,10 @@ "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" @@ -5984,7 +6271,8 @@ "emptyDir", "persistentDisk", "gitRepo", - "secret" + "secret", + "nfs" ], "properties": { "emptyDir": { @@ -5999,6 +6287,10 @@ "type": "v1beta1.HostPathVolumeSource", "description": "pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host" }, + "nfs": { + "type": "v1beta1.NFSVolumeSource", + "description": "NFS volume that will be mounted in the host machine " + }, "persistentDisk": { "type": "v1beta1.GCEPersistentDiskVolumeSource", "description": "GCE disk resource attached to the host machine on demand" diff --git a/api/swagger-spec/v1beta2.json b/api/swagger-spec/v1beta2.json index fd47dad4313..a1f546b9387 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -235,6 +235,44 @@ "consumes": [ "*/*" ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Endpoints", + "nickname": "deleteEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -961,6 +999,14 @@ "description": "name of the Node", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1375,6 +1421,14 @@ "description": "name of the Namespace", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1414,6 +1468,78 @@ } ] }, + { + "path": "/api/v1beta2/namespaces/{name}/finalize", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta2.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/namespaces/{name}/status", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta2.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta2/nodes", "description": "API at /api/v1beta2 version v1beta2", @@ -1573,6 +1699,14 @@ "description": "name of the Node", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2045,6 +2179,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2677,6 +2819,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2941,6 +3091,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "*v1beta2.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -3850,6 +4008,10 @@ } ], "models": { + "*v1beta2.DeleteOptions": { + "id": "*v1beta2.DeleteOptions", + "properties": {} + }, "v1beta2.Binding": { "id": "v1beta2.Binding", "required": [ @@ -3869,6 +4031,10 @@ "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" @@ -4042,6 +4208,10 @@ "type": "v1beta2.DNSPolicy", "description": "DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'" }, + "hostNetwork": { + "type": "boolean", + "description": "host networking requested for this pod" + }, "id": { "type": "string", "description": "manifest name; must be a DNS_SUBDOMAIN; cannot be updated" @@ -4167,6 +4337,10 @@ "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" + }, "endpoints": { "type": "array", "items": { @@ -4233,6 +4407,10 @@ "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" @@ -4306,6 +4484,10 @@ "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" + }, "firstTimestamp": { "type": "string", "description": "the time at which the event was first recorded" @@ -4390,6 +4572,10 @@ "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" @@ -4439,6 +4625,10 @@ } } }, + "v1beta2.FinalizerName": { + "id": "v1beta2.FinalizerName", + "properties": {} + }, "v1beta2.GCEPersistentDiskVolumeSource": { "id": "v1beta2.GCEPersistentDiskVolumeSource", "required": [ @@ -4555,6 +4745,10 @@ "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" @@ -4624,6 +4818,10 @@ "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" @@ -4718,6 +4916,10 @@ "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" + }, "externalID": { "type": "string", "description": "external id of the node assigned by some machine database (e.g. a cloud provider)" @@ -4798,6 +5000,10 @@ "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" @@ -4835,6 +5041,27 @@ } } }, + "v1beta2.NFSVolumeSource": { + "id": "v1beta2.NFSVolumeSource", + "required": [ + "server", + "path" + ], + "properties": { + "path": { + "type": "string", + "description": "the path that is exported by the NFS server" + }, + "readOnly": { + "type": "boolean", + "description": "forces the NFS export to be mounted with read-only permissions" + }, + "server": { + "type": "string", + "description": "the hostname or IP address of the NFS server" + } + } + }, "v1beta2.Namespace": { "id": "v1beta2.Namespace", "properties": { @@ -4850,6 +5077,10 @@ "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" @@ -4914,6 +5145,10 @@ "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" @@ -4953,7 +5188,15 @@ }, "v1beta2.NamespaceSpec": { "id": "v1beta2.NamespaceSpec", - "properties": {} + "properties": { + "finalizers": { + "type": "array", + "items": { + "$ref": "v1beta2.FinalizerName" + }, + "description": "an opaque list of values that must be empty to permanently remove object from storage" + } + } }, "v1beta2.NamespaceStatus": { "id": "v1beta2.NamespaceStatus", @@ -5119,6 +5362,10 @@ "type": "v1beta2.PodState", "description": "current state of the pod; populated by the system, read-only" }, + "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" + }, "desiredState": { "type": "v1beta2.PodState", "description": "specification of the desired state of the pod" @@ -5204,6 +5451,10 @@ "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" @@ -5333,6 +5584,10 @@ "type": "v1beta2.ReplicationControllerState", "description": "current state of the replication controller; populated by the system, read-only" }, + "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" + }, "desiredState": { "type": "v1beta2.ReplicationControllerState", "description": "specification of the desired state of the replication controller" @@ -5393,6 +5648,10 @@ "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" @@ -5470,6 +5729,10 @@ "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" @@ -5534,6 +5797,10 @@ "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" @@ -5599,6 +5866,10 @@ "limits": { "type": "v1beta2.ResourceList", "description": "Maximum amount of compute resources allowed" + }, + "requests": { + "type": "v1beta2.ResourceList", + "description": "Minimum amount of resources requested" } } }, @@ -5650,6 +5921,10 @@ "type": "v1beta2.Secret.data", "description": "data contains the secret data. Each key must be a valid DNS_SUBDOMAIN. Each value must be a base64 encoded string" }, + "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" @@ -5706,6 +5981,10 @@ "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" @@ -5782,6 +6061,10 @@ "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" @@ -5809,7 +6092,7 @@ }, "portalIP": { "type": "string", - "description": "IP address of the service; usually assigned by the system; if specified, it will be allocated to the service if unused, and creation of the service will fail otherwise; cannot be updated" + "description": "IP address of the service; usually assigned by the system; if specified, it will be allocated to the service if unused, and creation of the service will fail otherwise; cannot be updated; 'None' can be specified for a headless service when proxying is not required" }, "protocol": { "type": "v1beta2.Protocol", @@ -5875,6 +6158,10 @@ "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" @@ -5965,7 +6252,8 @@ "emptyDir", "persistentDisk", "gitRepo", - "secret" + "secret", + "nfs" ], "properties": { "emptyDir": { @@ -5980,6 +6268,10 @@ "type": "v1beta2.HostPathVolumeSource", "description": "pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host" }, + "nfs": { + "type": "v1beta2.NFSVolumeSource", + "description": "NFS volume that will be mounted in the host machine" + }, "persistentDisk": { "type": "v1beta2.GCEPersistentDiskVolumeSource", "description": "GCE disk resource attached to the host machine on demand" diff --git a/api/swagger-spec/v1beta3.json b/api/swagger-spec/v1beta3.json index ae690f4ce2b..b9ff3a9ed6e 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -235,6 +235,44 @@ "consumes": [ "*/*" ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Endpoints", + "nickname": "deleteEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "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 + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -1075,6 +1113,14 @@ "description": "name of the Namespace", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta3.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1114,6 +1160,78 @@ } ] }, + { + "path": "/api/v1beta3/namespaces/{name}/finalize", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{name}/status", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta3/nodes", "description": "API at /api/v1beta3 version v1beta3", @@ -1273,6 +1391,14 @@ "description": "name of the Node", "required": true, "allowMultiple": false + }, + { + "type": "*v1beta3.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1745,6 +1871,14 @@ "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 } ], "produces": [ @@ -2415,6 +2549,14 @@ "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 } ], "produces": [ @@ -2717,6 +2859,14 @@ "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 } ], "produces": [ @@ -3740,6 +3890,10 @@ } ], "models": { + "*v1beta3.DeleteOptions": { + "id": "*v1beta3.DeleteOptions", + "properties": {} + }, "v1beta3.Binding": { "id": "v1beta3.Binding", "required": [ @@ -3758,6 +3912,10 @@ "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" @@ -3968,6 +4126,10 @@ "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" + }, "endpoints": { "type": "array", "items": { @@ -4080,6 +4242,10 @@ "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" + }, "firstTimestamp": { "type": "string", "description": "the time at which the event was first recorded" @@ -4194,6 +4360,10 @@ } } }, + "v1beta3.FinalizerName": { + "id": "v1beta3.FinalizerName", + "properties": {} + }, "v1beta3.HTTPGetAction": { "id": "v1beta3.HTTPGetAction", "properties": { @@ -4256,6 +4426,10 @@ "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" @@ -4372,6 +4546,10 @@ "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" @@ -4447,7 +4625,15 @@ }, "v1beta3.NamespaceSpec": { "id": "v1beta3.NamespaceSpec", - "properties": {} + "properties": { + "finalizers": { + "type": "array", + "items": { + "$ref": "v1beta3.FinalizerName" + }, + "description": "an opaque list of values that must be empty to permanently remove object from storage" + } + } }, "v1beta3.NamespaceStatus": { "id": "v1beta3.NamespaceStatus", @@ -4473,6 +4659,10 @@ "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" @@ -4704,6 +4894,10 @@ "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" @@ -4806,7 +5000,7 @@ "items": { "$ref": "v1beta3.Container" }, - "description": "list of containers belonging to the pod; cannot be updated; containers cannot currently be added or removed" + "description": "list of containers belonging to the pod; cannot be updated; containers cannot currently be added or removed; there must be at least one container in a Pod" }, "dnsPolicy": { "type": "v1beta3.DNSPolicy", @@ -4816,6 +5010,10 @@ "type": "string", "description": "host requested for this pod" }, + "hostNetwork": { + "type": "boolean", + "description": "host networking requested for this pod" + }, "nodeSelector": { "type": "v1beta3.PodSpec.nodeSelector", "description": "selector which must match a node's labels for the pod to be scheduled on that node" @@ -4884,6 +5082,10 @@ "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" @@ -4960,6 +5162,10 @@ "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" @@ -5090,6 +5296,10 @@ "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" @@ -5191,6 +5401,10 @@ "limits": { "type": "v1beta3.ResourceList", "description": "Maximum amount of compute resources allowed" + }, + "requests": { + "type": "v1beta3.ResourceList", + "description": "Minimum amount of resources requested" } } }, @@ -5213,6 +5427,10 @@ "type": "v1beta3.Secret.data", "description": "data contains the secret data. Each key must be a valid DNS_SUBDOMAIN. Each value must be a base64 encoded string" }, + "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" @@ -5301,6 +5519,10 @@ "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" @@ -5382,10 +5604,6 @@ "portalIP" ], "properties": { - "containerPort": { - "type": "string", - "description": "number or name of the port to access on the containers belonging to pods targeted by the service; defaults to the container's first open port" - }, "createExternalLoadBalancer": { "type": "boolean", "description": "set up a cloud-provider-specific load balancer on an external IP" @@ -5416,6 +5634,10 @@ "sessionAffinity": { "type": "v1beta3.AffinityType", "description": "enable client IP based session affinity; must be ClientIP or None; defaults to None" + }, + "targetPort": { + "type": "string", + "description": "number or name of the port to access on the containers belonging to pods targeted by the service; defaults to the container's first open port" } } }, @@ -5444,7 +5666,8 @@ "emptyDir", "gcePersistentDisk", "gitRepo", - "secret" + "secret", + "nfs" ], "properties": { "emptyDir": { @@ -5467,6 +5690,10 @@ "type": "string", "description": "volume name; must be a DNS_LABEL and unique within the pod" }, + "nfs": { + "type": "v1beta3.NFSVolumeSource", + "description": "NFS volume that will be mounted in the host machine" + }, "secret": { "type": "v1beta3.SecretVolumeSource", "description": "secret to populate volume"