gke-deploy/deployer/testing/configs/nested-directory/level-1/level-2/multi-resource.yaml (34 lines of code) (raw):
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: test-app
name: test-app
spec:
replicas: 1
selector:
matchLabels:
app: test-app
template:
metadata:
labels:
app: test-app
spec:
containers:
- image: gcr.io/cbd-test/test-app:latest
name: test-app
---
apiVersion: v1
kind: Service
metadata:
labels:
app: test-app
name: test-app
spec:
ports:
- port: 80
protocol: TCP
targetPort: 8080
selector:
app: test-app
type: LoadBalancer