// Optional: what happens to a persistent volume when released from its claim.
PersistentVolumeReclaimPolicyPersistentVolumeReclaimPolicy`json:"persistentVolumeReclaimPolicy,omitempty" description:"what happens to a volume when released from its claim; Valid options are Retain (default) and Recycle. Recyling must be supported by the volume plugin underlying this persistent volume."`
// Handler defines a specific action that should be taken
...
...
@@ -919,7 +919,7 @@ type PodSpec struct {
// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
// in the case of docker, only DockerConfig type secrets are honored.
ImagePullSecrets[]LocalObjectReference`json:"imagePullSecrets,omitempty" description:"list of references to secrets in the same namespace available for pulling the container images"`
// LoadBalancerIngress represents the status of a load-balancer ingress point:
...
...
@@ -1110,11 +1110,11 @@ type LoadBalancerStatus struct {
typeLoadBalancerIngressstruct{
// IP is set for load-balancer ingress points that are IP based
// (typically GCE or OpenStack load-balancers)
IPstring`json:"ip,omitempty" description:"IP address of ingress point"`
IPstring`json:"ip,omitempty"`
// Hostname is set for load-balancer ingress points that are DNS based
// (typically AWS load-balancers)
Hostnamestring`json:"hostname,omitempty" description:"hostname of ingress point"`
Hostnamestring`json:"hostname,omitempty"`
}
// ServiceSpec describes the attributes that a user creates on a service
...
...
@@ -1169,7 +1169,7 @@ type ServicePort struct {
// The port on each node on which this service is exposed.
// Default is to auto-allocate a port if the ServiceType of this Service requires one.
NodePortint`json:"nodePort" description:"the port on each node on which this service is exposed"`
NodePortint`json:"nodePort"`
}
// Service is a named abstraction of software service (for example, mysql) consisting of local port
...
...
@@ -1200,7 +1200,7 @@ type ServiceAccount struct {
// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
// in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
ImagePullSecrets[]LocalObjectReference`json:"imagePullSecrets,omitempty" description:"list of references to secrets in the same namespace available for pulling container images"`