Template:Alpine cp example

From wikieduonline
Revision as of 23:00, 23 October 2023 by Welcome (talk | contribs) (Created page with " apiVersion: v1 kind: Pod metadata: name: myalpinedataaccess spec: containers: - name: alpine image: alpine:latest command: ['sleep', 'infinity'] ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
apiVersion: v1
kind: Pod
metadata:
  name: myalpinedataaccess
spec:
  containers:
  - name: alpine
    image: alpine:latest
    command: ['sleep', 'infinity']
    volumeMounts:
    - name: mypvc
      mountPath: /data
  volumes:
  - name: mypvc
    persistentVolumeClaim:
      claimName: mypvctocopy

Advertising: