...

Text file src/k8s.io/kubernetes/hack/testdata/multi-resource-1.yaml

Documentation: k8s.io/kubernetes/hack/testdata

     1# Tests that initial failures to not block subsequent applies.
     2# Pod must be before namespace, so it initially fails. Second
     3# apply of pod should succeed, since namespace finally exists.
     4apiVersion: v1
     5kind: Pod
     6metadata:
     7  name: test-pod
     8  namespace: multi-resource-ns
     9  labels:
    10    name: test-pod-label
    11spec:
    12  containers:
    13  - name: kubernetes-pause
    14    image: registry.k8s.io/pause:3.9
    15---
    16apiVersion: v1
    17kind: Namespace
    18metadata:
    19  name: multi-resource-ns

View as plain text