ceph-csi/vendor/k8s.io/kubernetes/hack/testdata/multi-resource-yaml-modify.yaml

36 lines
551 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Service
metadata:
name: mock
labels:
app: mock
status: replaced
spec:
ports:
- port: 99
protocol: TCP
targetPort: 9949
selector:
app: mock
---
apiVersion: v1
kind: ReplicationController
metadata:
name: mock
spec:
replicas: 1
selector:
app: mock
template:
metadata:
labels:
app: mock
status: replaced
spec:
containers:
- name: mock-container
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/pause:2.0
2018-01-09 18:57:14 +00:00
ports:
- containerPort: 9949
protocol: TCP