kubectl cp

From wikieduonline
Revision as of 22:37, 23 October 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search

kubectl cp


apiVersion: v1
kind: Pod
metadata:
  name: dataaccess
spec:
  containers:
  - name: alpine
    image: alpine:latest
    command: ['sleep', 'infinity']
    volumeMounts:
    - name: mypvc
      mountPath: /data
  volumes:
  - name: mypvc
    persistentVolumeClaim:
      claimName: mypvc


See also

Advertising: