Package k8s.io.api.core.v1
Interface Generated.VolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.VolumeSource,Generated.VolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.VolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.AWSElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AWSElasticBlockStoreVolumeSourceOrBuildergetAwsElasticBlockStoreOrBuilder()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureDiskVolumeSourceOrBuildergetAzureDiskOrBuilder()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourcegetAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourceOrBuildergetAzureFileOrBuilder()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.CephFSVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CephFSVolumeSourceOrBuildergetCephfsOrBuilder()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CinderVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CinderVolumeSourceOrBuildergetCinderOrBuilder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.ConfigMapVolumeSourcegetConfigMap()configMap represents a configMap that should populate this volume +optionalGenerated.ConfigMapVolumeSourceOrBuildergetConfigMapOrBuilder()configMap represents a configMap that should populate this volume +optionalGenerated.CSIVolumeSourcegetCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.CSIVolumeSourceOrBuildergetCsiOrBuilder()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.DownwardAPIVolumeSourcegetDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.DownwardAPIVolumeSourceOrBuildergetDownwardAPIOrBuilder()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.EmptyDirVolumeSourcegetEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EmptyDirVolumeSourceOrBuildergetEmptyDirOrBuilder()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EphemeralVolumeSourcegetEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.Generated.EphemeralVolumeSourceOrBuildergetEphemeralOrBuilder()ephemeral represents a volume that is handled by a cluster storage driver.Generated.FCVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FCVolumeSourceOrBuildergetFcOrBuilder()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FlexVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlexVolumeSourceOrBuildergetFlexVolumeOrBuilder()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.FlockerVolumeSourceOrBuildergetFlockerOrBuilder()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.GCEPersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GCEPersistentDiskVolumeSourceOrBuildergetGcePersistentDiskOrBuilder()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GitRepoVolumeSourcegetGitRepo()gitRepo represents a git repository at a particular revision.Generated.GitRepoVolumeSourceOrBuildergetGitRepoOrBuilder()gitRepo represents a git repository at a particular revision.Generated.GlusterfsVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.GlusterfsVolumeSourceOrBuildergetGlusterfsOrBuilder()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.HostPathVolumeSourcegetHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.HostPathVolumeSourceOrBuildergetHostPathOrBuilder()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.ImageVolumeSourcegetImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ImageVolumeSourceOrBuildergetImageOrBuilder()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ISCSIVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.ISCSIVolumeSourceOrBuildergetIscsiOrBuilder()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.NFSVolumeSourcegetNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.NFSVolumeSourceOrBuildergetNfsOrBuilder()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.PersistentVolumeClaimVolumeSourcegetPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PersistentVolumeClaimVolumeSourceOrBuildergetPersistentVolumeClaimOrBuilder()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PhotonPersistentDiskVolumeSourceOrBuildergetPhotonPersistentDiskOrBuilder()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.PortworxVolumeSourceOrBuildergetPortworxVolumeOrBuilder()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.ProjectedVolumeSourcegetProjected()projected items for all in one resources secrets, configmaps, and downward APIGenerated.ProjectedVolumeSourceOrBuildergetProjectedOrBuilder()projected items for all in one resources secrets, configmaps, and downward APIGenerated.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.QuobyteVolumeSourceOrBuildergetQuobyteOrBuilder()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourceOrBuildergetRbdOrBuilder()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.ScaleIOVolumeSourcegetScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.ScaleIOVolumeSourceOrBuildergetScaleIOOrBuilder()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.SecretVolumeSourcegetSecret()secret represents a secret that should populate this volume.Generated.SecretVolumeSourceOrBuildergetSecretOrBuilder()secret represents a secret that should populate this volume.Generated.StorageOSVolumeSourcegetStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.StorageOSVolumeSourceOrBuildergetStorageosOrBuilder()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VsphereVirtualDiskVolumeSourceOrBuildergetVsphereVolumeOrBuilder()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.booleanhasAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanhasAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanhasCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.booleanhasCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.booleanhasConfigMap()configMap represents a configMap that should populate this volume +optionalbooleanhasCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.booleanhasDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalbooleanhasEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.booleanhasEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.booleanhasFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanhasFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.booleanhasGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasGitRepo()gitRepo represents a git repository at a particular revision.booleanhasGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.booleanhasHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.booleanhasImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.booleanhasIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalbooleanhasPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.booleanhasPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.booleanhasPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.booleanhasProjected()projected items for all in one resources secrets, configmaps, and downward APIbooleanhasQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.booleanhasRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanhasScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanhasSecret()secret represents a secret that should populate this volume.booleanhasStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.booleanhasVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHostPath
boolean hasHostPath()
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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Returns:
- Whether the hostPath field is set.
-
getHostPath
Generated.HostPathVolumeSource getHostPath()
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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Returns:
- The hostPath.
-
getHostPathOrBuilder
Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
hasEmptyDir
boolean hasEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Returns:
- Whether the emptyDir field is set.
-
getEmptyDir
Generated.EmptyDirVolumeSource getEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Returns:
- The emptyDir.
-
getEmptyDirOrBuilder
Generated.EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
hasGcePersistentDisk
boolean hasGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Returns:
- Whether the gcePersistentDisk field is set.
-
getGcePersistentDisk
Generated.GCEPersistentDiskVolumeSource getGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Returns:
- The gcePersistentDisk.
-
getGcePersistentDiskOrBuilder
Generated.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
hasAwsElasticBlockStore
boolean hasAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Returns:
- Whether the awsElasticBlockStore field is set.
-
getAwsElasticBlockStore
Generated.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Returns:
- The awsElasticBlockStore.
-
getAwsElasticBlockStoreOrBuilder
Generated.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
hasGitRepo
boolean hasGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Returns:
- Whether the gitRepo field is set.
-
getGitRepo
Generated.GitRepoVolumeSource getGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Returns:
- The gitRepo.
-
getGitRepoOrBuilder
Generated.GitRepoVolumeSourceOrBuilder getGitRepoOrBuilder()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
hasSecret
boolean hasSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Returns:
- Whether the secret field is set.
-
getSecret
Generated.SecretVolumeSource getSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Returns:
- The secret.
-
getSecretOrBuilder
Generated.SecretVolumeSourceOrBuilder getSecretOrBuilder()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
hasNfs
boolean hasNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Returns:
- Whether the nfs field is set.
-
getNfs
Generated.NFSVolumeSource getNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Returns:
- The nfs.
-
getNfsOrBuilder
Generated.NFSVolumeSourceOrBuilder getNfsOrBuilder()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
hasIscsi
boolean hasIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Returns:
- Whether the iscsi field is set.
-
getIscsi
Generated.ISCSIVolumeSource getIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Returns:
- The iscsi.
-
getIscsiOrBuilder
Generated.ISCSIVolumeSourceOrBuilder getIscsiOrBuilder()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
hasGlusterfs
boolean hasGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Returns:
- Whether the glusterfs field is set.
-
getGlusterfs
Generated.GlusterfsVolumeSource getGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Returns:
- The glusterfs.
-
getGlusterfsOrBuilder
Generated.GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
hasPersistentVolumeClaim
boolean hasPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Returns:
- Whether the persistentVolumeClaim field is set.
-
getPersistentVolumeClaim
Generated.PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Returns:
- The persistentVolumeClaim.
-
getPersistentVolumeClaimOrBuilder
Generated.PersistentVolumeClaimVolumeSourceOrBuilder getPersistentVolumeClaimOrBuilder()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
hasRbd
boolean hasRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Returns:
- Whether the rbd field is set.
-
getRbd
Generated.RBDVolumeSource getRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Returns:
- The rbd.
-
getRbdOrBuilder
Generated.RBDVolumeSourceOrBuilder getRbdOrBuilder()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
hasFlexVolume
boolean hasFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Returns:
- Whether the flexVolume field is set.
-
getFlexVolume
Generated.FlexVolumeSource getFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Returns:
- The flexVolume.
-
getFlexVolumeOrBuilder
Generated.FlexVolumeSourceOrBuilder getFlexVolumeOrBuilder()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
hasCinder
boolean hasCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Returns:
- Whether the cinder field is set.
-
getCinder
Generated.CinderVolumeSource getCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Returns:
- The cinder.
-
getCinderOrBuilder
Generated.CinderVolumeSourceOrBuilder getCinderOrBuilder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
hasCephfs
boolean hasCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Returns:
- Whether the cephfs field is set.
-
getCephfs
Generated.CephFSVolumeSource getCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Returns:
- The cephfs.
-
getCephfsOrBuilder
Generated.CephFSVolumeSourceOrBuilder getCephfsOrBuilder()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
hasFlocker
boolean hasFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Returns:
- Whether the flocker field is set.
-
getFlocker
Generated.FlockerVolumeSource getFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Returns:
- The flocker.
-
getFlockerOrBuilder
Generated.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
hasDownwardAPI
boolean hasDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Returns:
- Whether the downwardAPI field is set.
-
getDownwardAPI
Generated.DownwardAPIVolumeSource getDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Returns:
- The downwardAPI.
-
getDownwardAPIOrBuilder
Generated.DownwardAPIVolumeSourceOrBuilder getDownwardAPIOrBuilder()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
hasFc
boolean hasFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Returns:
- Whether the fc field is set.
-
getFc
Generated.FCVolumeSource getFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Returns:
- The fc.
-
getFcOrBuilder
Generated.FCVolumeSourceOrBuilder getFcOrBuilder()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
hasAzureFile
boolean hasAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Returns:
- Whether the azureFile field is set.
-
getAzureFile
Generated.AzureFileVolumeSource getAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Returns:
- The azureFile.
-
getAzureFileOrBuilder
Generated.AzureFileVolumeSourceOrBuilder getAzureFileOrBuilder()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
hasConfigMap
boolean hasConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Returns:
- Whether the configMap field is set.
-
getConfigMap
Generated.ConfigMapVolumeSource getConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Returns:
- The configMap.
-
getConfigMapOrBuilder
Generated.ConfigMapVolumeSourceOrBuilder getConfigMapOrBuilder()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
hasVsphereVolume
boolean hasVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Returns:
- Whether the vsphereVolume field is set.
-
getVsphereVolume
Generated.VsphereVirtualDiskVolumeSource getVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Returns:
- The vsphereVolume.
-
getVsphereVolumeOrBuilder
Generated.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
hasQuobyte
boolean hasQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Returns:
- Whether the quobyte field is set.
-
getQuobyte
Generated.QuobyteVolumeSource getQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Returns:
- The quobyte.
-
getQuobyteOrBuilder
Generated.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
hasAzureDisk
boolean hasAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Returns:
- Whether the azureDisk field is set.
-
getAzureDisk
Generated.AzureDiskVolumeSource getAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Returns:
- The azureDisk.
-
getAzureDiskOrBuilder
Generated.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
hasPhotonPersistentDisk
boolean hasPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Returns:
- Whether the photonPersistentDisk field is set.
-
getPhotonPersistentDisk
Generated.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Returns:
- The photonPersistentDisk.
-
getPhotonPersistentDiskOrBuilder
Generated.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
hasProjected
boolean hasProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Returns:
- Whether the projected field is set.
-
getProjected
Generated.ProjectedVolumeSource getProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Returns:
- The projected.
-
getProjectedOrBuilder
Generated.ProjectedVolumeSourceOrBuilder getProjectedOrBuilder()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
hasPortworxVolume
boolean hasPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Returns:
- Whether the portworxVolume field is set.
-
getPortworxVolume
Generated.PortworxVolumeSource getPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Returns:
- The portworxVolume.
-
getPortworxVolumeOrBuilder
Generated.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
hasScaleIO
boolean hasScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Returns:
- Whether the scaleIO field is set.
-
getScaleIO
Generated.ScaleIOVolumeSource getScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Returns:
- The scaleIO.
-
getScaleIOOrBuilder
Generated.ScaleIOVolumeSourceOrBuilder getScaleIOOrBuilder()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
hasStorageos
boolean hasStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Returns:
- Whether the storageos field is set.
-
getStorageos
Generated.StorageOSVolumeSource getStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Returns:
- The storageos.
-
getStorageosOrBuilder
Generated.StorageOSVolumeSourceOrBuilder getStorageosOrBuilder()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
hasCsi
boolean hasCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Returns:
- Whether the csi field is set.
-
getCsi
Generated.CSIVolumeSource getCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Returns:
- The csi.
-
getCsiOrBuilder
Generated.CSIVolumeSourceOrBuilder getCsiOrBuilder()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
hasEphemeral
boolean hasEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Returns:
- Whether the ephemeral field is set.
-
getEphemeral
Generated.EphemeralVolumeSource getEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Returns:
- The ephemeral.
-
getEphemeralOrBuilder
Generated.EphemeralVolumeSourceOrBuilder getEphemeralOrBuilder()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
hasImage
boolean hasImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Returns:
- Whether the image field is set.
-
getImage
Generated.ImageVolumeSource getImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Returns:
- The image.
-
getImageOrBuilder
Generated.ImageVolumeSourceOrBuilder getImageOrBuilder()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
-