Merge pull request #17555 from pmorie/volume-attributes

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-12-15 16:33:13 -08:00
commit d62318e1e8
9 changed files with 600 additions and 549 deletions

View File

@ -13687,7 +13687,7 @@
}, },
"v1.GCEPersistentDiskVolumeSource": { "v1.GCEPersistentDiskVolumeSource": {
"id": "v1.GCEPersistentDiskVolumeSource", "id": "v1.GCEPersistentDiskVolumeSource",
"description": "GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once.", "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once. GCE PDs support ownership management and SELinux relabeling.",
"required": [ "required": [
"pdName", "pdName",
"fsType" "fsType"
@ -13714,7 +13714,7 @@
}, },
"v1.AWSElasticBlockStoreVolumeSource": { "v1.AWSElasticBlockStoreVolumeSource": {
"id": "v1.AWSElasticBlockStoreVolumeSource", "id": "v1.AWSElasticBlockStoreVolumeSource",
"description": "Represents a persistent disk resource in AWS.\n\nAn Amazon Elastic Block Store (EBS) must already be created, formatted, and reside in the same AWS zone as the kubelet before it can be mounted. Note: Amazon EBS volumes can be mounted to only one instance at a time.", "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist and be formatted before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"volumeID", "volumeID",
"fsType" "fsType"
@ -13741,7 +13741,7 @@
}, },
"v1.HostPathVolumeSource": { "v1.HostPathVolumeSource": {
"id": "v1.HostPathVolumeSource", "id": "v1.HostPathVolumeSource",
"description": "HostPathVolumeSource represents bare host directory volume.", "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"path" "path"
], ],
@ -13754,7 +13754,7 @@
}, },
"v1.GlusterfsVolumeSource": { "v1.GlusterfsVolumeSource": {
"id": "v1.GlusterfsVolumeSource", "id": "v1.GlusterfsVolumeSource",
"description": "GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.", "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"endpoints", "endpoints",
"path" "path"
@ -13776,7 +13776,7 @@
}, },
"v1.NFSVolumeSource": { "v1.NFSVolumeSource": {
"id": "v1.NFSVolumeSource", "id": "v1.NFSVolumeSource",
"description": "NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod", "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"server", "server",
"path" "path"
@ -13798,7 +13798,7 @@
}, },
"v1.RBDVolumeSource": { "v1.RBDVolumeSource": {
"id": "v1.RBDVolumeSource", "id": "v1.RBDVolumeSource",
"description": "RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod", "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"monitors", "monitors",
"image", "image",
@ -13857,7 +13857,7 @@
}, },
"v1.ISCSIVolumeSource": { "v1.ISCSIVolumeSource": {
"id": "v1.ISCSIVolumeSource", "id": "v1.ISCSIVolumeSource",
"description": "ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once.", "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"targetPortal", "targetPortal",
"iqn", "iqn",
@ -13894,7 +13894,7 @@
}, },
"v1.CinderVolumeSource": { "v1.CinderVolumeSource": {
"id": "v1.CinderVolumeSource", "id": "v1.CinderVolumeSource",
"description": "CinderVolumeSource represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet.", "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"volumeID" "volumeID"
], ],
@ -13915,7 +13915,7 @@
}, },
"v1.CephFSVolumeSource": { "v1.CephFSVolumeSource": {
"id": "v1.CephFSVolumeSource", "id": "v1.CephFSVolumeSource",
"description": "CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod", "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"monitors" "monitors"
], ],
@ -13947,7 +13947,7 @@
}, },
"v1.FCVolumeSource": { "v1.FCVolumeSource": {
"id": "v1.FCVolumeSource", "id": "v1.FCVolumeSource",
"description": "A Fibre Channel Disk can only be mounted as read/write once.", "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"targetWWNs", "targetWWNs",
"lun", "lun",
@ -13978,7 +13978,7 @@
}, },
"v1.FlockerVolumeSource": { "v1.FlockerVolumeSource": {
"id": "v1.FlockerVolumeSource", "id": "v1.FlockerVolumeSource",
"description": "FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent.", "description": "Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"datasetName" "datasetName"
], ],
@ -14220,7 +14220,7 @@
}, },
"v1.EmptyDirVolumeSource": { "v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource", "id": "v1.EmptyDirVolumeSource",
"description": "EmptyDirVolumeSource is temporary directory that shares a pod's lifetime.", "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
"properties": { "properties": {
"medium": { "medium": {
"type": "string", "type": "string",
@ -14230,7 +14230,7 @@
}, },
"v1.GitRepoVolumeSource": { "v1.GitRepoVolumeSource": {
"id": "v1.GitRepoVolumeSource", "id": "v1.GitRepoVolumeSource",
"description": "GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.", "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.",
"required": [ "required": [
"repository" "repository"
], ],
@ -14251,7 +14251,7 @@
}, },
"v1.SecretVolumeSource": { "v1.SecretVolumeSource": {
"id": "v1.SecretVolumeSource", "id": "v1.SecretVolumeSource",
"description": "SecretVolumeSource adapts a Secret into a VolumeSource. More info: http://releases.k8s.io/HEAD/docs/design/secrets.md", "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"secretName" "secretName"
], ],
@ -14281,7 +14281,7 @@
}, },
"v1.DownwardAPIVolumeSource": { "v1.DownwardAPIVolumeSource": {
"id": "v1.DownwardAPIVolumeSource", "id": "v1.DownwardAPIVolumeSource",
"description": "DownwardAPIVolumeSource represents a volume containing downward API info", "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
"properties": { "properties": {
"items": { "items": {
"type": "array", "type": "array",

View File

@ -3396,7 +3396,7 @@
}, },
"v1.HostPathVolumeSource": { "v1.HostPathVolumeSource": {
"id": "v1.HostPathVolumeSource", "id": "v1.HostPathVolumeSource",
"description": "HostPathVolumeSource represents bare host directory volume.", "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"path" "path"
], ],
@ -3409,7 +3409,7 @@
}, },
"v1.EmptyDirVolumeSource": { "v1.EmptyDirVolumeSource": {
"id": "v1.EmptyDirVolumeSource", "id": "v1.EmptyDirVolumeSource",
"description": "EmptyDirVolumeSource is temporary directory that shares a pod's lifetime.", "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
"properties": { "properties": {
"medium": { "medium": {
"type": "string", "type": "string",
@ -3419,7 +3419,7 @@
}, },
"v1.GCEPersistentDiskVolumeSource": { "v1.GCEPersistentDiskVolumeSource": {
"id": "v1.GCEPersistentDiskVolumeSource", "id": "v1.GCEPersistentDiskVolumeSource",
"description": "GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once.", "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once. GCE PDs support ownership management and SELinux relabeling.",
"required": [ "required": [
"pdName", "pdName",
"fsType" "fsType"
@ -3446,7 +3446,7 @@
}, },
"v1.AWSElasticBlockStoreVolumeSource": { "v1.AWSElasticBlockStoreVolumeSource": {
"id": "v1.AWSElasticBlockStoreVolumeSource", "id": "v1.AWSElasticBlockStoreVolumeSource",
"description": "Represents a persistent disk resource in AWS.\n\nAn Amazon Elastic Block Store (EBS) must already be created, formatted, and reside in the same AWS zone as the kubelet before it can be mounted. Note: Amazon EBS volumes can be mounted to only one instance at a time.", "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist and be formatted before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"volumeID", "volumeID",
"fsType" "fsType"
@ -3473,7 +3473,7 @@
}, },
"v1.GitRepoVolumeSource": { "v1.GitRepoVolumeSource": {
"id": "v1.GitRepoVolumeSource", "id": "v1.GitRepoVolumeSource",
"description": "GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.", "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.",
"required": [ "required": [
"repository" "repository"
], ],
@ -3494,7 +3494,7 @@
}, },
"v1.SecretVolumeSource": { "v1.SecretVolumeSource": {
"id": "v1.SecretVolumeSource", "id": "v1.SecretVolumeSource",
"description": "SecretVolumeSource adapts a Secret into a VolumeSource. More info: http://releases.k8s.io/HEAD/docs/design/secrets.md", "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"secretName" "secretName"
], ],
@ -3507,7 +3507,7 @@
}, },
"v1.NFSVolumeSource": { "v1.NFSVolumeSource": {
"id": "v1.NFSVolumeSource", "id": "v1.NFSVolumeSource",
"description": "NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod", "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"server", "server",
"path" "path"
@ -3529,7 +3529,7 @@
}, },
"v1.ISCSIVolumeSource": { "v1.ISCSIVolumeSource": {
"id": "v1.ISCSIVolumeSource", "id": "v1.ISCSIVolumeSource",
"description": "ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once.", "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"targetPortal", "targetPortal",
"iqn", "iqn",
@ -3566,7 +3566,7 @@
}, },
"v1.GlusterfsVolumeSource": { "v1.GlusterfsVolumeSource": {
"id": "v1.GlusterfsVolumeSource", "id": "v1.GlusterfsVolumeSource",
"description": "GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.", "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"endpoints", "endpoints",
"path" "path"
@ -3605,7 +3605,7 @@
}, },
"v1.RBDVolumeSource": { "v1.RBDVolumeSource": {
"id": "v1.RBDVolumeSource", "id": "v1.RBDVolumeSource",
"description": "RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod", "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"monitors", "monitors",
"image", "image",
@ -3664,7 +3664,7 @@
}, },
"v1.CinderVolumeSource": { "v1.CinderVolumeSource": {
"id": "v1.CinderVolumeSource", "id": "v1.CinderVolumeSource",
"description": "CinderVolumeSource represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet.", "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"volumeID" "volumeID"
], ],
@ -3685,7 +3685,7 @@
}, },
"v1.CephFSVolumeSource": { "v1.CephFSVolumeSource": {
"id": "v1.CephFSVolumeSource", "id": "v1.CephFSVolumeSource",
"description": "CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod", "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"monitors" "monitors"
], ],
@ -3717,7 +3717,7 @@
}, },
"v1.FlockerVolumeSource": { "v1.FlockerVolumeSource": {
"id": "v1.FlockerVolumeSource", "id": "v1.FlockerVolumeSource",
"description": "FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent.", "description": "Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.",
"required": [ "required": [
"datasetName" "datasetName"
], ],
@ -3730,7 +3730,7 @@
}, },
"v1.DownwardAPIVolumeSource": { "v1.DownwardAPIVolumeSource": {
"id": "v1.DownwardAPIVolumeSource", "id": "v1.DownwardAPIVolumeSource",
"description": "DownwardAPIVolumeSource represents a volume containing downward API info", "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
"properties": { "properties": {
"items": { "items": {
"type": "array", "type": "array",
@ -3778,7 +3778,7 @@
}, },
"v1.FCVolumeSource": { "v1.FCVolumeSource": {
"id": "v1.FCVolumeSource", "id": "v1.FCVolumeSource",
"description": "A Fibre Channel Disk can only be mounted as read/write once.", "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
"required": [ "required": [
"targetWWNs", "targetWWNs",
"lun", "lun",

View File

@ -688,7 +688,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_nfsvolumesource">v1.NFSVolumeSource</h3> <h3 id="_v1_nfsvolumesource">v1.NFSVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod</p> <p>Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -777,7 +777,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_cephfsvolumesource">v1.CephFSVolumeSource</h3> <h3 id="_v1_cephfsvolumesource">v1.CephFSVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod</p> <p>Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -901,7 +901,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_fcvolumesource">v1.FCVolumeSource</h3> <h3 id="_v1_fcvolumesource">v1.FCVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>A Fibre Channel Disk can only be mounted as read/write once.</p> <p>Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -990,7 +990,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_downwardapivolumesource">v1.DownwardAPIVolumeSource</h3> <h3 id="_v1_downwardapivolumesource">v1.DownwardAPIVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>DownwardAPIVolumeSource represents a volume containing downward API info</p> <p>DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -1076,10 +1076,10 @@ Examples:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_gcepersistentdiskvolumesource">v1.GCEPersistentDiskVolumeSource</h3> <h3 id="_v1_gcepersistentdiskvolumesource">v1.GCEPersistentDiskVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.</p> <p>Represents a Persistent Disk resource in Google Compute Engine.</p>
</div> </div>
<div class="paragraph"> <div class="paragraph">
<p>A GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once.</p> <p>A GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once. GCE PDs support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -1358,7 +1358,7 @@ Both these may change in the future. Incoming requests are matched against the h
<div class="sect2"> <div class="sect2">
<h3 id="_v1_gitrepovolumesource">v1.GitRepoVolumeSource</h3> <h3 id="_v1_gitrepovolumesource">v1.GitRepoVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.</p> <p>Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2087,7 +2087,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_hostpathvolumesource">v1.HostPathVolumeSource</h3> <h3 id="_v1_hostpathvolumesource">v1.HostPathVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>HostPathVolumeSource represents bare host directory volume.</p> <p>Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2121,7 +2121,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_iscsivolumesource">v1.ISCSIVolumeSource</h3> <h3 id="_v1_iscsivolumesource">v1.ISCSIVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once.</p> <p>Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2283,7 +2283,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_emptydirvolumesource">v1.EmptyDirVolumeSource</h3> <h3 id="_v1_emptydirvolumesource">v1.EmptyDirVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>EmptyDirVolumeSource is temporary directory that shares a pod&#8217;s lifetime.</p> <p>Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2357,7 +2357,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_cindervolumesource">v1.CinderVolumeSource</h3> <h3 id="_v1_cindervolumesource">v1.CinderVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>CinderVolumeSource represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet.</p> <p>Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2467,10 +2467,10 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3> <h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>Represents a persistent disk resource in AWS.</p> <p>Represents a Persistent Disk resource in AWS.</p>
</div> </div>
<div class="paragraph"> <div class="paragraph">
<p>An Amazon Elastic Block Store (EBS) must already be created, formatted, and reside in the same AWS zone as the kubelet before it can be mounted. Note: Amazon EBS volumes can be mounted to only one instance at a time.</p> <p>An AWS EBS disk must exist and be formatted before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2566,7 +2566,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3> <h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent.</p> <p>Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2854,7 +2854,10 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_secretvolumesource">v1.SecretVolumeSource</h3> <h3 id="_v1_secretvolumesource">v1.SecretVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>SecretVolumeSource adapts a Secret into a VolumeSource. More info: <a href="http://releases.k8s.io/HEAD/docs/design/secrets.md">http://releases.k8s.io/HEAD/docs/design/secrets.md</a></p> <p>Adapts a Secret into a volume.</p>
</div>
<div class="paragraph">
<p>The contents of the target Secret&#8217;s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -3916,7 +3919,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_glusterfsvolumesource">v1.GlusterfsVolumeSource</h3> <h3 id="_v1_glusterfsvolumesource">v1.GlusterfsVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.</p> <p>Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -4184,7 +4187,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_rbdvolumesource">v1.RBDVolumeSource</h3> <h3 id="_v1_rbdvolumesource">v1.RBDVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod</p> <p>Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -4275,7 +4278,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2015-12-07 03:51:23 UTC Last updated 2015-12-14 19:06:25 UTC
</div> </div>
</div> </div>
</body> </body>

View File

@ -818,7 +818,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_cephfsvolumesource">v1.CephFSVolumeSource</h3> <h3 id="_v1_cephfsvolumesource">v1.CephFSVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod</p> <p>Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -880,7 +880,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2"> <div class="sect2">
<h3 id="_v1_downwardapivolumesource">v1.DownwardAPIVolumeSource</h3> <h3 id="_v1_downwardapivolumesource">v1.DownwardAPIVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>DownwardAPIVolumeSource represents a volume containing downward API info</p> <p>DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -966,10 +966,10 @@ Examples:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_gcepersistentdiskvolumesource">v1.GCEPersistentDiskVolumeSource</h3> <h3 id="_v1_gcepersistentdiskvolumesource">v1.GCEPersistentDiskVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.</p> <p>Represents a Persistent Disk resource in Google Compute Engine.</p>
</div> </div>
<div class="paragraph"> <div class="paragraph">
<p>A GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once.</p> <p>A GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once. GCE PDs support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -1291,7 +1291,7 @@ Examples:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_gitrepovolumesource">v1.GitRepoVolumeSource</h3> <h3 id="_v1_gitrepovolumesource">v1.GitRepoVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.</p> <p>Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -1772,7 +1772,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_iscsivolumesource">v1.ISCSIVolumeSource</h3> <h3 id="_v1_iscsivolumesource">v1.ISCSIVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once.</p> <p>Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -1841,7 +1841,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_emptydirvolumesource">v1.EmptyDirVolumeSource</h3> <h3 id="_v1_emptydirvolumesource">v1.EmptyDirVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>EmptyDirVolumeSource is temporary directory that shares a pod&#8217;s lifetime.</p> <p>Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2218,7 +2218,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<div class="sect2"> <div class="sect2">
<h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3> <h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent.</p> <p>Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -2492,7 +2492,10 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_secretvolumesource">v1.SecretVolumeSource</h3> <h3 id="_v1_secretvolumesource">v1.SecretVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>SecretVolumeSource adapts a Secret into a VolumeSource. More info: <a href="http://releases.k8s.io/HEAD/docs/design/secrets.md">http://releases.k8s.io/HEAD/docs/design/secrets.md</a></p> <p>Adapts a Secret into a volume.</p>
</div>
<div class="paragraph">
<p>The contents of the target Secret&#8217;s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -3834,7 +3837,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_glusterfsvolumesource">v1.GlusterfsVolumeSource</h3> <h3 id="_v1_glusterfsvolumesource">v1.GlusterfsVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.</p> <p>Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -4040,7 +4043,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_rbdvolumesource">v1.RBDVolumeSource</h3> <h3 id="_v1_rbdvolumesource">v1.RBDVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod</p> <p>Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -4212,7 +4215,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_nfsvolumesource">v1.NFSVolumeSource</h3> <h3 id="_v1_nfsvolumesource">v1.NFSVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod</p> <p>Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -4260,7 +4263,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_fcvolumesource">v1.FCVolumeSource</h3> <h3 id="_v1_fcvolumesource">v1.FCVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>A Fibre Channel Disk can only be mounted as read/write once.</p> <p>Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -5162,7 +5165,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_hostpathvolumesource">v1.HostPathVolumeSource</h3> <h3 id="_v1_hostpathvolumesource">v1.HostPathVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>HostPathVolumeSource represents bare host directory volume.</p> <p>Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -5365,7 +5368,7 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_cindervolumesource">v1.CinderVolumeSource</h3> <h3 id="_v1_cindervolumesource">v1.CinderVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>CinderVolumeSource represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet.</p> <p>Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -5523,10 +5526,10 @@ The resulting set of endpoints can be viewed as:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3> <h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>Represents a persistent disk resource in AWS.</p> <p>Represents a Persistent Disk resource in AWS.</p>
</div> </div>
<div class="paragraph"> <div class="paragraph">
<p>An Amazon Elastic Block Store (EBS) must already be created, formatted, and reside in the same AWS zone as the kubelet before it can be mounted. Note: Amazon EBS volumes can be mounted to only one instance at a time.</p> <p>An AWS EBS disk must exist and be formatted before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -6908,7 +6911,7 @@ The resulting set of endpoints can be viewed as:<br>
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2015-12-01 22:56:16 UTC Last updated 2015-12-14 19:06:15 UTC
</div> </div>
</div> </div>
</body> </body>

View File

@ -7900,11 +7900,12 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
var yyq511 [1]bool var yyq511 [1]bool
_, _, _ = yysep511, yyq511, yy2arr511 _, _, _ = yysep511, yyq511, yy2arr511
const yyr511 bool = false const yyr511 bool = false
yyq511[0] = x.Medium != ""
var yynn511 int var yynn511 int
if yyr511 || yy2arr511 { if yyr511 || yy2arr511 {
r.EncodeArrayStart(1) r.EncodeArrayStart(1)
} else { } else {
yynn511 = 1 yynn511 = 0
for _, b := range yyq511 { for _, b := range yyq511 {
if b { if b {
yynn511++ yynn511++
@ -7915,12 +7916,18 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
} }
if yyr511 || yy2arr511 { if yyr511 || yy2arr511 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234) z.EncSendContainerState(codecSelfer_containerArrayElem1234)
x.Medium.CodecEncodeSelf(e) if yyq511[0] {
x.Medium.CodecEncodeSelf(e)
} else {
r.EncodeString(codecSelferC_UTF81234, "")
}
} else { } else {
z.EncSendContainerState(codecSelfer_containerMapKey1234) if yyq511[0] {
r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapKey1234)
z.EncSendContainerState(codecSelfer_containerMapValue1234) r.EncodeString(codecSelferC_UTF81234, string("medium"))
x.Medium.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234)
x.Medium.CodecEncodeSelf(e)
}
} }
if yyr511 || yy2arr511 { if yyr511 || yy2arr511 {
z.EncSendContainerState(codecSelfer_containerArrayEnd1234) z.EncSendContainerState(codecSelfer_containerArrayEnd1234)

View File

@ -386,12 +386,14 @@ const (
ClaimBound PersistentVolumeClaimPhase = "Bound" ClaimBound PersistentVolumeClaimPhase = "Bound"
) )
// HostPathVolumeSource represents a host directory mapped into a pod. // Represents a host path mapped into a pod.
// Host path volumes do not support ownership management or SELinux relabeling.
type HostPathVolumeSource struct { type HostPathVolumeSource struct {
Path string `json:"path"` Path string `json:"path"`
} }
// EmptyDirVolumeSource represents an empty directory for a pod. // Represents an empty directory for a pod.
// Empty directory volumes support ownership management and SELinux relabeling.
type EmptyDirVolumeSource struct { type EmptyDirVolumeSource struct {
// TODO: Longer term we want to represent the selection of underlying // TODO: Longer term we want to represent the selection of underlying
// media more like a scheduling problem - user says what traits they // media more like a scheduling problem - user says what traits they
@ -399,7 +401,7 @@ type EmptyDirVolumeSource struct {
// this will cover the most common needs. // this will cover the most common needs.
// Optional: what type of storage medium should back this directory. // Optional: what type of storage medium should back this directory.
// The default is "" which means to use the node's default medium. // The default is "" which means to use the node's default medium.
Medium StorageMedium `json:"medium"` Medium StorageMedium `json:"medium,omitempty"`
} }
// StorageMedium defines ways that storage can be allocated to a volume. // StorageMedium defines ways that storage can be allocated to a volume.
@ -420,11 +422,12 @@ const (
ProtocolUDP Protocol = "UDP" ProtocolUDP Protocol = "UDP"
) )
// GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine. // Represents a Persistent Disk resource in Google Compute Engine.
// //
// A GCE PD must exist and be formatted before mounting to a container. // A GCE PD must exist and be formatted before mounting to a container.
// The disk must also be in the same GCE project and zone as the kubelet. // The disk must also be in the same GCE project and zone as the kubelet.
// A GCE PD can only be mounted as read/write once. // A GCE PD can only be mounted as read/write once.
// GCE PDs support ownership management and SELinux relabeling.
type GCEPersistentDiskVolumeSource struct { type GCEPersistentDiskVolumeSource struct {
// Unique name of the PD resource. Used to identify the disk in GCE // Unique name of the PD resource. Used to identify the disk in GCE
PDName string `json:"pdName"` PDName string `json:"pdName"`
@ -442,7 +445,9 @@ type GCEPersistentDiskVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// A ISCSI Disk can only be mounted as read/write once. // Represents an ISCSI disk.
// ISCSI volumes can only be mounted as read/write once.
// ISCSI volumes support ownership management and SELinux relabeling.
type ISCSIVolumeSource struct { type ISCSIVolumeSource struct {
// Required: iSCSI target portal // Required: iSCSI target portal
// the portal is either an IP or ip_addr:port if port is other than default (typically TCP ports 860 and 3260) // the portal is either an IP or ip_addr:port if port is other than default (typically TCP ports 860 and 3260)
@ -463,7 +468,9 @@ type ISCSIVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// A Fibre Channel Disk can only be mounted as read/write once. // Represents a Fibre Channel volume.
// Fibre Channel volumes can only be mounted as read/write once.
// Fibre Channel volumes support ownership management and SELinux relabeling.
type FCVolumeSource struct { type FCVolumeSource struct {
// Required: FC target world wide names (WWNs) // Required: FC target world wide names (WWNs)
TargetWWNs []string `json:"targetWWNs"` TargetWWNs []string `json:"targetWWNs"`
@ -479,11 +486,12 @@ type FCVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// AWSElasticBlockStoreVolumeSource represents a Persistent Disk resource in AWS. // Represents a Persistent Disk resource in AWS.
// //
// An AWS EBS disk must exist and be formatted before mounting to a container. // An AWS EBS disk must exist and be formatted before mounting to a container.
// The disk must also be in the same AWS zone as the kubelet. // The disk must also be in the same AWS zone as the kubelet.
// A AWS EBS disk can only be mounted as read/write once. // A AWS EBS disk can only be mounted as read/write once.
// AWS EBS volumes support ownership management and SELinux relabeling.
type AWSElasticBlockStoreVolumeSource struct { type AWSElasticBlockStoreVolumeSource struct {
// Unique id of the persistent disk resource. Used to identify the disk in AWS // Unique id of the persistent disk resource. Used to identify the disk in AWS
VolumeID string `json:"volumeID"` VolumeID string `json:"volumeID"`
@ -501,7 +509,9 @@ type AWSElasticBlockStoreVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// GitRepoVolumeSource represents a volume that is pulled from git when the pod is created. // Represents a volume that is populated with the contents of a git repository.
// Git repo volumes do not support ownership management.
// Git repo volumes support SELinux relabeling.
type GitRepoVolumeSource struct { type GitRepoVolumeSource struct {
// Repository URL // Repository URL
Repository string `json:"repository"` Repository string `json:"repository"`
@ -515,16 +525,18 @@ type GitRepoVolumeSource struct {
// TODO: Consider credentials here. // TODO: Consider credentials here.
} }
// SecretVolumeSource adapts a Secret into a VolumeSource. // Adapts a Secret into a volume.
// //
// The contents of the target Secret's Data field will be presented in a volume // The contents of the target Secret's Data field will be presented in a volume
// as files using the keys in the Data field as the file names. // as files using the keys in the Data field as the file names.
// Secret volumes support ownership management and SELinux relabeling.
type SecretVolumeSource struct { type SecretVolumeSource struct {
// Name of the secret in the pod's namespace to use // Name of the secret in the pod's namespace to use
SecretName string `json:"secretName"` SecretName string `json:"secretName"`
} }
// NFSVolumeSource represents an NFS Mount that lasts the lifetime of a pod // Represents an NFS mount that lasts the lifetime of a pod.
// NFS volumes do not support ownership management or SELinux relabeling.
type NFSVolumeSource struct { type NFSVolumeSource struct {
// Server is the hostname or IP address of the NFS server // Server is the hostname or IP address of the NFS server
Server string `json:"server"` Server string `json:"server"`
@ -537,7 +549,8 @@ type NFSVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod // Represents a Glusterfs mount that lasts the lifetime of a pod.
// Glusterfs volumes do not support ownership management or SELinux relabeling.
type GlusterfsVolumeSource struct { type GlusterfsVolumeSource struct {
// Required: EndpointsName is the endpoint name that details Glusterfs topology // Required: EndpointsName is the endpoint name that details Glusterfs topology
EndpointsName string `json:"endpoints"` EndpointsName string `json:"endpoints"`
@ -550,7 +563,8 @@ type GlusterfsVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod // Represents a Rados Block Device mount that lasts the lifetime of a pod.
// RBD volumes support ownership management and SELinux relabeling.
type RBDVolumeSource struct { type RBDVolumeSource struct {
// Required: CephMonitors is a collection of Ceph monitors // Required: CephMonitors is a collection of Ceph monitors
CephMonitors []string `json:"monitors"` CephMonitors []string `json:"monitors"`
@ -574,9 +588,10 @@ type RBDVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// CinderVolumeSource represents a cinder volume resource in Openstack. // Represents a cinder volume resource in Openstack.
// A Cinder volume must exist and be formatted before mounting to a container. // A Cinder volume must exist and be formatted before mounting to a container.
// The volume must also be in the same region as the kubelet. // The volume must also be in the same region as the kubelet.
// Cinder volumes support ownership management and SELinux relabeling.
type CinderVolumeSource struct { type CinderVolumeSource struct {
// Unique id of the volume used to identify the cinder volume // Unique id of the volume used to identify the cinder volume
VolumeID string `json:"volumeID"` VolumeID string `json:"volumeID"`
@ -589,7 +604,8 @@ type CinderVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod // Represents a Ceph Filesystem mount that lasts the lifetime of a pod
// Cephfs volumes do not support ownership management or SELinux relabeling.
type CephFSVolumeSource struct { type CephFSVolumeSource struct {
// Required: Monitors is a collection of Ceph monitors // Required: Monitors is a collection of Ceph monitors
Monitors []string `json:"monitors"` Monitors []string `json:"monitors"`
@ -604,19 +620,21 @@ type CephFSVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent. // Represents a Flocker volume mounted by the Flocker agent.
// Flocker volumes do not support ownership management or SELinux relabeling.
type FlockerVolumeSource struct { type FlockerVolumeSource struct {
// Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker // Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker
DatasetName string `json:"datasetName"` DatasetName string `json:"datasetName"`
} }
// DownwardAPIVolumeSource represents a volume containing downward API info // Represents a volume containing downward API info.
// Downward API volumes support ownership management and SELinux relabeling.
type DownwardAPIVolumeSource struct { type DownwardAPIVolumeSource struct {
// Items is a list of DownwardAPIVolume file // Items is a list of DownwardAPIVolume file
Items []DownwardAPIVolumeFile `json:"items,omitempty"` Items []DownwardAPIVolumeFile `json:"items,omitempty"`
} }
// DownwardAPIVolumeFile represents a single file containing information from the downward API // Represents a single file containing information from the downward API
type DownwardAPIVolumeFile struct { type DownwardAPIVolumeFile struct {
// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
Path string `json:"path"` Path string `json:"path"`

File diff suppressed because it is too large Load Diff

View File

@ -198,7 +198,7 @@ type Volume struct {
VolumeSource `json:",inline"` VolumeSource `json:",inline"`
} }
// VolumeSource represents the source location of a volume to mount. // Represents the source of a volume to mount.
// Only one of its members may be specified. // Only one of its members may be specified.
type VolumeSource struct { type VolumeSource struct {
// HostPath represents a pre-existing file or directory on the host // HostPath represents a pre-existing file or directory on the host
@ -484,14 +484,16 @@ const (
ClaimBound PersistentVolumeClaimPhase = "Bound" ClaimBound PersistentVolumeClaimPhase = "Bound"
) )
// HostPathVolumeSource represents bare host directory volume. // Represents a host path mapped into a pod.
// Host path volumes do not support ownership management or SELinux relabeling.
type HostPathVolumeSource struct { type HostPathVolumeSource struct {
// Path of the directory on the host. // Path of the directory on the host.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath
Path string `json:"path"` Path string `json:"path"`
} }
// EmptyDirVolumeSource is temporary directory that shares a pod's lifetime. // Represents an empty directory for a pod.
// Empty directory volumes support ownership management and SELinux relabeling.
type EmptyDirVolumeSource struct { type EmptyDirVolumeSource struct {
// What type of storage medium should back this directory. // What type of storage medium should back this directory.
// The default is "" which means to use the node's default medium. // The default is "" which means to use the node's default medium.
@ -500,7 +502,8 @@ type EmptyDirVolumeSource struct {
Medium StorageMedium `json:"medium,omitempty"` Medium StorageMedium `json:"medium,omitempty"`
} }
// GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod. // Represents a Glusterfs mount that lasts the lifetime of a pod.
// Glusterfs volumes do not support ownership management or SELinux relabeling.
type GlusterfsVolumeSource struct { type GlusterfsVolumeSource struct {
// EndpointsName is the endpoint name that details Glusterfs topology. // EndpointsName is the endpoint name that details Glusterfs topology.
// More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod // More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod
@ -516,10 +519,8 @@ type GlusterfsVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// StorageMedium defines ways that storage can be allocated to a volume. // Represents a Rados Block Device mount that lasts the lifetime of a pod.
type StorageMedium string // RBD volumes support ownership management and SELinux relabeling.
// RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod
type RBDVolumeSource struct { type RBDVolumeSource struct {
// A collection of Ceph monitors. // A collection of Ceph monitors.
// More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it // More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it
@ -556,9 +557,10 @@ type RBDVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// CinderVolumeSource represents a cinder volume resource in Openstack. // Represents a cinder volume resource in Openstack.
// A Cinder volume must exist before mounting to a container. // A Cinder volume must exist before mounting to a container.
// The volume must also be in the same region as the kubelet. // The volume must also be in the same region as the kubelet.
// Cinder volumes support ownership management and SELinux relabeling.
type CinderVolumeSource struct { type CinderVolumeSource struct {
// volume id used to identify the volume in cinder // volume id used to identify the volume in cinder
// More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
@ -574,7 +576,8 @@ type CinderVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod // Represents a Ceph Filesystem mount that lasts the lifetime of a pod
// Cephfs volumes do not support ownership management or SELinux relabeling.
type CephFSVolumeSource struct { type CephFSVolumeSource struct {
// Required: Monitors is a collection of Ceph monitors // Required: Monitors is a collection of Ceph monitors
// More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it // More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it
@ -594,12 +597,16 @@ type CephFSVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent. // Represents a Flocker volume mounted by the Flocker agent.
// Flocker volumes do not support ownership management or SELinux relabeling.
type FlockerVolumeSource struct { type FlockerVolumeSource struct {
// Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker // Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker
DatasetName string `json:"datasetName"` DatasetName string `json:"datasetName"`
} }
// StorageMedium defines ways that storage can be allocated to a volume.
type StorageMedium string
const ( const (
StorageMediumDefault StorageMedium = "" // use whatever the default is for the node StorageMediumDefault StorageMedium = "" // use whatever the default is for the node
StorageMediumMemory StorageMedium = "Memory" // use memory (tmpfs) StorageMediumMemory StorageMedium = "Memory" // use memory (tmpfs)
@ -615,11 +622,12 @@ const (
ProtocolUDP Protocol = "UDP" ProtocolUDP Protocol = "UDP"
) )
// GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine. // Represents a Persistent Disk resource in Google Compute Engine.
// //
// A GCE PD must exist and be formatted before mounting to a container. // A GCE PD must exist and be formatted before mounting to a container.
// The disk must also be in the same GCE project and zone as the kubelet. // The disk must also be in the same GCE project and zone as the kubelet.
// A GCE PD can only be mounted as read/write once. // A GCE PD can only be mounted as read/write once.
// GCE PDs support ownership management and SELinux relabeling.
type GCEPersistentDiskVolumeSource struct { type GCEPersistentDiskVolumeSource struct {
// Unique name of the PD resource in GCE. Used to identify the disk in GCE. // Unique name of the PD resource in GCE. Used to identify the disk in GCE.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk
@ -642,11 +650,12 @@ type GCEPersistentDiskVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// Represents a persistent disk resource in AWS. // Represents a Persistent Disk resource in AWS.
// //
// An Amazon Elastic Block Store (EBS) must already be created, formatted, // An AWS EBS disk must exist and be formatted before mounting to a container.
// and reside in the same AWS zone as the kubelet before it can be mounted. // The disk must also be in the same AWS zone as the kubelet.
// Note: Amazon EBS volumes can be mounted to only one instance at a time. // An AWS EBS disk can only be mounted as read/write once.
// AWS EBS volumes support ownership management and SELinux relabeling.
type AWSElasticBlockStoreVolumeSource struct { type AWSElasticBlockStoreVolumeSource struct {
// Unique ID of the persistent disk resource in AWS (Amazon EBS volume). // Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
// More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore
@ -668,7 +677,9 @@ type AWSElasticBlockStoreVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// GitRepoVolumeSource represents a volume that is pulled from git when the pod is created. // Represents a volume that is populated with the contents of a git repository.
// Git repo volumes do not support ownership management.
// Git repo volumes support SELinux relabeling.
type GitRepoVolumeSource struct { type GitRepoVolumeSource struct {
// Repository URL // Repository URL
Repository string `json:"repository"` Repository string `json:"repository"`
@ -681,15 +692,19 @@ type GitRepoVolumeSource struct {
Directory string `json:"directory,omitempty"` Directory string `json:"directory,omitempty"`
} }
// SecretVolumeSource adapts a Secret into a VolumeSource. // Adapts a Secret into a volume.
// More info: http://releases.k8s.io/HEAD/docs/design/secrets.md //
// The contents of the target Secret's Data field will be presented in a volume
// as files using the keys in the Data field as the file names.
// Secret volumes support ownership management and SELinux relabeling.
type SecretVolumeSource struct { type SecretVolumeSource struct {
// SecretName is the name of a secret in the pod's namespace. // SecretName is the name of a secret in the pod's namespace.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets
SecretName string `json:"secretName"` SecretName string `json:"secretName"`
} }
// NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod // Represents an NFS mount that lasts the lifetime of a pod.
// NFS volumes do not support ownership management or SELinux relabeling.
type NFSVolumeSource struct { type NFSVolumeSource struct {
// Server is the hostname or IP address of the NFS server. // Server is the hostname or IP address of the NFS server.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs
@ -706,7 +721,9 @@ type NFSVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once. // Represents an ISCSI disk.
// ISCSI volumes can only be mounted as read/write once.
// ISCSI volumes support ownership management and SELinux relabeling.
type ISCSIVolumeSource struct { type ISCSIVolumeSource struct {
// iSCSI target portal. The portal is either an IP or ip_addr:port if the port // iSCSI target portal. The portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260). // is other than default (typically TCP ports 860 and 3260).
@ -728,7 +745,9 @@ type ISCSIVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
} }
// A Fibre Channel Disk can only be mounted as read/write once. // Represents a Fibre Channel volume.
// Fibre Channel volumes can only be mounted as read/write once.
// Fibre Channel volumes support ownership management and SELinux relabeling.
type FCVolumeSource struct { type FCVolumeSource struct {
// Required: FC target world wide names (WWNs) // Required: FC target world wide names (WWNs)
TargetWWNs []string `json:"targetWWNs"` TargetWWNs []string `json:"targetWWNs"`
@ -2523,7 +2542,8 @@ type ComponentStatusList struct {
Items []ComponentStatus `json:"items"` Items []ComponentStatus `json:"items"`
} }
// DownwardAPIVolumeSource represents a volume containing downward API info // DownwardAPIVolumeSource represents a volume containing downward API info.
// Downward API volumes support ownership management and SELinux relabeling.
type DownwardAPIVolumeSource struct { type DownwardAPIVolumeSource struct {
// Items is a list of downward API volume file // Items is a list of downward API volume file
Items []DownwardAPIVolumeFile `json:"items,omitempty"` Items []DownwardAPIVolumeFile `json:"items,omitempty"`

View File

@ -28,7 +28,7 @@ package v1
// AUTO-GENERATED FUNCTIONS START HERE // AUTO-GENERATED FUNCTIONS START HERE
var map_AWSElasticBlockStoreVolumeSource = map[string]string{ var map_AWSElasticBlockStoreVolumeSource = map[string]string{
"": "Represents a persistent disk resource in AWS.\n\nAn Amazon Elastic Block Store (EBS) must already be created, formatted, and reside in the same AWS zone as the kubelet before it can be mounted. Note: Amazon EBS volumes can be mounted to only one instance at a time.", "": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist and be formatted before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"volumeID": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", "volumeID": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore",
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore",
"partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", "partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
@ -60,7 +60,7 @@ func (Capabilities) SwaggerDoc() map[string]string {
} }
var map_CephFSVolumeSource = map[string]string{ var map_CephFSVolumeSource = map[string]string{
"": "CephFSVolumeSource represents a Ceph Filesystem Mount that lasts the lifetime of a pod", "": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"monitors": "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it", "monitors": "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it",
"user": "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it", "user": "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it",
"secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it", "secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/cephfs/README.md#how-to-use-it",
@ -73,7 +73,7 @@ func (CephFSVolumeSource) SwaggerDoc() map[string]string {
} }
var map_CinderVolumeSource = map[string]string{ var map_CinderVolumeSource = map[string]string{
"": "CinderVolumeSource represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet.", "": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
"volumeID": "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "volumeID": "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
"fsType": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Only ext3 and ext4 are allowed More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "fsType": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Only ext3 and ext4 are allowed More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
"readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
@ -244,7 +244,7 @@ func (DownwardAPIVolumeFile) SwaggerDoc() map[string]string {
} }
var map_DownwardAPIVolumeSource = map[string]string{ var map_DownwardAPIVolumeSource = map[string]string{
"": "DownwardAPIVolumeSource represents a volume containing downward API info", "": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
"items": "Items is a list of downward API volume file", "items": "Items is a list of downward API volume file",
} }
@ -253,7 +253,7 @@ func (DownwardAPIVolumeSource) SwaggerDoc() map[string]string {
} }
var map_EmptyDirVolumeSource = map[string]string{ var map_EmptyDirVolumeSource = map[string]string{
"": "EmptyDirVolumeSource is temporary directory that shares a pod's lifetime.", "": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
"medium": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir", "medium": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir",
} }
@ -380,7 +380,7 @@ func (ExecAction) SwaggerDoc() map[string]string {
} }
var map_FCVolumeSource = map[string]string{ var map_FCVolumeSource = map[string]string{
"": "A Fibre Channel Disk can only be mounted as read/write once.", "": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
"targetWWNs": "Required: FC target world wide names (WWNs)", "targetWWNs": "Required: FC target world wide names (WWNs)",
"lun": "Required: FC target lun number", "lun": "Required: FC target lun number",
"fsType": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"", "fsType": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"",
@ -392,7 +392,7 @@ func (FCVolumeSource) SwaggerDoc() map[string]string {
} }
var map_FlockerVolumeSource = map[string]string{ var map_FlockerVolumeSource = map[string]string{
"": "FlockerVolumeSource represents a Flocker volume mounted by the Flocker agent.", "": "Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.",
"datasetName": "Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker", "datasetName": "Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker",
} }
@ -401,7 +401,7 @@ func (FlockerVolumeSource) SwaggerDoc() map[string]string {
} }
var map_GCEPersistentDiskVolumeSource = map[string]string{ var map_GCEPersistentDiskVolumeSource = map[string]string{
"": "GCEPersistentDiskVolumeSource represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once.", "": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist and be formatted before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once. GCE PDs support ownership management and SELinux relabeling.",
"pdName": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", "pdName": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk",
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk",
"partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", "partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk",
@ -413,7 +413,7 @@ func (GCEPersistentDiskVolumeSource) SwaggerDoc() map[string]string {
} }
var map_GitRepoVolumeSource = map[string]string{ var map_GitRepoVolumeSource = map[string]string{
"": "GitRepoVolumeSource represents a volume that is pulled from git when the pod is created.", "": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.",
"repository": "Repository URL", "repository": "Repository URL",
"revision": "Commit hash for the specified revision.", "revision": "Commit hash for the specified revision.",
"directory": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", "directory": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.",
@ -424,7 +424,7 @@ func (GitRepoVolumeSource) SwaggerDoc() map[string]string {
} }
var map_GlusterfsVolumeSource = map[string]string{ var map_GlusterfsVolumeSource = map[string]string{
"": "GlusterfsVolumeSource represents a Glusterfs Mount that lasts the lifetime of a pod.", "": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod", "endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod",
"path": "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod", "path": "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod",
"readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod", "readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md#create-a-pod",
@ -458,7 +458,7 @@ func (Handler) SwaggerDoc() map[string]string {
} }
var map_HostPathVolumeSource = map[string]string{ var map_HostPathVolumeSource = map[string]string{
"": "HostPathVolumeSource represents bare host directory volume.", "": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"path": "Path of the directory on the host. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath", "path": "Path of the directory on the host. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath",
} }
@ -467,7 +467,7 @@ func (HostPathVolumeSource) SwaggerDoc() map[string]string {
} }
var map_ISCSIVolumeSource = map[string]string{ var map_ISCSIVolumeSource = map[string]string{
"": "ISCSIVolumeSource describes an ISCSI Disk can only be mounted as read/write once.", "": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"targetPortal": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", "targetPortal": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
"iqn": "Target iSCSI Qualified Name.", "iqn": "Target iSCSI Qualified Name.",
"lun": "iSCSI target lun number.", "lun": "iSCSI target lun number.",
@ -585,7 +585,7 @@ func (LocalObjectReference) SwaggerDoc() map[string]string {
} }
var map_NFSVolumeSource = map[string]string{ var map_NFSVolumeSource = map[string]string{
"": "NFSVolumeSource represents an NFS mount that lasts the lifetime of a pod", "": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
"server": "Server is the hostname or IP address of the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", "server": "Server is the hostname or IP address of the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs",
"path": "Path that is exported by the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", "path": "Path that is exported by the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs",
"readOnly": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", "readOnly": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs",
@ -1084,7 +1084,7 @@ func (Probe) SwaggerDoc() map[string]string {
} }
var map_RBDVolumeSource = map[string]string{ var map_RBDVolumeSource = map[string]string{
"": "RBDVolumeSource represents a Rados Block Device Mount that lasts the lifetime of a pod", "": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
"monitors": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it", "monitors": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it",
"image": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it", "image": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md#how-to-use-it",
"fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#rbd", "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#rbd",
@ -1236,7 +1236,7 @@ func (SecretList) SwaggerDoc() map[string]string {
} }
var map_SecretVolumeSource = map[string]string{ var map_SecretVolumeSource = map[string]string{
"": "SecretVolumeSource adapts a Secret into a VolumeSource. More info: http://releases.k8s.io/HEAD/docs/design/secrets.md", "": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
"secretName": "SecretName is the name of a secret in the pod's namespace. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets", "secretName": "SecretName is the name of a secret in the pod's namespace. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets",
} }
@ -1376,7 +1376,7 @@ func (VolumeMount) SwaggerDoc() map[string]string {
} }
var map_VolumeSource = map[string]string{ var map_VolumeSource = map[string]string{
"": "VolumeSource represents the source location of a volume to mount. Only one of its members may be specified.", "": "Represents the source of a volume to mount. Only one of its members may be specified.",
"hostPath": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath", "hostPath": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath",
"emptyDir": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir", "emptyDir": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir",
"gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", "gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk",