Subsequent pods that use the same image pull it from the local cache rather than the external container registry.Īs with ephemeral disks, the vSphere administrator specifies the datastore location for the image cache at the Supervisor Cluster level. Image Service, an ESXi component, is responsible for pulling container images from the image registry and transforming them into virtual disks to run inside the pod.ĮSXi can cache images that are downloaded for the containers running in the pod. When the pod completes its life cycle, the image virtual disks are detached from the pod. The pod mounts images used by its containers as image virtual disks. Container Image Virtual DisksĬontainers inside the pod use images that contain the software to be run. A vSphere administrator uses a storage policy to define the datastore location for all ephemeral virtual disks when configuring storage for the Supervisor Cluster. Ephemeral data persists across container restarts, but once the pod reaches the end of its life, the ephemeral virtual disk disappears.Įach pod has one ephemeral virtual disk. This ephemeral, or transient, storage lasts as long as the pod continues to exist. Ephemeral Virtual DisksĪ vSphere Pod and a pod that runs in a Tanzu Kubernetes cluster requires ephemeral storage to store such Kubernetes objects as logs, emptyDir volumes, and ConfigMaps during its operations. For information about creating storage policies, see Create Storage Policies for vSphere with Tanzu. You can then use the Bronze datastore for ephemeral and container image virtual disks, and use the Silver and Gold datastores for persistent volume virtual disks.įor general information about storage policies, see the Storage Policy Based Management chapter in the vSphere Storage documentation. If you use Tanzu Kubernetes clusters, the storage policies also dictate how the Tanzu Kubernetes cluster nodes are deployed.īefore you enable vSphere with Tanzu, create storage policies to be used by the Supervisor Cluster and namespaces.ĭepending on your vSphere storage environment and the needs of DevOps, you can create several storage policies to represent different classes of storage.įor example, if a vSphere Pod mounts all three types of virtual disks and your vSphere storage environment has three classes of datastores, Bronze, Silver, and Gold, you can create storage policies for all datastores. The policies represent datastores and manage the storage placement of such objects as control plane VMs, pod ephemeral disks, container images, and persistent storage volumes. VSphere with Tanzu uses storage policies to integrate with shared datastores available in your environment, including VMFS, NFS, vSAN, or vVols datastores.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |