From 79c4cfba0cc559bb916824bc151b798e27fae850 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Thu, 2 Apr 2015 08:33:09 -0700 Subject: [PATCH] update swagger --- api/swagger-spec/v1beta1.json | 230 ++++++++++++++++++------------- api/swagger-spec/v1beta2.json | 230 ++++++++++++++++++------------- api/swagger-spec/v1beta3.json | 249 ++++++++++++---------------------- 3 files changed, 361 insertions(+), 348 deletions(-) diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index de34807ca67..c1f11b029cb 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -5206,10 +5206,6 @@ "id": "*v1beta1.DeleteOptions", "properties": {} }, - "uint64": { - "id": "", - "properties": null - }, "v1beta1.Binding": { "id": "v1beta1.Binding", "required": [ @@ -5218,7 +5214,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5266,7 +5262,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -5338,7 +5334,7 @@ "description": "Docker image name" }, "imagePullPolicy": { - "type": "string", + "$ref": "v1beta1.PullPolicy", "description": "image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated" }, "lifecycle": { @@ -5411,7 +5407,7 @@ "description": "list of containers belonging to the pod; containers cannot currently be added or removed" }, "dnsPolicy": { - "type": "string", + "$ref": "v1beta1.DNSPolicy", "description": "DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'" }, "hostNetwork": { @@ -5427,7 +5423,7 @@ "description": "restart policy for all containers within the pod; one of RestartPolicyAlways, RestartPolicyOnFailure, RestartPolicyNever" }, "uuid": { - "type": "string", + "$ref": "types.UID", "description": "manifest UUID, populated by the system, read-only" }, "version": { @@ -5468,7 +5464,7 @@ "description": "name for the port that can be referred to by services; must be a DNS_LABEL and unique without the pod" }, "protocol": { - "type": "string", + "$ref": "v1beta1.Protocol", "description": "protocol for port; must be UDP or TCP; TCP if unspecified" } } @@ -5480,7 +5476,7 @@ ], "properties": { "medium": { - "type": "string", + "$ref": "v1beta1.StorageType", "description": "type of storage used to back the volume; must be an empty string (default) or Memory" } } @@ -5536,7 +5532,7 @@ "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "uid of the referent" } } @@ -5557,7 +5553,7 @@ "description": "port number of the endpoint" }, "protocol": { - "type": "string", + "$ref": "v1beta1.Protocol", "description": "protocol for this port; must be UDP or TCP; TCP if unspecified" } } @@ -5589,7 +5585,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5628,7 +5624,7 @@ "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" }, "protocol": { - "type": "string", + "$ref": "v1beta1.Protocol", "description": "IP protocol for the first set of endpoint ports; must be UDP or TCP; TCP if unspecified" }, "resourceVersion": { @@ -5654,7 +5650,7 @@ "description": "list of references to objects providing the endpoints" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -5666,7 +5662,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5713,7 +5709,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -5742,7 +5738,7 @@ "id": "v1beta1.Event", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5823,7 +5819,7 @@ "description": "time at which the client recorded the event" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -5835,7 +5831,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5882,7 +5878,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6008,7 +6004,7 @@ "id": "v1beta1.LimitRange", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6052,7 +6048,7 @@ "description": "spec defines the limits enforced" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6061,15 +6057,15 @@ "id": "v1beta1.LimitRangeItem", "properties": { "max": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "max usage constraints on this kind by resource name" }, "min": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "min usage constraints on this kind by resource name" }, "type": { - "type": "string", + "$ref": "v1beta1.LimitType", "description": "type of resource that this limit applies to" } } @@ -6081,7 +6077,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6128,7 +6124,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6179,7 +6175,7 @@ "id": "v1beta1.Minion", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6196,7 +6192,7 @@ }, "externalID": { "type": "string", - "description": "external id of the node assigned by some machine database (e.g. a cloud provider)" + "description": "external id of the node assigned by some machine database (e.g. a cloud provider). Defaults to node name when empty." }, "generateName": { "type": "string", @@ -6215,7 +6211,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.Minion.labels", "description": "map of string keys and values that can be used to organize and categorize minions; labels of a minion assigned by the scheduler must match the scheduled pod's nodeSelector" }, "namespace": { @@ -6243,7 +6239,7 @@ "description": "current status of node" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" }, "unschedulable": { @@ -6252,6 +6248,10 @@ } } }, + "v1beta1.Minion.labels": { + "id": "v1beta1.Minion.labels", + "properties": {} + }, "v1beta1.MinionList": { "id": "v1beta1.MinionList", "required": [ @@ -6259,7 +6259,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6313,7 +6313,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6343,7 +6343,7 @@ "id": "v1beta1.Namespace", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6371,7 +6371,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.Namespace.labels", "description": "map of string keys and values that can be used to organize and categorize namespaces" }, "namespace": { @@ -6395,11 +6395,15 @@ "description": "status describes the current status of a Namespace; read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.Namespace.labels": { + "id": "v1beta1.Namespace.labels", + "properties": {} + }, "v1beta1.NamespaceList": { "id": "v1beta1.NamespaceList", "required": [ @@ -6407,7 +6411,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6454,7 +6458,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6475,7 +6479,7 @@ "id": "v1beta1.NamespaceStatus", "properties": { "phase": { - "type": "string", + "$ref": "v1beta1.NamespacePhase", "description": "phase is the current lifecycle phase of the namespace" } } @@ -6492,7 +6496,7 @@ "description": "string representation of the address" }, "type": { - "type": "string", + "$ref": "v1beta1.NodeAddressType", "description": "type of the node address, e.g. external ip, internal ip, hostname, etc" } } @@ -6505,7 +6509,7 @@ ], "properties": { "kind": { - "type": "string", + "$ref": "v1beta1.NodeConditionKind", "description": "kind of the condition, one of Reachable, Ready, Schedulable" }, "lastProbeTime": { @@ -6525,7 +6529,7 @@ "description": "(brief) reason for the condition's last transition" }, "status": { - "type": "string", + "$ref": "v1beta1.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" } } @@ -6534,7 +6538,7 @@ "id": "v1beta1.NodeResources", "properties": { "capacity": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "resource capacity of a node represented as a map of resource name to quantity of resource" } } @@ -6561,7 +6565,7 @@ "description": "node identity is a set of ids/uuids to uniquely identify the node" }, "phase": { - "type": "string", + "$ref": "v1beta1.NodePhase", "description": "node phase is the current lifecycle phase of the node" } } @@ -6641,7 +6645,7 @@ "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "uid of the referent" } } @@ -6650,7 +6654,7 @@ "id": "v1beta1.Pod", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6686,7 +6690,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.Pod.labels", "description": "map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services" }, "namespace": { @@ -6694,7 +6698,7 @@ "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" }, "nodeSelector": { - "type": "any", + "$ref": "v1beta1.Pod.nodeSelector", "description": "selector which must match a node's labels for the pod to be scheduled on that node" }, "resourceVersion": { @@ -6706,11 +6710,19 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.Pod.labels": { + "id": "v1beta1.Pod.labels", + "properties": {} + }, + "v1beta1.Pod.nodeSelector": { + "id": "v1beta1.Pod.nodeSelector", + "properties": {} + }, "v1beta1.PodCondition": { "id": "v1beta1.PodCondition", "required": [ @@ -6719,11 +6731,11 @@ ], "properties": { "kind": { - "type": "string", + "$ref": "v1beta1.PodConditionKind", "description": "kind of the condition, currently only Ready" }, "status": { - "type": "string", + "$ref": "v1beta1.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" } } @@ -6735,7 +6747,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6782,7 +6794,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6806,7 +6818,7 @@ "description": "IP address of the host to which the pod is assigned; empty if not yet scheduled" }, "info": { - "type": "any", + "$ref": "v1beta1.PodInfo", "description": "map of container name to container status" }, "manifest": { @@ -6822,7 +6834,7 @@ "description": "IP address allocated to the pod; routable at least within the cluster; empty if not yet allocated" }, "status": { - "type": "string", + "$ref": "v1beta1.PodStatus", "description": "current condition of the pod, Waiting, Running, or Terminated" } } @@ -6831,7 +6843,7 @@ "id": "v1beta1.PodTemplate", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.PodTemplate.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template" }, "desiredState": { @@ -6839,20 +6851,32 @@ "description": "specification of the desired state of pods created from this template" }, "labels": { - "type": "any", + "$ref": "v1beta1.PodTemplate.labels", "description": "map of string keys and values that can be used to organize and categorize the pods created from the template; must match the selector of the replication controller to which the template belongs; may match selectors of services" }, "nodeSelector": { - "type": "any", + "$ref": "v1beta1.PodTemplate.nodeSelector", "description": "a selector which must be true for the pod to fit on a node" } } }, + "v1beta1.PodTemplate.annotations": { + "id": "v1beta1.PodTemplate.annotations", + "properties": {} + }, + "v1beta1.PodTemplate.labels": { + "id": "v1beta1.PodTemplate.labels", + "properties": {} + }, + "v1beta1.PodTemplate.nodeSelector": { + "id": "v1beta1.PodTemplate.nodeSelector", + "properties": {} + }, "v1beta1.ReplicationController": { "id": "v1beta1.ReplicationController", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6888,7 +6912,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.ReplicationController.labels", "description": "map of string keys and values that can be used to organize and categorize replication controllers" }, "namespace": { @@ -6904,11 +6928,15 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.ReplicationController.labels": { + "id": "v1beta1.ReplicationController.labels", + "properties": {} + }, "v1beta1.ReplicationControllerList": { "id": "v1beta1.ReplicationControllerList", "required": [ @@ -6916,7 +6944,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6963,7 +6991,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -6979,7 +7007,7 @@ "description": "template for pods to be created by this replication controller when the observed number of replicas is less than the desired number of replicas" }, "replicaSelector": { - "type": "any", + "$ref": "v1beta1.ReplicationControllerState.replicaSelector", "description": "label keys and values that must match in order to be controlled by this replication controller" }, "replicas": { @@ -6989,11 +7017,15 @@ } } }, + "v1beta1.ReplicationControllerState.replicaSelector": { + "id": "v1beta1.ReplicationControllerState.replicaSelector", + "properties": {} + }, "v1beta1.ResourceQuota": { "id": "v1beta1.ResourceQuota", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7021,7 +7053,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.ResourceQuota.labels", "description": "map of string keys and values that can be used to organize and categorize resource quotas" }, "namespace": { @@ -7045,11 +7077,15 @@ "description": "status defines the actual enforced quota and current usage" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.ResourceQuota.labels": { + "id": "v1beta1.ResourceQuota.labels", + "properties": {} + }, "v1beta1.ResourceQuotaList": { "id": "v1beta1.ResourceQuotaList", "required": [ @@ -7057,7 +7093,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7104,7 +7140,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -7113,7 +7149,7 @@ "id": "v1beta1.ResourceQuotaSpec", "properties": { "hard": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "hard is the set of desired hard limits for each named resource" } } @@ -7122,11 +7158,11 @@ "id": "v1beta1.ResourceQuotaStatus", "properties": { "hard": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "hard is the set of enforced hard limits for each named resource" }, "used": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "used is the current observed total usage of the resource in the namespace" } } @@ -7135,11 +7171,11 @@ "id": "v1beta1.ResourceRequirements", "properties": { "limits": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "Maximum amount of compute resources allowed" }, "requests": { - "type": "any", + "$ref": "v1beta1.ResourceList", "description": "Minimum amount of resources requested" } } @@ -7177,7 +7213,7 @@ "id": "v1beta1.Secret", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7189,7 +7225,7 @@ "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" }, "data": { - "type": "any", + "$ref": "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": { @@ -7221,15 +7257,19 @@ "description": "URL for the object; populated by the system, read-only" }, "type": { - "type": "string", + "$ref": "v1beta1.SecretType", "description": "type facilitates programmatic handling of secret data" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.Secret.data": { + "id": "v1beta1.Secret.data", + "properties": {} + }, "v1beta1.SecretList": { "id": "v1beta1.SecretList", "required": [ @@ -7237,7 +7277,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7284,7 +7324,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -7310,7 +7350,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7346,7 +7386,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta1.Service.labels", "description": "map of string keys and values that can be used to organize and categorize services" }, "namespace": { @@ -7374,7 +7414,7 @@ "description": "ports to be exposed on the service; if this field is specified, the legacy fields (Port, PortName, Protocol, and ContainerPort) will be overwritten by the first member of this array; if this field is not specified, it will be populated from the legacy fields" }, "protocol": { - "type": "string", + "$ref": "v1beta1.Protocol", "description": "protocol for port; must be UDP or TCP; TCP if unspecified" }, "proxyPort": { @@ -7394,7 +7434,7 @@ "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" }, "selector": { - "type": "any", + "$ref": "v1beta1.Service.selector", "description": "label keys and values that must match in order to receive traffic for this service; if empty, all pods are selected, if not specified, endpoints must be manually specified" }, "selfLink": { @@ -7402,15 +7442,23 @@ "description": "URL for the object; populated by the system, read-only" }, "sessionAffinity": { - "type": "string", + "$ref": "v1beta1.AffinityType", "description": "enable client IP based session affinity; must be ClientIP or None; defaults to None" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } }, + "v1beta1.Service.labels": { + "id": "v1beta1.Service.labels", + "properties": {} + }, + "v1beta1.Service.selector": { + "id": "v1beta1.Service.selector", + "properties": {} + }, "v1beta1.ServiceList": { "id": "v1beta1.ServiceList", "required": [ @@ -7418,7 +7466,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta1.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7465,7 +7513,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" } } @@ -7493,7 +7541,7 @@ "description": "the port number that is exposed" }, "protocol": { - "type": "string", + "$ref": "v1beta1.Protocol", "description": "the protocol used by this port; must be UDP or TCP; TCP if unspecified" } } diff --git a/api/swagger-spec/v1beta2.json b/api/swagger-spec/v1beta2.json index 94f476cec0c..8b2dd882e20 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -5206,10 +5206,6 @@ "id": "*v1beta2.DeleteOptions", "properties": {} }, - "uint64": { - "id": "", - "properties": null - }, "v1beta2.Binding": { "id": "v1beta2.Binding", "required": [ @@ -5218,7 +5214,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5266,7 +5262,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -5338,7 +5334,7 @@ "description": "Docker image name" }, "imagePullPolicy": { - "type": "string", + "$ref": "v1beta2.PullPolicy", "description": "image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated" }, "lifecycle": { @@ -5411,7 +5407,7 @@ "description": "list of containers belonging to the pod; cannot be updated; containers cannot currently be added or removed" }, "dnsPolicy": { - "type": "string", + "$ref": "v1beta2.DNSPolicy", "description": "DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'" }, "hostNetwork": { @@ -5427,7 +5423,7 @@ "description": "restart policy for all containers within the pod; one of RestartPolicyAlways, RestartPolicyOnFailure, RestartPolicyNever" }, "uuid": { - "type": "string", + "$ref": "types.UID", "description": "manifest UUID; cannot be updated" }, "version": { @@ -5468,7 +5464,7 @@ "description": "name for the port that can be referred to by services; must be a DNS_LABEL and unique without the pod" }, "protocol": { - "type": "string", + "$ref": "v1beta2.Protocol", "description": "protocol for port; must be UDP or TCP; TCP if unspecified" } } @@ -5480,7 +5476,7 @@ ], "properties": { "medium": { - "type": "string", + "$ref": "v1beta2.StorageType", "description": "type of storage used to back the volume; must be an empty string (default) or Memory" } } @@ -5536,7 +5532,7 @@ "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "uid of the referent" } } @@ -5557,7 +5553,7 @@ "description": "port number of the endpoint" }, "protocol": { - "type": "string", + "$ref": "v1beta2.Protocol", "description": "protocol for this port; must be UDP or TCP; TCP if unspecified" } } @@ -5589,7 +5585,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5628,7 +5624,7 @@ "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" }, "protocol": { - "type": "string", + "$ref": "v1beta2.Protocol", "description": "IP protocol for the first set of endpoint ports; must be UDP or TCP; TCP if unspecified" }, "resourceVersion": { @@ -5654,7 +5650,7 @@ "description": "list of references to objects providing the endpoints" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -5666,7 +5662,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5713,7 +5709,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -5738,7 +5734,7 @@ "id": "v1beta2.Event", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5819,7 +5815,7 @@ "description": "time at which the client recorded the event" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -5831,7 +5827,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -5878,7 +5874,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6004,7 +6000,7 @@ "id": "v1beta2.LimitRange", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6048,7 +6044,7 @@ "description": "spec defines the limits enforced" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6057,15 +6053,15 @@ "id": "v1beta2.LimitRangeItem", "properties": { "max": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "max usage constraints on this kind by resource name" }, "min": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "min usage constraints on this kind by resource name" }, "type": { - "type": "string", + "$ref": "v1beta2.LimitType", "description": "type of resource that this limit applies to" } } @@ -6077,7 +6073,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6124,7 +6120,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6175,7 +6171,7 @@ "id": "v1beta2.Minion", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6192,7 +6188,7 @@ }, "externalID": { "type": "string", - "description": "external id of the node assigned by some machine database (e.g. a cloud provider)" + "description": "external id of the node assigned by some machine database (e.g. a cloud provider). Defaults to node name when empty." }, "generateName": { "type": "string", @@ -6211,7 +6207,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.Minion.labels", "description": "map of string keys and values that can be used to organize and categorize minions; labels of a minion assigned by the scheduler must match the scheduled pod's nodeSelector" }, "namespace": { @@ -6239,7 +6235,7 @@ "description": "current status of node" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" }, "unschedulable": { @@ -6248,6 +6244,10 @@ } } }, + "v1beta2.Minion.labels": { + "id": "v1beta2.Minion.labels", + "properties": {} + }, "v1beta2.MinionList": { "id": "v1beta2.MinionList", "required": [ @@ -6255,7 +6255,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6302,7 +6302,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6332,7 +6332,7 @@ "id": "v1beta2.Namespace", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6360,7 +6360,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.Namespace.labels", "description": "map of string keys and values that can be used to organize and categorize namespaces" }, "namespace": { @@ -6384,11 +6384,15 @@ "description": "status describes the current status of a Namespace; read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.Namespace.labels": { + "id": "v1beta2.Namespace.labels", + "properties": {} + }, "v1beta2.NamespaceList": { "id": "v1beta2.NamespaceList", "required": [ @@ -6396,7 +6400,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6443,7 +6447,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6464,7 +6468,7 @@ "id": "v1beta2.NamespaceStatus", "properties": { "phase": { - "type": "string", + "$ref": "v1beta2.NamespacePhase", "description": "phase is the current lifecycle phase of the namespace" } } @@ -6481,7 +6485,7 @@ "description": "string representation of the address" }, "type": { - "type": "string", + "$ref": "v1beta2.NodeAddressType", "description": "type of the node address, e.g. external ip, internal ip, hostname, etc" } } @@ -6494,7 +6498,7 @@ ], "properties": { "kind": { - "type": "string", + "$ref": "v1beta2.NodeConditionKind", "description": "kind of the condition, one of Reachable, Ready, Schedulable" }, "lastProbeTime": { @@ -6514,7 +6518,7 @@ "description": "(brief) reason for the condition's last transition" }, "status": { - "type": "string", + "$ref": "v1beta2.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" } } @@ -6523,7 +6527,7 @@ "id": "v1beta2.NodeResources", "properties": { "capacity": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "resource capacity of a node represented as a map of resource name to quantity of resource" } } @@ -6550,7 +6554,7 @@ "description": "node identity is a set of ids/uuids to uniquely identify the node" }, "phase": { - "type": "string", + "$ref": "v1beta2.NodePhase", "description": "node phase is the current lifecycle phase of the node" } } @@ -6630,7 +6634,7 @@ "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "uid of the referent" } } @@ -6639,7 +6643,7 @@ "id": "v1beta2.Pod", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6675,7 +6679,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.Pod.labels", "description": "map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services" }, "namespace": { @@ -6683,7 +6687,7 @@ "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" }, "nodeSelector": { - "type": "any", + "$ref": "v1beta2.Pod.nodeSelector", "description": "selector which must match a node's labels for the pod to be scheduled on that node" }, "resourceVersion": { @@ -6695,11 +6699,19 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.Pod.labels": { + "id": "v1beta2.Pod.labels", + "properties": {} + }, + "v1beta2.Pod.nodeSelector": { + "id": "v1beta2.Pod.nodeSelector", + "properties": {} + }, "v1beta2.PodCondition": { "id": "v1beta2.PodCondition", "required": [ @@ -6708,11 +6720,11 @@ ], "properties": { "kind": { - "type": "string", + "$ref": "v1beta2.PodConditionKind", "description": "kind of the condition, currently only Ready" }, "status": { - "type": "string", + "$ref": "v1beta2.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" } } @@ -6724,7 +6736,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6771,7 +6783,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6795,7 +6807,7 @@ "description": "IP address of the host to which the pod is assigned; empty if not yet scheduled" }, "info": { - "type": "any", + "$ref": "v1beta2.PodInfo", "description": "map of container name to container status" }, "manifest": { @@ -6811,7 +6823,7 @@ "description": "IP address allocated to the pod; routable at least within the cluster; empty if not yet allocated" }, "status": { - "type": "string", + "$ref": "v1beta2.PodStatus", "description": "current condition of the pod, Waiting, Running, or Terminated" } } @@ -6820,7 +6832,7 @@ "id": "v1beta2.PodTemplate", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.PodTemplate.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template" }, "desiredState": { @@ -6828,20 +6840,32 @@ "description": "specification of the desired state of pods created from this template" }, "labels": { - "type": "any", + "$ref": "v1beta2.PodTemplate.labels", "description": "map of string keys and values that can be used to organize and categorize the pods created from the template; must match the selector of the replication controller to which the template belongs; may match selectors of services" }, "nodeSelector": { - "type": "any", + "$ref": "v1beta2.PodTemplate.nodeSelector", "description": "a selector which must be true for the pod to fit on a node" } } }, + "v1beta2.PodTemplate.annotations": { + "id": "v1beta2.PodTemplate.annotations", + "properties": {} + }, + "v1beta2.PodTemplate.labels": { + "id": "v1beta2.PodTemplate.labels", + "properties": {} + }, + "v1beta2.PodTemplate.nodeSelector": { + "id": "v1beta2.PodTemplate.nodeSelector", + "properties": {} + }, "v1beta2.ReplicationController": { "id": "v1beta2.ReplicationController", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6877,7 +6901,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.ReplicationController.labels", "description": "map of string keys and values that can be used to organize and categorize replication controllers" }, "namespace": { @@ -6893,11 +6917,15 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.ReplicationController.labels": { + "id": "v1beta2.ReplicationController.labels", + "properties": {} + }, "v1beta2.ReplicationControllerList": { "id": "v1beta2.ReplicationControllerList", "required": [ @@ -6905,7 +6933,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -6952,7 +6980,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -6968,7 +6996,7 @@ "description": "template for pods to be created by this replication controller when the observed number of replicas is less than the desired number of replicas" }, "replicaSelector": { - "type": "any", + "$ref": "v1beta2.ReplicationControllerState.replicaSelector", "description": "label keys and values that must match in order to be controlled by this replication controller" }, "replicas": { @@ -6978,11 +7006,15 @@ } } }, + "v1beta2.ReplicationControllerState.replicaSelector": { + "id": "v1beta2.ReplicationControllerState.replicaSelector", + "properties": {} + }, "v1beta2.ResourceQuota": { "id": "v1beta2.ResourceQuota", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7010,7 +7042,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.ResourceQuota.labels", "description": "map of string keys and values that can be used to organize and categorize resource quotas" }, "namespace": { @@ -7034,11 +7066,15 @@ "description": "status defines the actual enforced quota and current usage" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.ResourceQuota.labels": { + "id": "v1beta2.ResourceQuota.labels", + "properties": {} + }, "v1beta2.ResourceQuotaList": { "id": "v1beta2.ResourceQuotaList", "required": [ @@ -7046,7 +7082,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7093,7 +7129,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -7102,7 +7138,7 @@ "id": "v1beta2.ResourceQuotaSpec", "properties": { "hard": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "hard is the set of desired hard limits for each named resource" } } @@ -7111,11 +7147,11 @@ "id": "v1beta2.ResourceQuotaStatus", "properties": { "hard": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "hard is the set of enforced hard limits for each named resource" }, "used": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "used is the current observed total usage of the resource in the namespace" } } @@ -7124,11 +7160,11 @@ "id": "v1beta2.ResourceRequirements", "properties": { "limits": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "Maximum amount of compute resources allowed" }, "requests": { - "type": "any", + "$ref": "v1beta2.ResourceList", "description": "Minimum amount of resources requested" } } @@ -7166,7 +7202,7 @@ "id": "v1beta2.Secret", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7178,7 +7214,7 @@ "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" }, "data": { - "type": "any", + "$ref": "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": { @@ -7210,15 +7246,19 @@ "description": "URL for the object; populated by the system, read-only" }, "type": { - "type": "string", + "$ref": "v1beta2.SecretType", "description": "type facilitates programmatic handling of secret data" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.Secret.data": { + "id": "v1beta2.Secret.data", + "properties": {} + }, "v1beta2.SecretList": { "id": "v1beta2.SecretList", "required": [ @@ -7226,7 +7266,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7273,7 +7313,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -7299,7 +7339,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7335,7 +7375,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta2.Service.labels", "description": "map of string keys and values that can be used to organize and categorize services" }, "namespace": { @@ -7363,7 +7403,7 @@ "description": "ports to be exposed on the service; if this field is specified, the legacy fields (Port, PortName, Protocol, and ContainerPort) will be overwritten by the first member of this array; if this field is not specified, it will be populated from the legacy fields" }, "protocol": { - "type": "string", + "$ref": "v1beta2.Protocol", "description": "protocol for port; must be UDP or TCP; TCP if unspecified" }, "proxyPort": { @@ -7383,7 +7423,7 @@ "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" }, "selector": { - "type": "any", + "$ref": "v1beta2.Service.selector", "description": "label keys and values that must match in order to receive traffic for this service; if empty, all pods are selected, if not specified, endpoints must be manually specified" }, "selfLink": { @@ -7391,15 +7431,23 @@ "description": "URL for the object; populated by the system, read-only" }, "sessionAffinity": { - "type": "string", + "$ref": "v1beta2.AffinityType", "description": "enable client IP based session affinity; must be ClientIP or None; defaults to None" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } }, + "v1beta2.Service.labels": { + "id": "v1beta2.Service.labels", + "properties": {} + }, + "v1beta2.Service.selector": { + "id": "v1beta2.Service.selector", + "properties": {} + }, "v1beta2.ServiceList": { "id": "v1beta2.ServiceList", "required": [ @@ -7407,7 +7455,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta2.TypeMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" }, "apiVersion": { @@ -7454,7 +7502,7 @@ "description": "URL for the object; populated by the system, read-only" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" } } @@ -7482,7 +7530,7 @@ "description": "the port number that is exposed" }, "protocol": { - "type": "string", + "$ref": "v1beta2.Protocol", "description": "the protocol used by this port; must be UDP or TCP; TCP if unspecified" } } diff --git a/api/swagger-spec/v1beta3.json b/api/swagger-spec/v1beta3.json index 955118d8ea8..43d1d9d501d 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -5501,7 +5501,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -5525,7 +5525,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -5549,7 +5549,7 @@ "description": "an object to bind to" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -5615,7 +5615,7 @@ "description": "Docker image name" }, "imagePullPolicy": { - "type": "string", + "$ref": "v1beta3.PullPolicy", "description": "image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated" }, "lifecycle": { @@ -5691,7 +5691,7 @@ "description": "name for the port that can be referred to by services; must be a DNS_LABEL and unique without the pod" }, "protocol": { - "type": "string", + "$ref": "v1beta3.Protocol", "description": "protocol for port; must be UDP or TCP; TCP if unspecified" } } @@ -5814,18 +5814,6 @@ } } }, - "v1beta3.EmptyDirVolumeSource": { - "id": "v1beta3.EmptyDirVolumeSource", - "required": [ - "medium" - ], - "properties": { - "medium": { - "type": "string", - "description": "type of storage used to back the volume; must be an empty string (default) or Memory" - } - } - }, "v1beta3.EndpointAddress": { "id": "v1beta3.EndpointAddress", "required": [ @@ -5858,7 +5846,7 @@ "description": "port number of the endpoint" }, "protocol": { - "type": "string", + "$ref": "v1beta3.Protocol", "description": "protocol for this port; must be UDP or TCP; TCP if unspecified" } } @@ -5889,7 +5877,7 @@ ], "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -5913,7 +5901,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -5940,7 +5928,7 @@ "description": "sets of addresses and ports that comprise a service" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -5996,7 +5984,7 @@ "id": "v1beta3.Event", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -6033,7 +6021,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "description": "map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services" }, "lastTimestamp": { @@ -6069,7 +6057,7 @@ "description": "component reporting this event" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -6134,48 +6122,6 @@ "id": "v1beta3.FinalizerName", "properties": {} }, - "v1beta3.GCEPersistentDiskVolumeSource": { - "id": "v1beta3.GCEPersistentDiskVolumeSource", - "required": [ - "pdName" - ], - "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" - }, - "pdName": { - "type": "string", - "description": "unique name of the PD resource in GCE" - }, - "readOnly": { - "type": "boolean", - "description": "read-only if true, read-write otherwise (false or unspecified)" - } - } - }, - "v1beta3.GitRepoVolumeSource": { - "id": "v1beta3.GitRepoVolumeSource", - "required": [ - "repository", - "revision" - ], - "properties": { - "repository": { - "type": "string", - "description": "repository URL" - }, - "revision": { - "type": "string", - "description": "commit hash for the specified revision" - } - } - }, "v1beta3.HTTPGetAction": { "id": "v1beta3.HTTPGetAction", "properties": { @@ -6210,18 +6156,6 @@ } } }, - "v1beta3.HostPathVolumeSource": { - "id": "v1beta3.HostPathVolumeSource", - "required": [ - "path" - ], - "properties": { - "path": { - "type": "string", - "description": "path of the directory on the host" - } - } - }, "v1beta3.Lifecycle": { "id": "v1beta3.Lifecycle", "properties": { @@ -6239,7 +6173,7 @@ "id": "v1beta3.LimitRange", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -6263,7 +6197,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -6287,7 +6221,7 @@ "description": "spec defines the limits enforced; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -6296,15 +6230,15 @@ "id": "v1beta3.LimitRangeItem", "properties": { "max": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "max usage constraints on this kind by resource name" }, "min": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "min usage constraints on this kind by resource name" }, "type": { - "type": "string", + "$ref": "v1beta3.LimitType", "description": "type of resource that this limit applies to" } } @@ -6355,32 +6289,11 @@ } } }, - "v1beta3.NFSVolumeSource": { - "id": "v1beta3.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" - } - } - }, "v1beta3.Namespace": { "id": "v1beta3.Namespace", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -6404,7 +6317,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -6432,7 +6345,7 @@ "description": "status describes the current status of a Namespace; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -6484,7 +6397,7 @@ "id": "v1beta3.NamespaceStatus", "properties": { "phase": { - "type": "string", + "$ref": "v1beta3.NamespacePhase", "description": "phase is the current lifecycle phase of the namespace" } } @@ -6493,7 +6406,7 @@ "id": "v1beta3.Node", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -6517,7 +6430,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -6545,7 +6458,7 @@ "description": "most recently observed status of the node; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -6561,7 +6474,7 @@ "type": "string" }, "type": { - "type": "string" + "$ref": "v1beta3.NodeAddressType" } } }, @@ -6589,11 +6502,11 @@ "description": "(brief) reason for the condition's last transition" }, "status": { - "type": "string", + "$ref": "v1beta3.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" }, "type": { - "type": "string", + "$ref": "v1beta3.NodeConditionType", "description": "type of node condition, one of Ready, Schedulable" } } @@ -6634,7 +6547,7 @@ "properties": { "externalID": { "type": "string", - "description": "external ID assigned to the node by some machine database (e.g. a cloud provider)" + "description": "external ID assigned to the node by some machine database (e.g. a cloud provider). Defaults to node name when empty." }, "podCIDR": { "type": "string", @@ -6657,7 +6570,7 @@ "description": "list of addresses reachable to the node" }, "capacity": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "compute resource capacity of the node; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/resources.md" }, "conditions": { @@ -6671,7 +6584,7 @@ "$ref": "v1beta3.NodeSystemInfo" }, "phase": { - "type": "string", + "$ref": "v1beta3.NodePhase", "description": "most recently observed lifecycle phase of the node" } } @@ -6749,7 +6662,7 @@ "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "uid of the referent" } } @@ -6758,7 +6671,7 @@ "id": "v1beta3.Pod", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -6782,7 +6695,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -6810,7 +6723,7 @@ "description": "most recently observed status of the pod; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -6823,11 +6736,11 @@ ], "properties": { "status": { - "type": "string", + "$ref": "v1beta3.ConditionStatus", "description": "status of the condition, one of Full, None, Unknown" }, "type": { - "type": "string", + "$ref": "v1beta3.PodConditionType", "description": "kind of the condition" } } @@ -6878,7 +6791,7 @@ "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": "string", + "$ref": "v1beta3.DNSPolicy", "description": "DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'" }, "host": { @@ -6890,11 +6803,11 @@ "description": "host networking requested for this pod" }, "nodeSelector": { - "type": "any", + "$ref": "v1beta3.PodSpec.nodeSelector", "description": "selector which must match a node's labels for the pod to be scheduled on that node" }, "restartPolicy": { - "type": "string", + "$ref": "v1beta3.RestartPolicy", "description": "restart policy for all containers within the pod; one of RestartPolicyAlways, RestartPolicyOnFailure, RestartPolicyNever" }, "volumes": { @@ -6906,6 +6819,10 @@ } } }, + "v1beta3.PodSpec.nodeSelector": { + "id": "v1beta3.PodSpec.nodeSelector", + "properties": {} + }, "v1beta3.PodStatus": { "id": "v1beta3.PodStatus", "properties": { @@ -6936,7 +6853,7 @@ "description": "human readable message indicating details about why the pod is in this condition" }, "phase": { - "type": "string", + "$ref": "v1beta3.PodPhase", "description": "current condition of the pod." }, "podIP": { @@ -6949,7 +6866,7 @@ "id": "v1beta3.PodTemplateSpec", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "creationTimestamp": { @@ -6965,7 +6882,7 @@ "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" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -6989,7 +6906,7 @@ "description": "specification of the desired behavior of the pod; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -7025,7 +6942,7 @@ "id": "v1beta3.ReplicationController", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -7049,7 +6966,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -7077,7 +6994,7 @@ "description": "most recently observed status of the replication controller; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -7125,7 +7042,7 @@ "description": "number of replicas desired" }, "selector": { - "type": "any", + "$ref": "v1beta3.ReplicationControllerSpec.selector", "description": "label keys and values that must match in order to be controlled by this replication controller" }, "template": { @@ -7138,6 +7055,10 @@ } } }, + "v1beta3.ReplicationControllerSpec.selector": { + "id": "v1beta3.ReplicationControllerSpec.selector", + "properties": {} + }, "v1beta3.ReplicationControllerStatus": { "id": "v1beta3.ReplicationControllerStatus", "required": [ @@ -7155,7 +7076,7 @@ "id": "v1beta3.ResourceQuota", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -7179,7 +7100,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -7207,7 +7128,7 @@ "description": "status defines the actual enforced quota and current usage; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -7247,7 +7168,7 @@ "id": "v1beta3.ResourceQuotaSpec", "properties": { "hard": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "hard is the set of desired hard limits for each named resource" } } @@ -7256,11 +7177,11 @@ "id": "v1beta3.ResourceQuotaStatus", "properties": { "hard": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "hard is the set of enforced hard limits for each named resource" }, "used": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "used is the current observed total usage of the resource in the namespace" } } @@ -7269,11 +7190,11 @@ "id": "v1beta3.ResourceRequirements", "properties": { "limits": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "Maximum amount of compute resources allowed" }, "requests": { - "type": "any", + "$ref": "v1beta3.ResourceList", "description": "Minimum amount of resources requested" } } @@ -7282,7 +7203,7 @@ "id": "v1beta3.Secret", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -7294,7 +7215,7 @@ "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" }, "data": { - "type": "any", + "$ref": "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": { @@ -7310,7 +7231,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -7330,15 +7251,19 @@ "description": "URL for the object; populated by the system, read-only" }, "type": { - "type": "string", + "$ref": "v1beta3.SecretType", "description": "type facilitates programmatic handling of secret data" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } }, + "v1beta3.Secret.data": { + "id": "v1beta3.Secret.data", + "properties": {} + }, "v1beta3.SecretList": { "id": "v1beta3.SecretList", "required": [ @@ -7370,23 +7295,11 @@ } } }, - "v1beta3.SecretVolumeSource": { - "id": "v1beta3.SecretVolumeSource", - "required": [ - "secretName" - ], - "properties": { - "secretName": { - "type": "string", - "description": "secretName is the name of a secret in the pod's namespace" - } - } - }, "v1beta3.Service": { "id": "v1beta3.Service", "properties": { "annotations": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.annotations", "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects" }, "apiVersion": { @@ -7410,7 +7323,7 @@ "description": "kind of object, in CamelCase; cannot be updated" }, "labels": { - "type": "any", + "$ref": "v1beta3.ObjectMeta.labels", "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": { @@ -7438,7 +7351,7 @@ "description": "most recently observed status of the service; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status" }, "uid": { - "type": "string", + "$ref": "types.UID", "description": "unique UUID across space and time; populated by the system; read-only" } } @@ -7493,7 +7406,7 @@ "description": "the port number that is exposed" }, "protocol": { - "type": "string", + "$ref": "v1beta3.Protocol", "description": "the protocol used by this port; must be UDP or TCP; TCP if unspecified" }, "targetPort": { @@ -7532,15 +7445,19 @@ "description": "externally visible IPs (e.g. load balancers) that should be proxied to this service" }, "selector": { - "type": "any", + "$ref": "v1beta3.ServiceSpec.selector", "description": "label keys and values that must match in order to receive traffic for this service; if empty, all pods are selected, if not specified, endpoints must be manually specified" }, "sessionAffinity": { - "type": "string", + "$ref": "v1beta3.AffinityType", "description": "enable client IP based session affinity; must be ClientIP or None; defaults to None" } } }, + "v1beta3.ServiceSpec.selector": { + "id": "v1beta3.ServiceSpec.selector", + "properties": {} + }, "v1beta3.ServiceStatus": { "id": "v1beta3.ServiceStatus", "properties": {}