Skip to content
  • cat <<EOF | kubectl apply -n academia -f -
    apiVersion: v1
    kind: Pod
    metadata:
      name: pvc-inspector
    spec:
      containers:
      - image: ubuntu:22.04
        name: pvc-inspector
        command: ["tail"]
        args: ["-f", "/dev/null"]
        volumeMounts:
        - mountPath: /pvc
          name: pvc-mount
      volumes:
      - name: pvc-mount
        persistentVolumeClaim:
          claimName: academia-wordpress
    EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment