apiVersion: v1
kind: Service
metadata:
  name: cluster-ng-server
  labels:
    app: cluster-ng-server
spec:
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: 8080
    - name: metric
      port: 9090
      protocol: TCP
      targetPort: 9090
  selector:
    app: cluster-ng-server
  type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
  name: cluster-ng-server-proxy
  annotations:
    konghq.com/path: /proxy
  labels:
    app: cluster-ng-server
spec:
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: 8080
  selector:
    app: cluster-ng-server
  type: ClusterIP
