fuel-ccp/fuel_ccp/tests/test_repository/service/test.yaml.j2
Sergey Reshetnyak 5cb0d7a9fe Rename microservices to fuel-ccp
Change-Id: I883f2a583fd3ff497df91c216d4fae6a7b6a6d6e
2016-07-21 13:45:24 +03:00

30 lines
496 B
Django/Jinja

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: test-deployment
spec:
replicas: 2
template:
metadata:
labels:
app: test
spec:
containers:
- name: test
image: {{ namespace }}/test:{{ tag }}
ports:
- containerPort: 12345
---
apiVersion: v1
kind: Service
metadata:
name: test-service
labels:
app: test
spec:
ports:
- name: keystona-api
port: 12345
targetPort: 12345
selector:
app: test