vSphere Docker Volume Service (vDVS) enables you to run stateful containerized applications on top of VMware vSphere.
It is designed to meet the needs of Enterprise IT and application developers and offers the following benefits
- Proven Persistent shared storage You can now use any VMware supported enterprise class storage backed by vSAN, VMFS and NFS
- Multitenancy, Security and Access Control: vSphere Admins can effortlessly set access permissions for shared storage across hosts, datastores and VMs from a single location
- Operational Consistency & Simplicity: Zero Configuration, zero credential management. It is easy to deploy and manage
- Self Service Operations: Use Docker APIs to manage volume lifecycle while maintaining admin control over consumption
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
vSphere Container Storage
1. vSphere Docker Volume Service
1
Enterprise grade High Performance Storage and Data services for Containers
Photon Machine
Persistent Datastore
(Virtual SAN)
vSphere/vSAN
Container
vSphere Volume
DriverPhoton Machine
vSphere Volume
DriverPhoton Machine
vSphere Volume
Driver
Docker Swarm/ Datacenter
vCenter
VMVMVM
CONFIDENTIAL
Benefits:
o Simple Installation and zero configuration
o 100% Docker Compatible & Certified (API, CLI, Swarm)
o Highly secure, no credentials to manage
o Administrator defined capabilities/quotas for container
volumes, Multi-tenancy
o Data services for container volumes
Status:
o Open source and Free!
o Docker Certified.
o Currently Beta. GA- Coming soon.
https://vmware.github.io/docker-volume-vsphere/
4. High availability with Docker Swarm
5
Master Worker1 Worker2 WorkerN
vSphere
Docker Swarm Cluster
Docker Swarm tools:
o Docker compose
o docker stack deploy …
o docker service … volume-driver=vsphere …
volumes:
log:
driver: vsphere
driver_opts:
size: 10GB
vsan-policy-name: Fast
Automated Failover:
o Docker Swarm will restart container on another node
o vDVS will mount volume where container is scheduled.
6. Management for vSphere Admins
CONFIDENTIAL
7
Simple
to
manage
Multi-
tenancy
Policy
Mgmt
Access
Control
7. Multitenancy
CONFIDENTIAL 8
App Team A
VM-Group A
App Team B
VM-Group B
VM-Group: AppTeamB
Description: “R&D Staging Cluster”
Default Datastore: Datastore1
Max Volume Size: 100GB
Total Volume Limit: 02TB
Access Control: All
vSAN Storage Policy: Gold, Silver
Additional Datastore: Datastore2
Access Control: Mount Only
VM-Group: AppTeamA
Description: “R&D Test Cluster”
Default Datastore: NFS-01
Max Volume Size: 10GB
Total Volume Limit: 01TB
Access Control: All
vSphereVSAN VMFS, NFS
• vSphere Admins can set access permissions for shared storage across hosts, Datastores and VMs.
8. Operational Simplicity for vSphere Admins
CONFIDENTIAL 9
# vmdkops_admin -h
usage: vmdkops_admin [-h] {volume,policy,status,vm-group} ...
Manage VMDK Volumes
positional arguments:
{volume,policy,status,vm-group}
volume Manipulate volumes
policy Configure and display storage policy information
status Show the status of the vmdk_ops service
vm-group Administer and monitor volume access control
optional arguments:
-h, --help show this help message and exit
# vmdkops_admin volume ls -c volume,datastore,vm-group,capacity,used,attached-to,created-by
Volume Datastore VM-Group Capacity Used Attached-to Created By
-------- ---------- -------- -------- ---- ----------- ----------
dataVol datastore1 _DEFAULT 100MB 13MB detached u-1
dbClone datastore1 ProjectA 100MB 13MB detached u-12
dbClone1 datastore1 ProjectA 100MB 13MB detached u-13
9. Thank You!
vSphere Docker Volume Service
http://vmware.github.io/docker-volume-vsphere/
vSphere Cloud provider for Kubernetes
http://kubernetes.io/docs/getting-started-guides/vsphere/
Email us: containers@vmware.com
Notas do Editor
docker service create --replicas 1 --name ng --mount type=volume,source={{.Service.Name}}-{{.Node.ID}},target=/var/log/nginx,volume-driver=vsphere -p 5000:80 nginx