...

Text file src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml

Documentation: k8s.io/kubectl/testdata/set

     1apiVersion: v1
     2kind: ReplicationController
     3metadata:
     4  name: first-rc
     5spec:
     6  replicas: 1
     7  selector:
     8    app: mock
     9  template:
    10    metadata:
    11      labels:
    12        app: mock
    13    spec:
    14      containers:
    15      - name: mock-container
    16        image: registry.k8s.io/pause:3.9
    17---
    18apiVersion: v1
    19kind: ReplicationController
    20metadata:
    21  name: second-rc
    22spec:
    23  replicas: 1
    24  selector:
    25    app: mock
    26  template:
    27    metadata:
    28      labels:
    29        app: mock
    30    spec:
    31      containers:
    32      - name: mock-container
    33        image: registry.k8s.io/pause:3.9

View as plain text