apiVersion: apps/v1
kind: ReplicaSet
metadata:
  name: crashing-pods
spec:
  replicas: 3
  selector:
    matchLabels:
      app: crashing-pods
  template:
    metadata:
      labels:
        app: crashing-pods
    spec:
      containers:
      - image: registry.ty.com/ty/busybox
        name: main
        command:
        - sh
        - -c
        - 'exit 1'
