kubernetes/storage/fio-testing/k8s/gcs/delete-data/cleanup-disk.yaml [15:40]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: batch/v1
kind: Job
metadata:
  name: data-cleanup-job
spec:
  completions: 1
  parallelism: 1
  template:
    spec:
      nodeSelector:
        cloud.google.com/compute-class: spot-capacity
      priorityClassName: higher-priority
      containers:
      - name: cleanup
        image: busybox
        command: ["sh", "-c"]
        env:
        - name: OUTPUT_DIR
          value: test_files
        args:
          - |
            echo "Data cleanup starting..."
            if [ -z "${OUTPUT_DIR}" ]; then
              echo "OUTPUT_DIR not set, skipping deletion."
            else
              echo "Deleting contents of: /data/${OUTPUT_DIR}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kubernetes/storage/fio-testing/k8s/parallelstore/overlays/delete-data/cleanup-disk.yaml [15:40]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: batch/v1
kind: Job
metadata:
  name: data-cleanup-job
spec:
  completions: 1
  parallelism: 1
  template:
    spec:
      nodeSelector:
        cloud.google.com/compute-class: spot-capacity
      priorityClassName: higher-priority
      containers:
      - name: cleanup
        image: busybox
        command: ["sh", "-c"]
        env:
        - name: OUTPUT_DIR
          value: test_files
        args:
          - |
            echo "Data cleanup starting..."
            if [ -z "${OUTPUT_DIR}" ]; then
              echo "OUTPUT_DIR not set, skipping deletion."
            else
              echo "Deleting contents of: /data/${OUTPUT_DIR}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



