apiVersion: v1
kind: Service
metadata:
  name: nginx-srv-service
  namespace: app-001
  labels:
    app: nginx-srv
spec:
  type: ClusterIP
  ports:
  - port: 80
    targetPort: 8080
    protocol: TCP
    name: http
  selector:
    app: nginx-srv