Difference between revisions of "Template:Alpine cp example"

From wikieduonline
Jump to navigation Jump to search
(Created page with " apiVersion: v1 kind: Pod metadata: name: myalpinedataaccess spec: containers: - name: alpine image: alpine:latest command: ['sleep', 'infinity'] ...")
 
Line 1: Line 1:
 
  apiVersion: v1
 
  apiVersion: v1
  kind: Pod
+
  [[kind: Pod]]
 
  metadata:
 
  metadata:
 
   name: myalpinedataaccess
 
   name: myalpinedataaccess

Revision as of 13:47, 15 January 2024

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: