apiVersion: batch/v1
kind: Job
metadata:
  name: example-job
spec:
  selector:
    matchLabels:
      app: redis
  template:
    metadata:
      labels:
        app: redis
    spec:
      containers:
      - image: redis
        name: redis
        resources: {}
