apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: flaky-test-image
  namespace: default
spec:
  template:
    spec:
      containers:
      - image: ko://knative.dev/serving/test/test_images/flaky
        env:
        # Succeed every Nth request.
        - name: PERIOD
          value: "5"
