Update ingress godeps
This commit is contained in:
parent
d43021b3f1
commit
28db8fb16d
1068 changed files with 461467 additions and 117300 deletions
185
vendor/k8s.io/kubernetes/pkg/api/v1/generated.proto
generated
vendored
185
vendor/k8s.io/kubernetes/pkg/api/v1/generated.proto
generated
vendored
|
|
@ -80,6 +80,36 @@ message AttachedVolume {
|
|||
optional string devicePath = 2;
|
||||
}
|
||||
|
||||
// AvoidPods describes pods that should avoid this node. This is the value for a
|
||||
// Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and
|
||||
// will eventually become a field of NodeStatus.
|
||||
message AvoidPods {
|
||||
// Bounded-sized list of signatures of pods that should avoid this node, sorted
|
||||
// in timestamp order from oldest to newest. Size of the slice is unspecified.
|
||||
repeated PreferAvoidPodsEntry preferAvoidPods = 1;
|
||||
}
|
||||
|
||||
// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
||||
message AzureDiskVolumeSource {
|
||||
// The Name of the data disk in the blob storage
|
||||
optional string diskName = 1;
|
||||
|
||||
// The URI the data disk in the blob storage
|
||||
optional string diskURI = 2;
|
||||
|
||||
// Host Caching mode: None, Read Only, Read Write.
|
||||
optional string cachingMode = 3;
|
||||
|
||||
// Filesystem type to mount.
|
||||
// Must be a filesystem type supported by the host operating system.
|
||||
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
||||
optional string fsType = 4;
|
||||
|
||||
// Defaults to false (read/write). ReadOnly here will force
|
||||
// the ReadOnly setting in VolumeMounts.
|
||||
optional bool readOnly = 5;
|
||||
}
|
||||
|
||||
// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
||||
message AzureFileVolumeSource {
|
||||
// the name of secret that contains Azure Storage Account Name and Key
|
||||
|
|
@ -247,6 +277,13 @@ message ConfigMapVolumeSource {
|
|||
// the volume setup will error. Paths must be relative and may not contain
|
||||
// the '..' path or start with '..'.
|
||||
repeated KeyToPath items = 2;
|
||||
|
||||
// Optional: mode bits to use on created files by default. Must be a
|
||||
// value between 0 and 0777. Defaults to 0644.
|
||||
// Directories within the path are not affected by this setting.
|
||||
// This might be in conflict with other options that affect the file
|
||||
// mode, like fsGroup, and the result can be other mode bits set.
|
||||
optional int32 defaultMode = 3;
|
||||
}
|
||||
|
||||
// A single application container that you want to run within a pod.
|
||||
|
|
@ -517,6 +554,12 @@ message DownwardAPIVolumeFile {
|
|||
// Selects a resource of the container: only resources limits and requests
|
||||
// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
||||
optional ResourceFieldSelector resourceFieldRef = 3;
|
||||
|
||||
// Optional: mode bits to use on this file, must be a value between 0
|
||||
// and 0777. If not specified, the volume defaultMode will be used.
|
||||
// This might be in conflict with other options that affect the file
|
||||
// mode, like fsGroup, and the result can be other mode bits set.
|
||||
optional int32 mode = 4;
|
||||
}
|
||||
|
||||
// DownwardAPIVolumeSource represents a volume containing downward API info.
|
||||
|
|
@ -524,6 +567,13 @@ message DownwardAPIVolumeFile {
|
|||
message DownwardAPIVolumeSource {
|
||||
// Items is a list of downward API volume file
|
||||
repeated DownwardAPIVolumeFile items = 1;
|
||||
|
||||
// Optional: mode bits to use on created files by default. Must be a
|
||||
// value between 0 and 0777. Defaults to 0644.
|
||||
// Directories within the path are not affected by this setting.
|
||||
// This might be in conflict with other options that affect the file
|
||||
// mode, like fsGroup, and the result can be other mode bits set.
|
||||
optional int32 defaultMode = 2;
|
||||
}
|
||||
|
||||
// Represents an empty directory for a pod.
|
||||
|
|
@ -549,6 +599,9 @@ message EndpointAddress {
|
|||
// The Hostname of this endpoint
|
||||
optional string hostname = 3;
|
||||
|
||||
// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
|
||||
optional string nodeName = 4;
|
||||
|
||||
// Reference to object providing the endpoint.
|
||||
optional ObjectReference targetRef = 2;
|
||||
}
|
||||
|
|
@ -651,7 +704,8 @@ message EnvVar {
|
|||
|
||||
// EnvVarSource represents a source for the value of an EnvVar.
|
||||
message EnvVarSource {
|
||||
// Selects a field of the pod; only name and namespace are supported.
|
||||
// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
|
||||
// spec.nodeName, spec.serviceAccountName, status.podIP.
|
||||
optional ObjectFieldSelector fieldRef = 1;
|
||||
|
||||
// Selects a resource of the container: only resources limits and requests
|
||||
|
|
@ -951,6 +1005,12 @@ message KeyToPath {
|
|||
// May not contain the path element '..'.
|
||||
// May not start with the string '..'.
|
||||
optional string path = 2;
|
||||
|
||||
// Optional: mode bits to use on this file, must be a value between 0
|
||||
// and 0777. If not specified, the volume defaultMode will be used.
|
||||
// This might be in conflict with other options that affect the file
|
||||
// mode, like fsGroup, and the result can be other mode bits set.
|
||||
optional int32 mode = 3;
|
||||
}
|
||||
|
||||
// Lifecycle describes actions that the management system should take in response to container lifecycle
|
||||
|
|
@ -1292,6 +1352,7 @@ message NodeStatus {
|
|||
|
||||
// NodePhase is the recently observed lifecycle phase of the node.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase
|
||||
// The field is never populated, and now is deprecated.
|
||||
optional string phase = 3;
|
||||
|
||||
// Conditions is an array of current observed node conditions.
|
||||
|
|
@ -1466,7 +1527,6 @@ message ObjectMeta {
|
|||
// (scope and select) objects. May match selectors of replication controllers
|
||||
// and services.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md
|
||||
// TODO: replace map[string]string with labels.LabelSet type
|
||||
map<string, string> labels = 11;
|
||||
|
||||
// Annotations is an unstructured key value map stored with a resource that may be
|
||||
|
|
@ -1486,6 +1546,11 @@ message ObjectMeta {
|
|||
// from the list. If the deletionTimestamp of the object is non-nil, entries
|
||||
// in this list can only be removed.
|
||||
repeated string finalizers = 14;
|
||||
|
||||
// The name of the cluster which the object belongs to.
|
||||
// This is used to distinguish resources with same name and namespace in different clusters.
|
||||
// This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
|
||||
optional string clusterName = 15;
|
||||
}
|
||||
|
||||
// ObjectReference contains enough information to let you inspect or modify the referred object.
|
||||
|
|
@ -1710,6 +1775,12 @@ message PersistentVolumeSource {
|
|||
|
||||
// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
||||
optional VsphereVirtualDiskVolumeSource vsphereVolume = 14;
|
||||
|
||||
// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
||||
optional QuobyteVolumeSource quobyte = 15;
|
||||
|
||||
// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
||||
optional AzureDiskVolumeSource azureDisk = 16;
|
||||
}
|
||||
|
||||
// PersistentVolumeSpec is the specification of a persistent volume.
|
||||
|
|
@ -2040,6 +2111,13 @@ message PodSecurityContext {
|
|||
optional int64 fsGroup = 5;
|
||||
}
|
||||
|
||||
// Describes the class of pods that should avoid this node.
|
||||
// Exactly one field should be set.
|
||||
message PodSignature {
|
||||
// Reference to controller whose pods should avoid this node.
|
||||
optional OwnerReference podController = 1;
|
||||
}
|
||||
|
||||
// PodSpec is a description of a pod.
|
||||
message PodSpec {
|
||||
// List of volumes that can be mounted by containers belonging to the pod.
|
||||
|
|
@ -2219,6 +2297,21 @@ message Preconditions {
|
|||
optional string uid = 1;
|
||||
}
|
||||
|
||||
// Describes a class of pods that should avoid this node.
|
||||
message PreferAvoidPodsEntry {
|
||||
// The class of pods.
|
||||
optional PodSignature podSignature = 1;
|
||||
|
||||
// Time at which this entry was added to the list.
|
||||
optional k8s.io.kubernetes.pkg.api.unversioned.Time evictionTime = 2;
|
||||
|
||||
// (brief) reason why this entry was added to the list.
|
||||
optional string reason = 3;
|
||||
|
||||
// Human readable message indicating why this entry was added to the list.
|
||||
optional string message = 4;
|
||||
}
|
||||
|
||||
// An empty preferred scheduling term matches all objects with implicit weight 0
|
||||
// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
|
||||
message PreferredSchedulingTerm {
|
||||
|
|
@ -2257,6 +2350,30 @@ message Probe {
|
|||
optional int32 failureThreshold = 6;
|
||||
}
|
||||
|
||||
// Represents a Quobyte mount that lasts the lifetime of a pod.
|
||||
// Quobyte volumes do not support ownership management or SELinux relabeling.
|
||||
message QuobyteVolumeSource {
|
||||
// Registry represents a single or multiple Quobyte Registry services
|
||||
// specified as a string as host:port pair (multiple entries are separated with commas)
|
||||
// which acts as the central registry for volumes
|
||||
optional string registry = 1;
|
||||
|
||||
// Volume is a string that references an already created Quobyte volume by name.
|
||||
optional string volume = 2;
|
||||
|
||||
// ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.
|
||||
// Defaults to false.
|
||||
optional bool readOnly = 3;
|
||||
|
||||
// User to map volume access to
|
||||
// Defaults to serivceaccount user
|
||||
optional string user = 4;
|
||||
|
||||
// Group to map volume access to
|
||||
// Default is no group
|
||||
optional string group = 5;
|
||||
}
|
||||
|
||||
// Represents a Rados Block Device mount that lasts the lifetime of a pod.
|
||||
// RBD volumes support ownership management and SELinux relabeling.
|
||||
message RBDVolumeSource {
|
||||
|
|
@ -2376,6 +2493,9 @@ message ReplicationControllerStatus {
|
|||
// The number of pods that have labels matching the labels of the pod template of the replication controller.
|
||||
optional int32 fullyLabeledReplicas = 2;
|
||||
|
||||
// The number of ready replicas for this replication controller.
|
||||
optional int32 readyReplicas = 4;
|
||||
|
||||
// ObservedGeneration reflects the generation of the most recently observed replication controller.
|
||||
optional int64 observedGeneration = 3;
|
||||
}
|
||||
|
|
@ -2442,13 +2562,13 @@ message ResourceQuotaStatus {
|
|||
// ResourceRequirements describes the compute resource requirements.
|
||||
message ResourceRequirements {
|
||||
// Limits describes the maximum amount of compute resources allowed.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/design/resources.md#resource-specifications
|
||||
// More info: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
map<string, k8s.io.kubernetes.pkg.api.resource.Quantity> limits = 1;
|
||||
|
||||
// Requests describes the minimum amount of compute resources required.
|
||||
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
||||
// otherwise to an implementation-defined value.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/design/resources.md#resource-specifications
|
||||
// More info: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
map<string, k8s.io.kubernetes.pkg.api.resource.Quantity> requests = 2;
|
||||
}
|
||||
|
||||
|
|
@ -2530,6 +2650,13 @@ message SecretVolumeSource {
|
|||
// the volume setup will error. Paths must be relative and may not contain
|
||||
// the '..' path or start with '..'.
|
||||
repeated KeyToPath items = 2;
|
||||
|
||||
// Optional: mode bits to use on created files by default. Must be a
|
||||
// value between 0 and 0777. Defaults to 0644.
|
||||
// Directories within the path are not affected by this setting.
|
||||
// This might be in conflict with other options that affect the file
|
||||
// mode, like fsGroup, and the result can be other mode bits set.
|
||||
optional int32 defaultMode = 3;
|
||||
}
|
||||
|
||||
// SecurityContext holds security configuration that will be applied to a container.
|
||||
|
|
@ -2685,24 +2812,39 @@ message ServiceSpec {
|
|||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies
|
||||
repeated ServicePort ports = 1;
|
||||
|
||||
// This service will route traffic to pods having labels matching this selector.
|
||||
// Label keys and values that must match in order to receive traffic for this service.
|
||||
// If not specified, endpoints must be manually specified and the system will not automatically manage them.
|
||||
// Route service traffic to pods with label keys and values matching this
|
||||
// selector. If empty or not present, the service is assumed to have an
|
||||
// external process managing its endpoints, which Kubernetes will not
|
||||
// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
|
||||
// Ignored if type is ExternalName.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview
|
||||
map<string, string> selector = 2;
|
||||
|
||||
// ClusterIP is usually assigned by the master and is the IP address of the service.
|
||||
// If specified, it will be allocated to the service if it is unused
|
||||
// or else creation of the service will fail.
|
||||
// Valid values are None, empty string (""), or a valid IP address.
|
||||
// 'None' can be specified for a headless service when proxying is not required.
|
||||
// Cannot be updated.
|
||||
// clusterIP is the IP address of the service and is usually assigned
|
||||
// randomly by the master. If an address is specified manually and is not in
|
||||
// use by others, it will be allocated to the service; otherwise, creation
|
||||
// of the service will fail. This field can not be changed through updates.
|
||||
// Valid values are "None", empty string (""), or a valid IP address. "None"
|
||||
// can be specified for headless services when proxying is not required.
|
||||
// Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if
|
||||
// type is ExternalName.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies
|
||||
optional string clusterIP = 3;
|
||||
|
||||
// Type of exposed service. Must be ClusterIP, NodePort, or LoadBalancer.
|
||||
// Defaults to ClusterIP.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#external-services
|
||||
// type determines how the Service is exposed. Defaults to ClusterIP. Valid
|
||||
// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
|
||||
// "ExternalName" maps to the specified externalName.
|
||||
// "ClusterIP" allocates a cluster-internal IP address for load-balancing to
|
||||
// endpoints. Endpoints are determined by the selector or if that is not
|
||||
// specified, by manual construction of an Endpoints object. If clusterIP is
|
||||
// "None", no virtual IP is allocated and the endpoints are published as a
|
||||
// set of endpoints rather than a stable IP.
|
||||
// "NodePort" builds on ClusterIP and allocates a port on every node which
|
||||
// routes to the clusterIP.
|
||||
// "LoadBalancer" builds on NodePort and creates an
|
||||
// external load-balancer (if supported in the current cloud) which routes
|
||||
// to the clusterIP.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview
|
||||
optional string type = 4;
|
||||
|
||||
// externalIPs is a list of IP addresses for which nodes in the cluster
|
||||
|
|
@ -2741,6 +2883,11 @@ message ServiceSpec {
|
|||
// cloud-provider does not support the feature."
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md
|
||||
repeated string loadBalancerSourceRanges = 9;
|
||||
|
||||
// externalName is the external reference that kubedns or equivalent will
|
||||
// return as a CNAME record for this service. No proxying will be involved.
|
||||
// Must be a valid DNS name and requires Type to be ExternalName.
|
||||
optional string externalName = 10;
|
||||
}
|
||||
|
||||
// ServiceStatus represents the current status of a service.
|
||||
|
|
@ -2910,6 +3057,12 @@ message VolumeSource {
|
|||
|
||||
// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
||||
optional VsphereVirtualDiskVolumeSource vsphereVolume = 20;
|
||||
|
||||
// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
||||
optional QuobyteVolumeSource quobyte = 21;
|
||||
|
||||
// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
||||
optional AzureDiskVolumeSource azureDisk = 22;
|
||||
}
|
||||
|
||||
// Represents a vSphere volume resource.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue