kubernetes/hack/testdata/multi-resource-1.yaml

# Tests that initial failures to not block subsequent applies.
# Pod must be before namespace, so it initially fails. Second
# apply of pod should succeed, since namespace finally exists.
apiVersion: v1
kind: Pod
metadata:
  name: test-pod
  namespace: multi-resource-ns
  labels:
    name: test-pod-label
spec:
  containers:
  - name: kubernetes-pause
    image: registry.k8s.io/pause:3.10
---
apiVersion: v1
kind: Namespace
metadata:
  name: multi-resource-ns