kubernetes/staging/src/k8s.io/kubectl/testdata/apply/service.yaml

apiVersion: v1
kind: Service
metadata:
  name: test-service
  labels:
    name: test-service
spec:
  ports:
  - port: 80
  selector:
    name: test-rc