Difference between revisions of "VolumeMounts:"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
  [[volumes:]]
 
  [[volumes:]]
  
 +
== See also ==
 
* {{K8s sto}}
 
* {{K8s sto}}
 +
 +
[[Category:K8s]]

Revision as of 09:42, 2 November 2022


apiVersion: v1
kind: Pod
metadata:
  name: test-ebs
spec:
  containers:
  - image: registry.k8s.io/test-webserver
    name: test-container
    volumeMounts:
    - mountPath: /test-ebs
      name: test-volume
  volumes:
  - name: test-volume
    # This AWS EBS volume must already exist.
    awsElasticBlockStore:
      volumeID: "<volume id>"
      fsType: ext4
volumes:

See also

Advertising: