Simple service

Simple ClusterIP service with app selector

Parameters

apiVersion: v1
kind: Service
metadata:
  name: {{ name }}
spec:
  type: ClusterIP
  ports:
  - port: {{ port }}
    protocol: TCP
    targetPort: {{ pod_port }}
  selector:
    app: {{ app_selector }}