apiVersion: v1
kind: Service
metadata:
  name: <%= role %>
  labels:
    role: <%= role %>
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: <%%= dockerfile_port %>
  selector:
    role: <%= role %>
  type: ClusterIP
