22 lines
446 B
Django/Jinja
22 lines
446 B
Django/Jinja
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -f ../docker-compose.yml
|
|
kompose.version: 1.26.0 (40646f47)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: backend
|
|
name: backend
|
|
namespace: testing
|
|
spec:
|
|
ports:
|
|
- name: "{{ port }}"
|
|
port: {{ port }}
|
|
targetPort: {{ targetPort }}
|
|
type: LoadBalancer
|
|
selector:
|
|
io.kompose.service: backend
|
|
status:
|
|
loadBalancer: {}
|